summaryrefslogtreecommitdiff
path: root/devel/py-camel-converter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-camel-converter/Makefile')
-rw-r--r--devel/py-camel-converter/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/py-camel-converter/Makefile b/devel/py-camel-converter/Makefile
new file mode 100644
index 000000000000..232be0f236e1
--- /dev/null
+++ b/devel/py-camel-converter/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= camel-converter
+DISTVERSION= 4.0.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Converts string between snake case and snake case
+WWW= https://github.com/sanders41/camel-converter
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+# tests as of 4.0.1: 42 passed in 1.98s
+
+.include <bsd.port.mk>