aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-10-09 13:23:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-11 00:14:17 +0700
commit0f91e1f356cb54c4c292099492ee149331f4bb12 (patch)
treeff961a0870faf557cf01ea5bcfb07669455f1e79 /development
parentfa93a6e1f8b48be1b3a5a1d88361eb30faf2987a (diff)
development/bpython: Updated for version 0.13.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/bpython/README4
-rw-r--r--development/bpython/bpython.SlackBuild43
-rw-r--r--development/bpython/bpython.desktop10
-rw-r--r--development/bpython/bpython.info10
4 files changed, 51 insertions, 16 deletions
diff --git a/development/bpython/README b/development/bpython/README
index 7364eee49a26..4346466b8525 100644
--- a/development/bpython/README
+++ b/development/bpython/README
@@ -1 +1,5 @@
bpython is a fancy curses interface to the Python interactive interpreter.
+
+For bpython-curtsies requires:
+ curtsies>=0.0.34,<0.1.0
+ greenlet
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild
index 8a46c179e00a..48c49ceb5400 100644
--- a/development/bpython/bpython.SlackBuild
+++ b/development/bpython/bpython.SlackBuild
@@ -1,10 +1,30 @@
#!/bin/sh
+
# Slackware build script for bpython
# Written by vvoody <vvoodywang@gmail.com>
+# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bpython
-VERSION=${VERSION:-0.10.1}
+VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -31,26 +51,27 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
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/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/share/applications
+install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/share/pixmaps/
+install -D -m644 doc/sphinx/source/logo.png $PKG/usr/share/pixmaps/$PRGNAM.png
-cp -a \
- PKG-INFO AUTHORS README CHANGELOG sample-config sample.theme light.theme \
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS CHANGELOG sample-config sample.theme light.theme \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/share/man $PKG/usr
-find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/development/bpython/bpython.desktop b/development/bpython/bpython.desktop
new file mode 100644
index 000000000000..6c60a06742ad
--- /dev/null
+++ b/development/bpython/bpython.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=bpython (Python interactive interpreter)
+Comment=A fancy curses interface to the Python interactive interpreter
+Exec=bpython-gtk
+Icon=bpython
+Terminal=false
+Type=Application
+Categories=Development;Interpreter
+GenericName=Develppment
+
diff --git a/development/bpython/bpython.info b/development/bpython/bpython.info
index 2b9ef0fb80e2..5dfd140a76f2 100644
--- a/development/bpython/bpython.info
+++ b/development/bpython/bpython.info
@@ -1,10 +1,10 @@
PRGNAM="bpython"
-VERSION="0.10.1"
+VERSION="0.13.1"
HOMEPAGE="http://bpython-interpreter.org/"
-DOWNLOAD="http://bpython-interpreter.org/releases/bpython-0.10.1.tar.gz"
-MD5SUM="5a270e753be541367e20c4dbae5be928"
+DOWNLOAD="https://pypi.python.org/packages/source/b/bpython/bpython-0.13.1.tar.gz"
+MD5SUM="47b2ae18ee39d519752218b938024a85"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Pygments"
-MAINTAINER="vvoody"
-EMAIL="vvoodywang@gmail.com"
+MAINTAINER="Dimitris Zlatanidis"
+EMAIL="d.zlatanidis@gmail.com"