git: ca0742458080 - main - devel/py-twine: Update to 3.4.2
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 19 06:08:05 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ca07424580802dff66d05573341394f9cfbe03c7
commit ca07424580802dff66d05573341394f9cfbe03c7
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:30:29 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-19 06:00:20 +0000
devel/py-twine: Update to 3.4.2
Changes: https://github.com/pypa/twine/blob/main/docs/changelog.rst
---
devel/py-twine/Makefile | 12 +++++-------
devel/py-twine/distinfo | 6 +++---
devel/py-twine/files/setup.py | 3 +++
3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/devel/py-twine/Makefile b/devel/py-twine/Makefile
index 28824b93d613..2bb69f7a980c 100644
--- a/devel/py-twine/Makefile
+++ b/devel/py-twine/Makefile
@@ -1,7 +1,7 @@
# Created by: Tom Judge <tj at FreeBSD.org>
PORTNAME= twine
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3:devel/py-colorama@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keyring>=15.1,1:security/py-keyring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pkginfo>=1.4.2:sysutils/py-pkginfo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}readme-renderer>=21.0:devel/py-readme-renderer@${PY_FLAVOR} \
@@ -27,10 +28,7 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.pre.mk>
+post-patch:
+ @${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-twine/distinfo b/devel/py-twine/distinfo
index c7c29c9bef06..b5ec9dd9241f 100644
--- a/devel/py-twine/distinfo
+++ b/devel/py-twine/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1609598899
-SHA256 (twine-3.3.0.tar.gz) = fcffa8fc37e8083a5be0728371f299598870ee1eccc94e9a25cef7b1dcfa8297
-SIZE (twine-3.3.0.tar.gz) = 153306
+TIMESTAMP = 1629364678
+SHA256 (twine-3.4.2.tar.gz) = 4caec0f1ed78dc4c9b83ad537e453d03ce485725f2aea57f1bb3fdde78dae936
+SIZE (twine-3.4.2.tar.gz) = 215681
diff --git a/devel/py-twine/files/setup.py b/devel/py-twine/files/setup.py
new file mode 100644
index 000000000000..606849326a40
--- /dev/null
+++ b/devel/py-twine/files/setup.py
@@ -0,0 +1,3 @@
+from setuptools import setup
+
+setup()
More information about the dev-commits-ports-all
mailing list