From 4878e16a1db0a783d432ea263f590f514dcc95d1 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Sat, 30 Dec 2023 19:26:46 +1000 Subject: python/PyGreSQL: Updated for version 6.0 Signed-off-by: Christoph Willing Signed-off-by: Willy Sudiarto Raharjo --- python/PyGreSQL/PyGreSQL.SlackBuild | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'python/PyGreSQL/PyGreSQL.SlackBuild') diff --git a/python/PyGreSQL/PyGreSQL.SlackBuild b/python/PyGreSQL/PyGreSQL.SlackBuild index 8827266d62..f1b487b603 100644 --- a/python/PyGreSQL/PyGreSQL.SlackBuild +++ b/python/PyGreSQL/PyGreSQL.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyGreSQL -VERSION=${VERSION:-5.2.5} +VERSION=${VERSION:-6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,20 +47,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -ev rm -rf $PKG @@ -77,7 +63,6 @@ find -L . \ -exec chmod 644 {} \; # Build & install -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 \ -- cgit v1.2.3