diff options
-rw-r--r-- | development/psycopg2/psycopg2.SlackBuild | 14 | ||||
-rw-r--r-- | development/psycopg2/psycopg2.info | 10 |
2 files changed, 12 insertions, 12 deletions
diff --git a/development/psycopg2/psycopg2.SlackBuild b/development/psycopg2/psycopg2.SlackBuild index 09666f73eca7..9f50045cd35c 100644 --- a/development/psycopg2/psycopg2.SlackBuild +++ b/development/psycopg2/psycopg2.SlackBuild @@ -4,6 +4,7 @@ # Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad> # Copyright (c) 2010-2011, 2013 Carlos Corbacho <carlos@strangeworlds.co.uk> +# Copyright (c) 2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +25,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=psycopg2 -VERSION=${VERSION:-2.5.1} +VERSION=${VERSION:-2.7.3.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 @@ -54,16 +55,15 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py install --root=$PKG -find $PKG | xargs file | grep "shared object" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 PKG-INFO README doc/*.txt \ - doc/html doc/HACKING doc/COPYING* \ +cp -a AUTHORS INSTALL LICENSE NEWS README.rst \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/psycopg2/psycopg2.info b/development/psycopg2/psycopg2.info index dce2ccc79435..0d6d8ba358df 100644 --- a/development/psycopg2/psycopg2.info +++ b/development/psycopg2/psycopg2.info @@ -1,10 +1,10 @@ PRGNAM="psycopg2" -VERSION="2.5.1" +VERSION="2.7.3.2" HOMEPAGE="http://initd.org/psycopg/" -DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-5/psycopg2-2.5.1.tar.gz" -MD5SUM="1b433f83d50d1bc61e09026e906d84c7" +DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.3.2.tar.gz" +MD5SUM="8114e672d5f23fa5329874a4314fbd6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" -MAINTAINER="Carlos Corbacho" -EMAIL="carlos@strangeworlds.co.uk" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="slackbuilds@jaxartes.net" |