diff options
Diffstat (limited to 'devel/py-rodi/Makefile')
-rw-r--r-- | devel/py-rodi/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/py-rodi/Makefile b/devel/py-rodi/Makefile new file mode 100644 index 000000000000..411ae96a4ff7 --- /dev/null +++ b/devel/py-rodi/Makefile @@ -0,0 +1,28 @@ +PORTNAME= rodi +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.8 +CATEGORIES= devel python +#MASTER_SITES= PYPI # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Implementation of dependency injection for Python 3 +WWW= https://github.com/Neoteroi/rodi + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= Neoteroi + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# tests as of 2.0.8: 177 passed in 2.73s + +.include <bsd.port.mk> |