development/pyclewn: Updated for version 2.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-16 08:49:59 +07:00
parent d58ef1732a
commit 08515091e6
3 changed files with 16 additions and 24 deletions

View file

@ -5,9 +5,9 @@
# Written by Anton S. Abanin <warlock66613@gmail.com>
PRGNAM=pyclewn
VERSION=${VERSION:-1.11.py2}
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} # the "_SBo" is required
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -18,9 +18,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -46,26 +46,18 @@ 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 {} \;
EDITOR=/usr/bin/vim python setup.py install --root=$PKG
python setup.py install --root=$PKG
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog \
COPYING \
INSTALL \
MANIFEST.in \
NEWS \
PKG-INFO \
README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL NEWS PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="pyclewn"
VERSION="1.11.py2"
HOMEPAGE="http://pyclewn.sourceforge.net/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/pyclewn-1.11.py2.tar.gz"
MD5SUM="313a88e7ec2dd6595d0fd609b8f19c13"
VERSION="2.2"
HOMEPAGE="https://pypi.python.org/pypi/pyclewn"
DOWNLOAD="https://pypi.python.org/packages/source/p/pyclewn/pyclewn-2.2.tar.gz"
MD5SUM="6ac0fa67c61a052d0192646531a62388"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
pyclewn: Pyclewn allows using vim as a front end to a debugger (gdb or pdb)
pyclewn: pyclewn (debugger output)
pyclewn:
pyclewn: The debugger output is redirected to a vim window,
pyclewn: the pyclewn console. The debugger commands are mapped to vim
@ -16,4 +16,4 @@ pyclewn:
pyclewn: You can use the :help pyclewn command within vim, to get access
pyclewn: to the documentation.
pyclewn:
pyclewn: Homepage: http://pyclewn.sourceforge.net/
pyclewn: Homepage: https://pypi.python.org/pypi/pyclewn