aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/twine/README6
-rw-r--r--network/twine/slack-desc6
-rw-r--r--network/twine/twine.SlackBuild6
-rw-r--r--network/twine/twine.info8
4 files changed, 14 insertions, 12 deletions
diff --git a/network/twine/README b/network/twine/README
index 51ccce7629599..5558b34c2bc78 100644
--- a/network/twine/README
+++ b/network/twine/README
@@ -1,2 +1,4 @@
-Twine is a utility for interacting with PyPI.
-Currently it only supports registering projects and uploading distributions.
+Twine is a utility for publishing Python packages on PyPI.
+
+It provides build system independent uploads of source and
+binary distribution artifacts for both new and existing projects.
diff --git a/network/twine/slack-desc b/network/twine/slack-desc
index c215519b8efc3..c13a32d6377ca 100644
--- a/network/twine/slack-desc
+++ b/network/twine/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
twine: twine (Utilities for interacting with PyPI)
twine:
-twine: Twine is a utility for interacting with PyPI.
-twine: Currently it only supports registering projects and uploading
-twine: distributions.
+twine: Twine is a utility for publishing Python packages on PyPI.
+twine: It provides build system independent uploads of source and binary
+twine: distribution artifacts for both new and existing projects.
twine:
twine: Homepage: https://github.com/pypa/twine
twine:
diff --git a/network/twine/twine.SlackBuild b/network/twine/twine.SlackBuild
index 0284c8ea583d1..0cfbc94f61ecf 100644
--- a/network/twine/twine.SlackBuild
+++ b/network/twine/twine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for twine
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece
# 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=twine
-VERSION=${VERSION:-1.11.0}
+VERSION=${VERSION:-3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,7 @@ 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
+python3 setup.py install --root=$PKG
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
diff --git a/network/twine/twine.info b/network/twine/twine.info
index 1be03fcc6d6ad..a5949c4cceab7 100644
--- a/network/twine/twine.info
+++ b/network/twine/twine.info
@@ -1,10 +1,10 @@
PRGNAM="twine"
-VERSION="1.11.0"
+VERSION="3.1.1"
HOMEPAGE="https://github.com/pypa/twine"
-DOWNLOAD="https://files.pythonhosted.org/packages/9e/89/2971f240b9fc102b2e56ee8b0a9d7c9c3a7cf081b851eb02d85891de20d1/twine-1.11.0.tar.gz"
-MD5SUM="1b4de33b45225a30f5f04b118f92c09b"
+DOWNLOAD="https://files.pythonhosted.org/packages/7e/2f/e2a91a8ab97e8c9830ce297132631aef5dcd599f076123d1ebb26f1941b6/twine-3.1.1.tar.gz"
+MD5SUM="faf033a3458de37df6cdecceb6da2c2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="tqdm pkginfo requests-toolbelt"
+REQUIRES="tqdm pkginfo requests-toolbelt readme_renderer python-zipp python-keyring"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"