svn commit: r481643 - head/devel/py-pyee

Mathieu Arnold mat at FreeBSD.org
Tue Oct 9 18:04:40 UTC 2018


On Tue, Oct 09, 2018 at 05:56:00PM +0000, Josh Paetzel wrote:
> Author: jpaetzel
> Date: Tue Oct  9 17:56:00 2018
> New Revision: 481643
> URL: https://svnweb.freebsd.org/changeset/ports/481643
> 
> Log:
>   Update deps when python > 3.4 is in use.
> 
> Modified:
>   head/devel/py-pyee/Makefile
> 
> Modified: head/devel/py-pyee/Makefile
> ==============================================================================
> --- head/devel/py-pyee/Makefile	Tue Oct  9 17:38:10 2018	(r481642)
> +++ head/devel/py-pyee/Makefile	Tue Oct  9 17:56:00 2018	(r481643)
> @@ -2,6 +2,7 @@
>  
>  PORTNAME=	pyee
>  PORTVERSION=	5.0.0
> +PORTREVISION=	1
>  CATEGORIES=	devel python
>  MASTER_SITES=	CHEESESHOP
>  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> @@ -13,6 +14,10 @@ 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

This will not work if the PYTHON_DEFAULT is 36, you need to .include
<bsd.port.pre.mk> before checking PY_FLAVOR.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20181009/81c0704c/attachment-0001.sig>


More information about the svn-ports-all mailing list