mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
29 lines
905 B
Makefile
29 lines
905 B
Makefile
PORTNAME= pytest4-cache
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION}
|
|
|
|
MAINTAINER= loader@FreeBSD.org
|
|
COMMENT= Pytest plugin with mechanisms for caching across test runs (legacy version for pytest 4)
|
|
WWW= https://bitbucket.org/hpk42/pytest-cache/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-cache
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=2.2:devel/py-pytest4@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR}
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils
|
|
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
|
|
TEST_TARGET= test
|
|
PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//}
|
|
|
|
.include <bsd.port.mk>
|