diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-26 09:39:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-26 09:39:10 +0700 |
commit | 709539fd1dc2c0839eaee078a9a1bbff1add5df8 (patch) | |
tree | 188b5b2cd858c3216e9fe41ed57d059904063db8 /libraries/gevent | |
parent | 30fcb0f5d50b11d6bfb257dc1135ee7ecccb3512 (diff) |
libraries/gevent: Updated for version 21.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gevent')
-rw-r--r-- | libraries/gevent/gevent.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/gevent/gevent.info | 10 |
2 files changed, 12 insertions, 14 deletions
diff --git a/libraries/gevent/gevent.SlackBuild b/libraries/gevent/gevent.SlackBuild index adcfadc1ce9cd..2fbe29ba77009 100644 --- a/libraries/gevent/gevent.SlackBuild +++ b/libraries/gevent/gevent.SlackBuild @@ -2,10 +2,8 @@ # Slackware build script for Gevent # -# $Revision: fbd2bb006bbd $ -# $Date: 2015/01/21 22:22:35 $ -# # Copyright (C) 2014-2015 Adis Nezirovic <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=gevent -VERSION=${VERSION:-1.0.1} +VERSION=${VERSION:-21.1.2} 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,13 +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 +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 LICENSE README.rst TODO changelog.rst doc/*.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS LICENSE README.rst TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/gevent/gevent.info b/libraries/gevent/gevent.info index ac1aeb69cab0e..00fb9de56581b 100644 --- a/libraries/gevent/gevent.info +++ b/libraries/gevent/gevent.info @@ -1,10 +1,10 @@ PRGNAM="gevent" -VERSION="1.0.1" +VERSION="21.1.2" HOMEPAGE="http://www.gevent.org/" -DOWNLOAD="https://pypi.python.org/packages/source/g/gevent/gevent-1.0.1.tar.gz" -MD5SUM="7b952591d1a0174d6eb6ac47bd975ab6" +DOWNLOAD="https://pypi.python.org/packages/source/g/gevent/gevent-21.1.2.tar.gz" +MD5SUM="0463f4be37e551e53456c9edaeeb86fc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="greenlet" -MAINTAINER="Adis Nezirović" -EMAIL="adis_at_linux.org.ba" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" |