summaryrefslogtreecommitdiff
path: root/python/argcomplete/argcomplete.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-02-17 15:02:59 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-18 14:59:54 -0600
commit6a8dd02de86de4dcc3083429e606d28dd61bdab8 (patch)
tree02c525443e261b3eeae197cd38350b287c6869cf /python/argcomplete/argcomplete.SlackBuild
parentf7f9898e7a11657c3b7b07c1cab157cf67ad7472 (diff)
downloadslackbuilds-6a8dd02de86de4dcc3083429e606d28dd61bdab8.tar.gz
python/argcomplete: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/argcomplete/argcomplete.SlackBuild')
-rw-r--r--python/argcomplete/argcomplete.SlackBuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/argcomplete/argcomplete.SlackBuild b/python/argcomplete/argcomplete.SlackBuild
index 68ce631216..393eeddc51 100644
--- a/python/argcomplete/argcomplete.SlackBuild
+++ b/python/argcomplete/argcomplete.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=argcomplete
-VERSION=${VERSION:-0.6.9}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,16 +71,11 @@ find -L . \
python setup.py install --root=$PKG
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
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 README.rst LICENSE.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS.rst Changes.rst README.rst LICENSE.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install