git: 227028511be1 - main - devel/py-namex: New port: Utility to separate implementation and public API surface

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 01 Nov 2025 18:01:40 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=227028511be172ecc4bafb32e657aa0540fcc22a

commit 227028511be172ecc4bafb32e657aa0540fcc22a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-11-01 16:26:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-11-01 18:01:38 +0000

    devel/py-namex: New port: Utility to separate implementation and public API surface
---
 devel/Makefile           |  1 +
 devel/py-namex/Makefile  | 21 +++++++++++++++++++++
 devel/py-namex/distinfo  |  3 +++
 devel/py-namex/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 94b360099eaa..0982f2ef8e2e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5327,6 +5327,7 @@
     SUBDIR += py-mypy_extensions
     SUBDIR += py-mystic
     SUBDIR += py-naiveBayesClassifier
+    SUBDIR += py-namex
     SUBDIR += py-nanobind
     SUBDIR += py-nanotime
     SUBDIR += py-natsort
diff --git a/devel/py-namex/Makefile b/devel/py-namex/Makefile
new file mode 100644
index 000000000000..3805f782cf05
--- /dev/null
+++ b/devel/py-namex/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	namex
+DISTVERSION=	0.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Utility to separate implementation and public API surface
+WWW=		https://github.com/fchollet/namex
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-namex/distinfo b/devel/py-namex/distinfo
new file mode 100644
index 000000000000..62df7e54b08d
--- /dev/null
+++ b/devel/py-namex/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730473740
+SHA256 (namex-0.1.0.tar.gz) = 117f03ccd302cc48e3f5c58a296838f6b89c83455ab8683a1e85f2a430aa4306
+SIZE (namex-0.1.0.tar.gz) = 6649
diff --git a/devel/py-namex/pkg-descr b/devel/py-namex/pkg-descr
new file mode 100644
index 000000000000..05688d319464
--- /dev/null
+++ b/devel/py-namex/pkg-descr
@@ -0,0 +1,2 @@
+Simple utility to separate the implementation of your Python package and its
+public API surface.