svn commit: r481645 - head/devel/py-pyee
Josh Paetzel
jpaetzel at FreeBSD.org
Tue Oct 9 18:06:48 UTC 2018
Author: jpaetzel
Date: Tue Oct 9 18:06:47 2018
New Revision: 481645
URL: https://svnweb.freebsd.org/changeset/ports/481645
Log:
Implement a better fix for python flavors
PR: 232108
Submitted by: swills
Modified:
head/devel/py-pyee/Makefile
Modified: head/devel/py-pyee/Makefile
==============================================================================
--- head/devel/py-pyee/Makefile Tue Oct 9 18:06:15 2018 (r481644)
+++ head/devel/py-pyee/Makefile Tue Oct 9 18:06:47 2018 (r481645)
@@ -2,7 +2,7 @@
PORTNAME= pyee
PORTVERSION= 5.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,11 +15,13 @@ LICENSE= MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
-.if ${PY_FLAVOR:U} == py35 || ${PY_FLAVOR:U} == py36
-BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
-.endif
-
USES= python
USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VER} > 3.4
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list