Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2018 18:06:47 +0000 (UTC)
From:      Josh Paetzel <jpaetzel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481645 - head/devel/py-pyee
Message-ID:  <201810091806.w99I6lcP029401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810091806.w99I6lcP029401>