svn commit: r531056 - head/devel/py-jaraco.timing
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Apr 8 02:21:38 UTC 2020
Author: sunpoet
Date: Wed Apr 8 02:21:35 2020
New Revision: 531056
URL: https://svnweb.freebsd.org/changeset/ports/531056
Log:
Update RUN_DEPENDS for py-tempora 3.0.0 update
- Bump PORTREVISION for dependency change
Modified:
head/devel/py-jaraco.timing/Makefile
Modified: head/devel/py-jaraco.timing/Makefile
==============================================================================
--- head/devel/py-jaraco.timing/Makefile Wed Apr 8 02:21:30 2020 (r531055)
+++ head/devel/py-jaraco.timing/Makefile Wed Apr 8 02:21:35 2020 (r531056)
@@ -3,6 +3,7 @@
PORTNAME= jaraco.timing
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,7 @@ COMMENT= Routines pertinent to the fourth dimension
LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tempora>=1.5:devel/py-tempora@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jaraco>=0:devel/py-jaraco@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
@@ -31,4 +31,12 @@ post-install:
trim-jaraco-namespace:
@${REINPLACE_CMD} '/jaraco\/__init__\./d; /jaraco\/__pycache__\/__init__\./d' ${TMPPLIST}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3600
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tempora1>=1.5:devel/py-tempora1@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tempora>=1.5:devel/py-tempora@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list