system/pycp: Updated for version 8.0.7.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2019-03-11 09:01:58 +07:00 committed by Willy Sudiarto Raharjo
parent 666a0c4a89
commit bff4ae7086
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# #
# Slackware build script for pycp. # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycp PRGNAM=pycp
VERSION=${VERSION:-7.3.0} VERSION=${VERSION:-8.0.7}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -55,12 +55,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -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 \ 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 | 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cp $DOCS $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="pycp" PRGNAM="pycp"
VERSION="7.3.0" VERSION="8.0.7"
HOMEPAGE="https://github.com/yannicklm/pycp" HOMEPAGE="https://github.com/yannicklm/pycp"
DOWNLOAD="https://github.com/yannicklm/pycp/archive/v7.3.0/pycp-7.3.0.tar.gz" DOWNLOAD="https://github.com/yannicklm/pycp/archive/v8.0.7/pycp-8.0.7.tar.gz"
MD5SUM="0bd55052c7a47a8614aa400b1a22805c" MD5SUM="12d096108d54330abfaf3ac140778af9"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES="python3-attrs"
MAINTAINER="Edinaldo P. Silva" MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com" EMAIL="edps.mundognu@gmail.com"