summaryrefslogtreecommitdiff
path: root/devel/py-xmod
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-xmod')
-rw-r--r--devel/py-xmod/Makefile21
-rw-r--r--devel/py-xmod/distinfo3
-rw-r--r--devel/py-xmod/pkg-descr6
3 files changed, 30 insertions, 0 deletions
diff --git a/devel/py-xmod/Makefile b/devel/py-xmod/Makefile
new file mode 100644
index 000000000000..c3d07862469a
--- /dev/null
+++ b/devel/py-xmod/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= xmod
+DISTVERSION= 1.8.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Turn any object into a module
+WWW= https://github.com/rec/xmod
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-xmod/distinfo b/devel/py-xmod/distinfo
new file mode 100644
index 000000000000..f39a79ee9ae8
--- /dev/null
+++ b/devel/py-xmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1760642450
+SHA256 (xmod-1.8.1.tar.gz) = 38c76486b9d672c546d57d8035df0beb7f4a9b088bc3fb2de5431ae821444377
+SIZE (xmod-1.8.1.tar.gz) = 3988
diff --git a/devel/py-xmod/pkg-descr b/devel/py-xmod/pkg-descr
new file mode 100644
index 000000000000..3e877b2ea966
--- /dev/null
+++ b/devel/py-xmod/pkg-descr
@@ -0,0 +1,6 @@
+xmod is a Python library that allows you to give modules attributes of
+other Python objects. A module can be made callable, or it can be
+indexed like a list, or it can have a __str__() method that gets
+called when you print it.
+
+xmod can be used as a decorator or as a simple function.