Simplify Makefile: use PY_ENUM34
With hat: python
This commit is contained in:
parent
d114fd5c6a
commit
802c47ea88
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463080
1 changed files with 1 additions and 4 deletions
|
@ -14,6 +14,7 @@ LICENSE= BSD3CLAUSE
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING.md
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${FLAVOR} \
|
||||
${PY_ENUM34} \
|
||||
${PYTHON_PKGNAMEPREFIX}ipython_genutils>=0:devel/py-ipython_genutils@${FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${FLAVOR}
|
||||
|
@ -24,10 +25,6 @@ NO_ARCH= yes
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 3400
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>=0:devel/py-enum34@${FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_VER} == 2.7
|
||||
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${FLAVOR}
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue