Update RUN_DEPENDS for py-tempora 3.0.0 update
- Bump PORTREVISION for dependency change
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= portend
|
||||
PORTVERSION= 2.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@@ -13,7 +14,6 @@ LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tempora>=1.8:devel/py-tempora@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.5:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
@@ -25,4 +25,12 @@ NO_ARCH= yes
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -o addopts=''
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3600
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tempora1>=1.8:devel/py-tempora1@${PY_FLAVOR}
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tempora>=1.8:devel/py-tempora@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user