diff options
Diffstat (limited to 'python/ipython_genutils/ipython_genutils.SlackBuild')
-rw-r--r-- | python/ipython_genutils/ipython_genutils.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/ipython_genutils/ipython_genutils.SlackBuild b/python/ipython_genutils/ipython_genutils.SlackBuild index e5b181ca06..37359389d4 100644 --- a/python/ipython_genutils/ipython_genutils.SlackBuild +++ b/python/ipython_genutils/ipython_genutils.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ipython_genutils -VERSION=${VERSION:-0.1.0} +VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 |