ports/devel/py-pytest-asyncio/Makefile
Jan Beich e302eaf3c2 devel/py-pytest-asyncio: unbreak with python < 3.x by default
=======================<phase: run-depends    >============================
===>   py35-pytest-asyncio-0.5.0 depends on package: py35-pytest>=3.0.2 - not found
===>   py35-pytest-asyncio-0.5.0 depends on package: /packages/All/py35-pytest-3.0.3.txz - not found
===>   USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
*** [run-depends] Error code 1

Reported by:	pkg-fallout
2016-12-13 13:59:13 +00:00

26 lines
551 B
Makefile

# $FreeBSD$
PORTNAME= pytest-asyncio
PORTVERSION= 0.5.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Py.test plugin providing fixtures and markers for asyncio
LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.2:devel/py3-pytest
NO_ARCH= yes
USES= python:3.3+
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:devel/py-asyncio
.endif
.include <bsd.port.post.mk>