svn commit: r523660 - head/devel/py-invoke
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jan 20 20:10:28 UTC 2020
Author: sunpoet
Date: Mon Jan 20 20:10:27 2020
New Revision: 523660
URL: https://svnweb.freebsd.org/changeset/ports/523660
Log:
Update RUN_DEPENDS for py-twine 3.1.1 update
- Bump PORTREVISION for dependency change
Modified:
head/devel/py-invoke/Makefile
Modified: head/devel/py-invoke/Makefile
==============================================================================
--- head/devel/py-invoke/Makefile Mon Jan 20 20:10:22 2020 (r523659)
+++ head/devel/py-invoke/Makefile Mon Jan 20 20:10:27 2020 (r523660)
@@ -3,6 +3,7 @@
PORTNAME= invoke
PORTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}semantic_version>=0:devel/py-semantic_version@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}twine>=0:devel/py-twine@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
@@ -23,4 +23,12 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}twine1>=0:devel/py-twine1@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}twine>=0:devel/py-twine@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list