summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2015-07-13 07:55:17 +0700
committerRobby Workman <rworkman@slackbuilds.org>2015-07-16 10:57:18 -0500
commitfbdf9413ca0bcd0e9336349c942da439d6866087 (patch)
treec7ca02cebb4aa100bced22694a8db431ca88c178
parent1e5b1227cfc474a609f00f4a19e798c4e31cbf97 (diff)
downloadslackbuilds-fbdf9413ca0bcd0e9336349c942da439d6866087.tar.gz
python/pyutil: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/pyutil/pyutil.SlackBuild8
-rw-r--r--python/pyutil/slack-desc4
2 files changed, 7 insertions, 5 deletions
diff --git a/python/pyutil/pyutil.SlackBuild b/python/pyutil/pyutil.SlackBuild
index b97939852e..da447a2f05 100644
--- a/python/pyutil/pyutil.SlackBuild
+++ b/python/pyutil/pyutil.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for pyutil.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012-2014 Markus Reichelt, Stolberg (Rhld.), DE
+# Copyright 2012-2015 Markus Reichelt, Stolberg (Rhld.), DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
PRGNAM=pyutil
VERSION=${VERSION:-2.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,13 +80,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* CREDITS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
#cleanup
rm $PKG/usr/share/doc/pyutil/*
+rm $PKG/usr/pyutil/data/*
cd $PKG/usr
rmdir -p share/doc/pyutil
+rmdir -p pyutil/data
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/python/pyutil/slack-desc b/python/pyutil/slack-desc
index 712cea04e6..081096f79f 100644
--- a/python/pyutil/slack-desc
+++ b/python/pyutil/slack-desc
@@ -8,7 +8,8 @@
|-----handy-ruler------------------------------------------------------|
pyutil: pyutil (Python utilities)
pyutil:
-pyutil: A collection of functions and data structures from allmydata.org
+pyutil: A collection of functions and data structures from tahoe-lafs.org
+pyutil: (formerly allmydata.org).
pyutil:
pyutil: Homepage: http://pypi.python.org/pypi/pyutil
pyutil:
@@ -16,4 +17,3 @@ pyutil:
pyutil:
pyutil:
pyutil:
-pyutil: