1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Clean up Makefile after r559531 (USES=python:3.6+)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-01-10 08:22:38 +00:00
parent 89c6c5a074
commit b044ed1092
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=560970

View File

@ -13,22 +13,12 @@ COMMENT= Process utilities module for Python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PY_ENUM34} \
${PY_IPADDRESS}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR}
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_bsd*.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_posix*.so
.include <bsd.port.post.mk>
.include <bsd.port.mk>