diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-04-07 16:19:19 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-08 06:57:49 +0700 |
commit | 97d3a51dd86657fbfbd7d1b11ce3771c836c9adc (patch) | |
tree | 185cce4109a2673eace0d2d25e226df831f60d79 /python/bsddb3/bsddb3.SlackBuild | |
parent | 473fdf0791a8015d074aa9d52a1ac55fb7ccbf8f (diff) | |
download | slackbuilds-97d3a51dd86657fbfbd7d1b11ce3771c836c9adc.tar.gz |
python/bsddb3: Add python3 support.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/bsddb3/bsddb3.SlackBuild')
-rw-r--r-- | python/bsddb3/bsddb3.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/bsddb3/bsddb3.SlackBuild b/python/bsddb3/bsddb3.SlackBuild index 4c97228294..320a815bba 100644 --- a/python/bsddb3/bsddb3.SlackBuild +++ b/python/bsddb3/bsddb3.SlackBuild @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +if [ "${PYTHON3:-no}" = "yes" ]; then + rm -rf build + python3 setup.py install --root=$PKG +fi + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |