1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Simplify Makefile: use PY_PATHLIB

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-14 21:43:29 +00:00
parent fed7d58951
commit e4bf44e94e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484952

View File

@ -14,6 +14,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
${PY_PATHLIB} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
USES= python
@ -24,8 +25,7 @@ NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3500
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.tempfile>=0:devel/py-backports.tempfile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pathlib>=0:devel/py-pathlib@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.tempfile>=0:devel/py-backports.tempfile@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>