aboutsummaryrefslogtreecommitdiff
path: root/python/PyGreSQL/PyGreSQL.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/PyGreSQL/PyGreSQL.SlackBuild')
-rw-r--r--python/PyGreSQL/PyGreSQL.SlackBuild17
1 files changed, 1 insertions, 16 deletions
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 \