From b0487dd6b670973f9d4c28d2c5e1f17ef0505772 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 7 Dec 2019 15:26:02 +0100 Subject: network/twine: Updated for version 3.1.1. Signed-off-by: Dimitris Zlatanidis --- network/twine/README | 6 ++++-- network/twine/slack-desc | 6 +++--- network/twine/twine.SlackBuild | 6 +++--- network/twine/twine.info | 8 ++++---- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/network/twine/README b/network/twine/README index 51ccce7629..5558b34c2b 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 c215519b8e..c13a32d637 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 0284c8ea58..0cfbc94f61 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 1be03fcc6d..a5949c4cce 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" -- cgit v1.2.3