Date: Mon, 26 Feb 2018 22:31:37 +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: r463075 - head/devel/py-bsd Message-ID: <201802262231.w1QMVb27027024@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802262231.w1QMVb27027024>