development/psycopg2: Updated for version 2.9.3, removing python2 support

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2022-02-24 15:55:16 +01:00 committed by Willy Sudiarto Raharjo
parent d4f5b1a574
commit cf0961f242
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 4 additions and 5 deletions

View file

@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=psycopg2
VERSION=${VERSION:-2.8.6}
VERSION=${VERSION:-2.9.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -68,7 +68,6 @@ 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 {} \;
python2 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 \

View file

@ -1,8 +1,8 @@
PRGNAM="psycopg2"
VERSION="2.8.6"
VERSION="2.9.3"
HOMEPAGE="http://initd.org/psycopg/"
DOWNLOAD="http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-2.8.6.tar.gz"
MD5SUM="ae2ff92f1cfcd890bd5f09f4d1d7d60c"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-2.9.3.tar.gz"
MD5SUM="1415674b95557329867ce68bd841a48b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="postgresql"