summaryrefslogtreecommitdiff
path: root/devel/py-essentials/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-essentials/Makefile')
-rw-r--r--devel/py-essentials/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/py-essentials/Makefile b/devel/py-essentials/Makefile
new file mode 100644
index 000000000000..140b76302ffd
--- /dev/null
+++ b/devel/py-essentials/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= essentials
+DISTVERSION= 1.1.8
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= General purpose classes and functions
+WWW= https://github.com/Neoteroi/essentials
+
+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} \
+ ${PYTHON_PKGNAMEPREFIX}pydantic>0:devel/py-pydantic@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+# tests as of 1.1.8: 157 passed in 3.25s
+
+.include <bsd.port.mk>