aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2021-05-15 18:43:02 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-27 07:47:21 +0700
commit14cf97dad45d60ff8304e4fd8f58a355d3283fcc (patch)
tree6be160f56ea13d22ec017b3a09590b7ca57daf7e /libraries
parent34f52f516e9db2bcc94c9c8d76a5ecfa9ac83388 (diff)
libraries/gallerize: Removed Python 2 support.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gallerize/gallerize.SlackBuild10
-rw-r--r--libraries/gallerize/gallerize.info2
2 files changed, 6 insertions, 6 deletions
diff --git a/libraries/gallerize/gallerize.SlackBuild b/libraries/gallerize/gallerize.SlackBuild
index 49e5c5bf6adcf..ca2bfb8cf2222 100644
--- a/libraries/gallerize/gallerize.SlackBuild
+++ b/libraries/gallerize/gallerize.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gallerize
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=gallerize
VERSION=${VERSION:-0.3.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,13 +69,13 @@ 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 \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/gallerize/gallerize.info b/libraries/gallerize/gallerize.info
index 5d424bc11f28c..62554c40de2ed 100644
--- a/libraries/gallerize/gallerize.info
+++ b/libraries/gallerize/gallerize.info
@@ -1,7 +1,7 @@
PRGNAM="gallerize"
VERSION="0.3.2"
HOMEPAGE="http://homework.nwsnet.de/releases/cc0e/#gallerize"
-DOWNLOAD="https://github.com/homeworkprod/gallerize/archive/v0.3.2.tar.gz"
+DOWNLOAD="https://github.com/homeworkprod/gallerize/archive/v0.3.2/gallerize-0.3.2.tar.gz"
MD5SUM="49a047b003b65a3b828d2266cb58badf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""