svn commit: r463081 - head/net/py-netif
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 26 22:32:08 UTC 2018
Author: sunpoet
Date: Mon Feb 26 22:32:07 2018
New Revision: 463081
URL: https://svnweb.freebsd.org/changeset/ports/463081
Log:
Simplify Makefile: use PY_ENUM34
With hat: python
Modified:
head/net/py-netif/Makefile
Modified: head/net/py-netif/Makefile
==============================================================================
--- head/net/py-netif/Makefile Mon Feb 26 22:32:02 2018 (r463080)
+++ head/net/py-netif/Makefile Mon Feb 26 22:32:07 2018 (r463081)
@@ -11,7 +11,8 @@ COMMENT= Python network configuration library for Free
LICENSE= BSD2CLAUSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsd>0:devel/py-bsd@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsd>0:devel/py-bsd@${FLAVOR} \
+ ${PY_ENUM34}
USE_GITHUB= yes
GH_ACCOUNT= freenas
@@ -21,10 +22,4 @@ GH_TAGNAME= 52675e6
USES= python
USE_PYTHON= autoplist distutils cython
-.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