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> # Written by Anton S. Abanin <warlock66613@gmail.com>
PRGNAM=pyclewn PRGNAM=pyclewn
VERSION=${VERSION:-1.11.py2} VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} # the "_SBo" is required TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -18,9 +18,9 @@ if [ -z "$ARCH" ]; then
fi fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -46,26 +46,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -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 \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a COPYING INSTALL NEWS PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION
ChangeLog \
COPYING \
INSTALL \
MANIFEST.in \
NEWS \
PKG-INFO \
README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

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

View file

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