mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/apsw: Always build python3.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
51202f2516
commit
6908e35b80
2 changed files with 2 additions and 7 deletions
|
@ -3,6 +3,3 @@ contrast to other wrappers such as pysqlite it focuses on being a minimal layer
|
|||
over SQLite attempting just to translate the complete SQLite API into Python.
|
||||
The documentation has a section on the differences between APSW and pysqlite.
|
||||
APSW supports CPython 2.3 onwards and CPython 3.1 onwards.
|
||||
|
||||
Note: To install python 3 set PYTHON3=yes.
|
||||
# PYTHON3=yes ./apsw.SlackBuild
|
||||
|
|
|
@ -68,10 +68,8 @@ find -L . \
|
|||
python setup.py build --enable-all-extensions
|
||||
python setup.py install --root=$PKG --skip-build
|
||||
|
||||
if [ "${PYTHON3:-no}" == "yes" ]; then
|
||||
python3 setup.py build --enable-all-extensions
|
||||
python3 setup.py install --root=$PKG --skip-build
|
||||
fi
|
||||
python3 setup.py build --enable-all-extensions
|
||||
python3 setup.py install --root=$PKG --skip-build
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue