Date: Mon, 26 Feb 2018 22:32:07 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463081 - head/net/py-netif Message-ID: <201802262232.w1QMW7XA027678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802262232.w1QMW7XA027678>