summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-16 08:49:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-17 17:24:13 +0700
commit08515091e6c4d69efb7653eaa5935e16cf11f585 (patch)
treeb6620b4063b46c3e67c4c1c4bd24577e43cc6be8 /development
parentd58ef1732aec30093c8998ac1c2fd40fb092efc4 (diff)
downloadslackbuilds-08515091e6c4d69efb7653eaa5935e16cf11f585.tar.gz
development/pyclewn: Updated for version 2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/pyclewn/pyclewn.SlackBuild28
-rw-r--r--development/pyclewn/pyclewn.info8
-rw-r--r--development/pyclewn/slack-desc4
3 files changed, 16 insertions, 24 deletions
diff --git a/development/pyclewn/pyclewn.SlackBuild b/development/pyclewn/pyclewn.SlackBuild
index 8dc0606016..63bdc9baac 100644
--- a/development/pyclewn/pyclewn.SlackBuild
+++ b/development/pyclewn/pyclewn.SlackBuild
@@ -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
diff --git a/development/pyclewn/pyclewn.info b/development/pyclewn/pyclewn.info
index 1d8889feee..c0201c9b09 100644
--- a/development/pyclewn/pyclewn.info
+++ b/development/pyclewn/pyclewn.info
@@ -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=""
diff --git a/development/pyclewn/slack-desc b/development/pyclewn/slack-desc
index 7fc2596e51..b288cb8de3 100644
--- a/development/pyclewn/slack-desc
+++ b/development/pyclewn/slack-desc
@@ -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