git: 063ade0f4ff9 - main - textproc/py-humps: Add new port

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Sun, 14 Sep 2025 10:48:36 UTC
The branch main has been updated by otis:

URL: https://cgit.FreeBSD.org/ports/commit/?id=063ade0f4ff9e3cc98ce10b011184094dd074cd2

commit 063ade0f4ff9e3cc98ce10b011184094dd074cd2
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2025-09-14 10:45:55 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-09-14 10:45:55 +0000

    textproc/py-humps: Add new port
    
    py-humps converts strings (and dictionary keys) between snake case,
    camel case and pascal case in Python.
    
    Sponsored by:   resulta.tech
---
 textproc/Makefile           |  1 +
 textproc/py-humps/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-humps/distinfo  |  3 +++
 textproc/py-humps/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index d6ae244ec3b0..897fcba54b82 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1417,6 +1417,7 @@
     SUBDIR += py-html2text
     SUBDIR += py-htmlmin2
     SUBDIR += py-humanfriendly
+    SUBDIR += py-humps
     SUBDIR += py-hunspell
     SUBDIR += py-ini2toml
     SUBDIR += py-interegular
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.