summaryrefslogtreecommitdiff
path: root/textproc/py-humps
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-humps')
-rw-r--r--textproc/py-humps/Makefile23
-rw-r--r--textproc/py-humps/distinfo3
-rw-r--r--textproc/py-humps/pkg-descr2
3 files changed, 28 insertions, 0 deletions
diff --git a/textproc/py-humps/Makefile b/textproc/py-humps/Makefile
new file mode 100644
index 000000000000..0d31c4fe5076
--- /dev/null
+++ b/textproc/py-humps/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= pyhumps
+PORTVERSION= 3.9.0
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= Convert strings between cases
+WWW= https://github.com/nficano/humps
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES= python
+USE_GITHUB= yes
+GH_ACCOUNT= nficano
+GH_PROJECT= humps
+GH_TAGNAME= v${PORTVERSION}
+
+USE_PYTHON= autoplist concurrent pep517
+
+.include <bsd.port.mk>
diff --git a/textproc/py-humps/distinfo b/textproc/py-humps/distinfo
new file mode 100644
index 000000000000..30694a53f5b2
--- /dev/null
+++ b/textproc/py-humps/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1757846499
+SHA256 (nficano-humps-3.9.0-v3.9.0_GH0.tar.gz) = d70a866f1de9a7ff2bed7a649faa2984cfab2dbd66b3fa90605235fbfb8b7219
+SIZE (nficano-humps-3.9.0-v3.9.0_GH0.tar.gz) = 2390969
diff --git a/textproc/py-humps/pkg-descr b/textproc/py-humps/pkg-descr
new file mode 100644
index 000000000000..9689352ade1d
--- /dev/null
+++ b/textproc/py-humps/pkg-descr
@@ -0,0 +1,2 @@
+Convert strings (and dictionary keys) between snake case, camel case and pascal
+case in Python.