summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2019-03-11 09:01:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:16 +0700
commitbff4ae7086ca7715acc8e6f938d059104c3a8ea7 (patch)
tree4c503d12c8cf4e13e6cc325e8465f4ce559529c0 /system
parent666a0c4a896fab31bd5c7570436c050d995b55fb (diff)
downloadslackbuilds-bff4ae7086ca7715acc8e6f938d059104c3a8ea7.tar.gz
system/pycp: Updated for version 8.0.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/pycp/pycp.SlackBuild9
-rw-r--r--system/pycp/pycp.info8
2 files changed, 9 insertions, 8 deletions
diff --git a/system/pycp/pycp.SlackBuild b/system/pycp/pycp.SlackBuild
index f0f2e3ea1d..342aab886a 100644
--- a/system/pycp/pycp.SlackBuild
+++ b/system/pycp/pycp.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for pycp.
#
-# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycp
-VERSION=${VERSION:-7.3.0}
+VERSION=${VERSION:-8.0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,12 +55,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG --optimize=1
+python3 setup.py build
+python3 setup.py install --root=$PKG --optimize=1
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
-DOCS="AUTHORS Changelog.rst COPYING.txt README.rst TODO"
+DOCS="AUTHORS Changelog.rst COPYING.txt README.rst TODO.md"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/pycp/pycp.info b/system/pycp/pycp.info
index d9ab982c2f..59a56f735e 100644
--- a/system/pycp/pycp.info
+++ b/system/pycp/pycp.info
@@ -1,10 +1,10 @@
PRGNAM="pycp"
-VERSION="7.3.0"
+VERSION="8.0.7"
HOMEPAGE="https://github.com/yannicklm/pycp"
-DOWNLOAD="https://github.com/yannicklm/pycp/archive/v7.3.0/pycp-7.3.0.tar.gz"
-MD5SUM="0bd55052c7a47a8614aa400b1a22805c"
+DOWNLOAD="https://github.com/yannicklm/pycp/archive/v8.0.7/pycp-8.0.7.tar.gz"
+MD5SUM="12d096108d54330abfaf3ac140778af9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-attrs"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"