diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-04-04 20:49:00 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-04-06 07:02:58 +0700 |
commit | a48f812e4dcb87a6abc7d91b094c9771180a8657 (patch) | |
tree | fda603c6c7629eec124220e6d2e1e5b9e5a54339 | |
parent | 498acadff6f55b2a56b6258f5972a594f752d36e (diff) | |
download | slackbuilds-a48f812e4dcb87a6abc7d91b094c9771180a8657.tar.gz |
development/bpython: Updated for version 0.18.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r-- | development/bpython/bpython.SlackBuild | 14 | ||||
-rw-r--r-- | development/bpython/bpython.info | 6 |
2 files changed, 9 insertions, 11 deletions
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild index bb680bc5e2..d0f98e73b4 100644 --- a/development/bpython/bpython.SlackBuild +++ b/development/bpython/bpython.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for bpython +# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # Written by vvoody <vvoodywang@gmail.com> -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=bpython -VERSION=${VERSION:-0.17.1} +VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,17 +56,15 @@ 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 {} \; +# fix desktop file +mv data/org.bpython-interpreter.bpython.desktop data/bpython.desktop +sed -i 's/org.bpython-interpreter.bpython.desktop/bpython.desktop/' setup.py + python setup.py install --root=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/share/applications -install -D -m644 data/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop - -mkdir -p $PKG/usr/share/pixmaps/ -install -D -m644 data/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS CHANGELOG sample.theme light.theme \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/bpython/bpython.info b/development/bpython/bpython.info index d6076f8981..4dc4208795 100644 --- a/development/bpython/bpython.info +++ b/development/bpython/bpython.info @@ -1,8 +1,8 @@ PRGNAM="bpython" -VERSION="0.17.1" +VERSION="0.18" HOMEPAGE="https://bpython-interpreter.org/" -DOWNLOAD="https://pypi.python.org/packages/51/7b/0812c2742b298e74d98b0e142a2d0e9aca5ace574156deeea565f11b0ebc/bpython-0.17.1.tar.gz" -MD5SUM="3f26972c0fd8e3d1e7dbfc51a837a331" +DOWNLOAD="https://files.pythonhosted.org/packages/cc/af/4ebe98f22713b4d66d57b85d6f3f4d12e7ea208d967df24bf2f666bf0f74/bpython-0.18.tar.gz" +MD5SUM="a150a9ff3383013da1156dda4b44280d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python-requests Pygments six curtsies greenlet" |