summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2013-05-19 09:12:42 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-05-19 09:12:42 -0400
commitb15c3c84b748db61aa3b62f1460e29c87ee880c5 (patch)
treec251574dba39fd8bbbbfa52277c167bce70c3eb4
parentdf7fd2ead7d9fd8cbc9a830c0d032ca3752409f9 (diff)
downloadslackbuilds-b15c3c84b748db61aa3b62f1460e29c87ee880c5.tar.gz
python/python-pmw: Updated for version 1.3.3a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--python/python-pmw/python-pmw.SlackBuild13
-rw-r--r--python/python-pmw/python-pmw.info6
-rw-r--r--python/python-pmw/slack-desc10
3 files changed, 15 insertions, 14 deletions
diff --git a/python/python-pmw/python-pmw.SlackBuild b/python/python-pmw/python-pmw.SlackBuild
index ba335975fd..dc132098c9 100644
--- a/python/python-pmw/python-pmw.SlackBuild
+++ b/python/python-pmw/python-pmw.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=python-pmw
-VERSION=${VERSION:-1.3.3}
+VERSION=${VERSION:-1.3.3a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,8 +40,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRC_PRGNAM=Pmw
-SRC_SUBDIR=Pmw_1_3_3
+SRCPRGNAM=Pmw
+SRCSUBDIR=Pmw_1_3_3
+SRCVERSION=1_3_3a
if [ "$ARCH" = "i486" ]; then
LIBDIRSUFFIX=""
@@ -62,8 +63,8 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-tar xvf $CWD/$SRC_PRGNAM.$VERSION.tar.gz
-cd src/$SRC_PRGNAM
+tar xvf $CWD/${SRCPRGNAM}_${SRCVERSION}.tar.gz
+cd $SRCPRGNAM/$SRCPRGNAM
chown -R root:root . || true
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -74,7 +75,7 @@ find . \
# Move documentation files
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv README $PKG/usr/doc/$PRGNAM-$VERSION
-mv $SRC_SUBDIR/doc $PKG/usr/doc/$PRGNAM-$VERSION/html
+mv $SRCSUBDIR/docsrc $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cd ..
diff --git a/python/python-pmw/python-pmw.info b/python/python-pmw/python-pmw.info
index 2a5eb59055..03c466e63a 100644
--- a/python/python-pmw/python-pmw.info
+++ b/python/python-pmw/python-pmw.info
@@ -1,8 +1,8 @@
PRGNAM="python-pmw"
-VERSION="1.3.3"
+VERSION="1.3.3a"
HOMEPAGE="http://pmw.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw.1.3.3.tar.gz"
-MD5SUM="82ced4e353c7ca56b45b01d6f65ba94e"
+DOWNLOAD="http://downloads.sourceforge.net/pmw/Pmw_1_3_3a.tar.gz"
+MD5SUM="8b8e500af141b848cee3141f36483a3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/python/python-pmw/slack-desc b/python/python-pmw/slack-desc
index 927d588af4..241c676129 100644
--- a/python/python-pmw/slack-desc
+++ b/python/python-pmw/slack-desc
@@ -1,9 +1,9 @@
# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python-pmw: python-pmw (Python Megawidgets, based on top of Tkinter)