summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-04-21 00:29:01 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-04-21 00:29:01 -0500
commit2cb6395e6f83b0f608f69f76410a4a99fc3f0917 (patch)
treebbc6ebeff170d150e643da302d7681b19db87e5e
parent5b6c14359e8dff40e3a597ba0cae1d46ee2abe3e (diff)
downloadslackbuilds-2cb6395e6f83b0f608f69f76410a4a99fc3f0917.tar.gz
development/idlex: Build with python3 by default
-rw-r--r--development/idlex/README5
-rw-r--r--development/idlex/idlex.SlackBuild5
2 files changed, 1 insertions, 9 deletions
diff --git a/development/idlex/README b/development/idlex/README
index 3145929a60..ad1289e4aa 100644
--- a/development/idlex/README
+++ b/development/idlex/README
@@ -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
academic research and development as well as exploratory programming.
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
diff --git a/development/idlex/idlex.SlackBuild b/development/idlex/idlex.SlackBuild
index 681e6715ac..095bd9e12a 100644
--- a/development/idlex/idlex.SlackBuild
+++ b/development/idlex/idlex.SlackBuild
@@ -69,10 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PYTHON=python
-[ "${PYTHON3:-no}" = "yes" ] && PYTHON=python3
-
-$PYTHON setup.py install --root=$PKG
+python3 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