development/bpython: Updated for version 0.18.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-04-04 20:49:00 +02:00 committed by Willy Sudiarto Raharjo
parent 498acadff6
commit a48f812e4d
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 9 additions and 11 deletions

View file

@ -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

View file

@ -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"