Browse Source
python/python3-tubes: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/285/head
Willy Sudiarto Raharjo
8 months ago
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
5 additions and
5 deletions
-
python/python3-tubes/python3-tubes.SlackBuild
-
python/python3-tubes/python3-tubes.info
|
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
PRGNAM=python3-tubes |
|
|
|
SRCNAM=Tubes |
|
|
|
VERSION=${VERSION:-0.2.1} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
BUILD=${BUILD:-2} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
|
|
|
|
@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then |
|
|
|
esac |
|
|
|
fi |
|
|
|
|
|
|
|
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what |
|
|
|
# the name of the created package would be, and then exit. This information |
|
|
|
# could be useful to other scripts. |
|
|
|
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then |
|
|
|
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" |
|
|
|
exit 0 |
|
|
@ -83,6 +80,9 @@ 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 {} \; |
|
|
|
|
|
|
|
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') |
|
|
|
export PYTHONPATH=/opt/python$PYVER/site-packages |
|
|
|
|
|
|
|
python3 setup.py install --root=$PKG |
|
|
|
|
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/T/Tubes/Tubes-0.2.1.tar.gz" |
|
|
|
MD5SUM="206e68202c4048ec61a245e8ce65fba2" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="python3-twisted python3-characteristic" |
|
|
|
REQUIRES="python3-twisted python3-characteristic python3-setuptools-opt" |
|
|
|
MAINTAINER="Yth - Arnaud" |
|
|
|
EMAIL="yth@ythogtha.org" |