mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 19:46:41 -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.
22 lines
513 B
Makefile
22 lines
513 B
Makefile
PORTNAME= conditional
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= skreuzer@FreeBSD.org
|
|
COMMENT= Conditionally enter a context manager
|
|
WWW= https://pypi.org/project/conditional/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flexmock>=0.10.5:devel/py-flexmock@${PY_FLAVOR}
|
|
|
|
USES= python zip
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|