summaryrefslogtreecommitdiff
path: root/devel/py-camel-converter
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-camel-converter')
-rw-r--r--devel/py-camel-converter/Makefile26
-rw-r--r--devel/py-camel-converter/distinfo3
-rw-r--r--devel/py-camel-converter/pkg-descr2
3 files changed, 31 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>
diff --git a/devel/py-camel-converter/distinfo b/devel/py-camel-converter/distinfo
new file mode 100644
index 000000000000..dcdaf87c8ce5
--- /dev/null
+++ b/devel/py-camel-converter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755458260
+SHA256 (camel_converter-4.0.1.tar.gz) = 401414549ae4ac4073e38cdc4aa6d464dc534fc40aa06ff787bf0960b0c86535
+SIZE (camel_converter-4.0.1.tar.gz) = 38915
diff --git a/devel/py-camel-converter/pkg-descr b/devel/py-camel-converter/pkg-descr
new file mode 100644
index 000000000000..0cb604a1b48f
--- /dev/null
+++ b/devel/py-camel-converter/pkg-descr
@@ -0,0 +1,2 @@
+camel-converter converts a string from snake case to camel case or camel case
+to snake case.