From 0d3038156ddc82e067a138aa7ac5411dc882b166 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 27 Apr 2020 02:42:48 +0700 Subject: [PATCH] python3-xapp: Added (replacing python-xapp). Signed-off-by: Willy Sudiarto Raharjo --- BUILD_ORDER | 2 +- build-cinnamon.sh | 2 +- python-xapp/slack-desc | 12 ------------ .../python3-xapp.SlackBuild | 13 ++++++------- python3-xapp/slack-desc | 12 ++++++++++++ 5 files changed, 20 insertions(+), 21 deletions(-) delete mode 100644 python-xapp/slack-desc rename python-xapp/python-xapp.SlackBuild => python3-xapp/python3-xapp.SlackBuild (87%) create mode 100644 python3-xapp/slack-desc diff --git a/BUILD_ORDER b/BUILD_ORDER index 2e6fe33..3410cb6 100644 --- a/BUILD_ORDER +++ b/BUILD_ORDER @@ -34,7 +34,7 @@ metacity polib cinnamon-translations nemo -python-xapp +python3-xapp psutil cinnamon-screensaver mint-y-theme diff --git a/build-cinnamon.sh b/build-cinnamon.sh index 6bedded..28e2296 100755 --- a/build-cinnamon.sh +++ b/build-cinnamon.sh @@ -77,7 +77,7 @@ for dir in \ polib \ cinnamon-translations \ nemo \ - python-xapp \ + python3-xapp \ psutil \ cinnamon-screensaver \ mint-y-theme \ diff --git a/python-xapp/slack-desc b/python-xapp/slack-desc deleted file mode 100644 index 7a8a993..0000000 --- a/python-xapp/slack-desc +++ /dev/null @@ -1,12 +0,0 @@ - |-----handy-ruler------------------------------------------------------| -python-xapp: python-xapp (Python Xapp Library) -python-xapp: -python-xapp: This package provides Python Xapp Library -python-xapp: -python-xapp: -python-xapp: -python-xapp: Project URL: https://github.com/linuxmint/python-xapp -python-xapp: -python-xapp: -python-xapp: -python-xapp: diff --git a/python-xapp/python-xapp.SlackBuild b/python3-xapp/python3-xapp.SlackBuild similarity index 87% rename from python-xapp/python-xapp.SlackBuild rename to python3-xapp/python3-xapp.SlackBuild index a6e0a74..4f852f2 100644 --- a/python-xapp/python-xapp.SlackBuild +++ b/python3-xapp/python3-xapp.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for python-xapp +# Slackware build script for python3-xapp -# Copyright 2017-2020 Willy Sudiarto Raharjo +# Copyright 2020 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-xapp -VERSION=${VERSION:-1.8.1} -BUILD=${BUILD:-2} +PRGNAM=python3-xapp +VERSION=${VERSION:-2.0.1} +BUILD=${BUILD:-1} TAG=${TAG:-_csb} ARCH=noarch -wget -c https://github.com/linuxmint/python-xapp/archive/$VERSION/$PRGNAM-$VERSION.tar.gz +wget -c https://github.com/linuxmint/python3-xapp/archive/$VERSION/$PRGNAM-$VERSION.tar.gz CWD=$(pwd) TMP=${TMP:-/tmp/csb} @@ -50,7 +50,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/python3-xapp/slack-desc b/python3-xapp/slack-desc new file mode 100644 index 0000000..ef81cbb --- /dev/null +++ b/python3-xapp/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------------| +python3-xapp: python3-xapp (Python Xapp Library) +python3-xapp: +python3-xapp: This package provides Python Xapp Library +python3-xapp: +python3-xapp: +python3-xapp: +python3-xapp: Project URL: https://github.com/linuxmint/python3-xapp +python3-xapp: +python3-xapp: +python3-xapp: +python3-xapp: