mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
python/bsddb3: Add python3 support.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
473fdf0791
commit
97d3a51dd8
2 changed files with 11 additions and 0 deletions
|
@ -8,3 +8,9 @@ objects can use various access methods: btree, hash, recno, and
|
|||
queue. Complete support of Berkeley DB distributed transactions.
|
||||
Complete support for Berkeley DB Replication Manager. Complete
|
||||
support for Berkeley DB Base Replication. Support for RPC.
|
||||
|
||||
|
||||
python3 is an optional dependency. You need to set PYTHON3=yes,
|
||||
for example:
|
||||
|
||||
PYTHON3=yes ./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
|
||||
|
||||
|
|
Loading…
Reference in a new issue