diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2017-04-08 09:15:07 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-13 07:28:29 +0700 |
commit | babda882dd02d31f3f6577f3da7322aecd344e10 (patch) | |
tree | fc5812a7e1343db723efca28724cab60c590d163 /python | |
parent | 4b2c2e51e2a78d3f638441384a8aaf1ded795682 (diff) |
python/ipython_genutils: Updated for version 0.2.0 and Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python')
-rw-r--r-- | python/ipython_genutils/README | 2 | ||||
-rw-r--r-- | python/ipython_genutils/ipython_genutils.SlackBuild | 7 | ||||
-rw-r--r-- | python/ipython_genutils/ipython_genutils.info | 6 |
3 files changed, 11 insertions, 4 deletions
diff --git a/python/ipython_genutils/README b/python/ipython_genutils/README index 1268d314e67ca..28724edaff6ae 100644 --- a/python/ipython_genutils/README +++ b/python/ipython_genutils/README @@ -1,2 +1,4 @@ ipython_genutils contains some common utilities shared by Jupyter and IPython projects during the code split. + +Python 3 support will be included if python3 is installed. diff --git a/python/ipython_genutils/ipython_genutils.SlackBuild b/python/ipython_genutils/ipython_genutils.SlackBuild index e5b181ca06332..37359389d439b 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 diff --git a/python/ipython_genutils/ipython_genutils.info b/python/ipython_genutils/ipython_genutils.info index 7946356bc31ed..531e3b638c8cf 100644 --- a/python/ipython_genutils/ipython_genutils.info +++ b/python/ipython_genutils/ipython_genutils.info @@ -1,8 +1,8 @@ PRGNAM="ipython_genutils" -VERSION="0.1.0" +VERSION="0.2.0" HOMEPAGE="https://jupyter.org/" -DOWNLOAD="https://github.com/ipython/ipython_genutils/archive/0.1.0/ipython_genutils-0.1.0.tar.gz" -MD5SUM="2016819d42d8b186aad1eaed2d11b4d2" +DOWNLOAD="https://github.com/ipython/ipython_genutils/archive/0.2.0/ipython_genutils-0.2.0.tar.gz" +MD5SUM="477e596a0e6e2f74ec08ec09687eeb6c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |