From b6d015953b0fe884056c7782da61495bfe4872c8 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 3 Jul 2022 18:26:15 +0300 Subject: python/python-zipp: Updated for version 3.8.0. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- python/python-zipp/python-zipp.SlackBuild | 9 ++++----- python/python-zipp/python-zipp.info | 6 +++--- python/python-zipp/setup.py | 5 +++++ 3 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 python/python-zipp/setup.py diff --git a/python/python-zipp/python-zipp.SlackBuild b/python/python-zipp/python-zipp.SlackBuild index 03152b5f8a..3f39269b22 100644 --- a/python/python-zipp/python-zipp.SlackBuild +++ b/python/python-zipp/python-zipp.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-zipp -VERSION=${VERSION:-3.7.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.8.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,6 +74,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cp $CWD/setup.py $SRCNAM-$VERSION cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -90,9 +91,7 @@ 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 \ - README.rst \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python-zipp/python-zipp.info b/python/python-zipp/python-zipp.info index 6038cfc5cb..6fb99df1bd 100644 --- a/python/python-zipp/python-zipp.info +++ b/python/python-zipp/python-zipp.info @@ -1,8 +1,8 @@ PRGNAM="python-zipp" -VERSION="3.7.0" +VERSION="3.8.0" HOMEPAGE="https://github.com/jaraco/zipp" -DOWNLOAD="https://files.pythonhosted.org/packages/94/64/3115548d41cb001378099cb4fc6a6889c64ef43ac1b0e68c9e80b55884fa/zipp-3.7.0.tar.gz" -MD5SUM="5a1fc692b57b348d1e259484b405ddf6" +DOWNLOAD="https://files.pythonhosted.org/packages/cc/3c/3e8c69cd493297003da83f26ccf1faea5dd7da7892a0a7c965ac3bcba7bf/zipp-3.8.0.tar.gz" +MD5SUM="8864ff5ed01cd28755cc87f1443dbc67" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/python/python-zipp/setup.py b/python/python-zipp/setup.py new file mode 100644 index 0000000000..0ae4555937 --- /dev/null +++ b/python/python-zipp/setup.py @@ -0,0 +1,5 @@ +from setuptools import setup + + +if __name__ == '__main__': + setup() -- cgit v1.2.3