development/bpython: Updated for version 0.13.1 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-10-09 13:23:20 +07:00 committed by Willy Sudiarto Raharjo
parent fa93a6e1f8
commit 0f91e1f356
4 changed files with 51 additions and 16 deletions

View File

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

View File

@ -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
cp -a \
PKG-INFO AUTHORS README CHANGELOG sample-config sample.theme light.theme \
mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 doc/sphinx/source/logo.png $PKG/usr/share/pixmaps/$PRGNAM.png
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

View File

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

View File

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