svn commit: r463075 - head/devel/py-bsd
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 26 22:31:37 UTC 2018
Author: sunpoet
Date: Mon Feb 26 22:31:36 2018
New Revision: 463075
URL: https://svnweb.freebsd.org/changeset/ports/463075
Log:
Simplify Makefile: use PY_ENUM34
With hat: python
Modified:
head/devel/py-bsd/Makefile
Modified: head/devel/py-bsd/Makefile
==============================================================================
--- head/devel/py-bsd/Makefile Mon Feb 26 22:31:31 2018 (r463074)
+++ head/devel/py-bsd/Makefile Mon Feb 26 22:31:36 2018 (r463075)
@@ -11,7 +11,8 @@ COMMENT= Python wrappers for various BSD libc and syst
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
+RUN_DEPENDS= ${PY_ENUM34} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
USES= python
USE_PYTHON= autoplist distutils cython
@@ -21,10 +22,4 @@ GH_ACCOUNT= freenas
GH_PROJECT= py-bsd
GH_TAGNAME= 6d148fa
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3400
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list