mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/idlex: Build with python3 by default
This commit is contained in:
parent
5b6c14359e
commit
2cb6395e6f
2 changed files with 1 additions and 9 deletions
|
@ -3,8 +3,3 @@ provide additional functionality to IDLE, a Python IDE provided in
|
||||||
the standard library. It transforms IDLE into a more useful tool for
|
the standard library. It transforms IDLE into a more useful tool for
|
||||||
academic research and development as well as exploratory programming.
|
academic research and development as well as exploratory programming.
|
||||||
IdleX runs with Python 2.6, 2.7, and 3.x.
|
IdleX runs with Python 2.6, 2.7, and 3.x.
|
||||||
|
|
||||||
If you want to build this for use with Python 3.x (needs the optional
|
|
||||||
dependency python3) pass the script PYTHON3=yes, like:
|
|
||||||
|
|
||||||
PYTHON3=yes ./idlex.SlackBuild
|
|
||||||
|
|
|
@ -69,10 +69,7 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
PYTHON=python
|
python3 setup.py install --root=$PKG
|
||||||
[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
|
|
||||||
|
|
||||||
$PYTHON setup.py install --root=$PKG
|
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
Loading…
Reference in a new issue