aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 09:32:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 09:32:27 +0700
commit30fcb0f5d50b11d6bfb257dc1135ee7ecccb3512 (patch)
treec11119d16e13bf79cf0cb57ada45f25f77d5e41f /libraries
parent52bd75b6f4433da92b331eaa032c2461862c33cc (diff)
libraries/greenlet: Updated for version 1.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/greenlet/greenlet.SlackBuild21
-rw-r--r--libraries/greenlet/greenlet.info10
2 files changed, 12 insertions, 19 deletions
diff --git a/libraries/greenlet/greenlet.SlackBuild b/libraries/greenlet/greenlet.SlackBuild
index c10b431888d6a..42fbed8597ed8 100644
--- a/libraries/greenlet/greenlet.SlackBuild
+++ b/libraries/greenlet/greenlet.SlackBuild
@@ -2,10 +2,8 @@
# Slackware build script for Greenlet
#
-# $Revision: 305928f153da $
-# $Date: 2015/01/21 22:52:29 $
-#
# Copyright (C) 2014-2015 Adis Nezirović <adis_at_linux.org.ba>
+# Copyright 2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=greenlet
-VERSION=${VERSION:-0.4.17}
+VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -72,18 +70,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
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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 AUTHORS NEWS README.rst doc/greenlet.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/greenlet/greenlet.info b/libraries/greenlet/greenlet.info
index 31bd77db1d6f6..88c54b70b6440 100644
--- a/libraries/greenlet/greenlet.info
+++ b/libraries/greenlet/greenlet.info
@@ -1,10 +1,10 @@
PRGNAM="greenlet"
-VERSION="0.4.17"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/python-greenlet/greenlet"
-DOWNLOAD="https://files.pythonhosted.org/packages/72/0c/fd07c7674ad6eded937194b84d8453425c36c6ef118536907b0185624d82/greenlet-0.4.17.tar.gz"
-MD5SUM="d964c95c2d2f0f02f36c75e158d8e3dc"
+DOWNLOAD="https://files.pythonhosted.org/packages/47/6d/be10df2b141fcb1020c9605f7758881b5af706fb09a05b737e8eb7540387/greenlet-1.1.0.tar.gz"
+MD5SUM=""
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Adis Nezirović"
-EMAIL="adis_at_linux.org.ba"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"