aboutsummaryrefslogtreecommitdiff
path: root/python/PyGreSQL
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:08 +0700
commit1e24766c75548b7e953f6adb3f90b89609dc7baf (patch)
tree1dc194888ce9b3085f0def59e9253f7962bd9e61 /python/PyGreSQL
parentda3feaf44fc66a49c6ee28e1bd60d536a4b23c5c (diff)
python/PyGreSQL: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PyGreSQL')
-rw-r--r--python/PyGreSQL/PyGreSQL.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/PyGreSQL/PyGreSQL.SlackBuild b/python/PyGreSQL/PyGreSQL.SlackBuild
index 5f47869196fb..324613191ead 100644
--- a/python/PyGreSQL/PyGreSQL.SlackBuild
+++ b/python/PyGreSQL/PyGreSQL.SlackBuild
@@ -70,7 +70,7 @@ find -L . \
-exec chmod 644 {} \;
# Build & install
-python setup.py install --root=$PKG
+python2 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