summaryrefslogtreecommitdiff
path: root/python/python-zipp
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-07-03 18:26:15 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-09 10:06:17 +0700
commitb6d015953b0fe884056c7782da61495bfe4872c8 (patch)
treec6191753db5392d4f82176c64ca8f47068bd97aa /python/python-zipp
parentaa7a04f3b3dfffa075a8f6ccdb8cfcb6b7c0a135 (diff)
downloadslackbuilds-b6d015953b0fe884056c7782da61495bfe4872c8.tar.gz
python/python-zipp: Updated for version 3.8.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-zipp')
-rw-r--r--python/python-zipp/python-zipp.SlackBuild9
-rw-r--r--python/python-zipp/python-zipp.info6
-rw-r--r--python/python-zipp/setup.py5
3 files changed, 12 insertions, 8 deletions
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()