summaryrefslogtreecommitdiff
path: root/devel/py-pyutil
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-pyutil')
-rw-r--r--devel/py-pyutil/Makefile34
-rw-r--r--devel/py-pyutil/distinfo3
-rw-r--r--devel/py-pyutil/pkg-descr6
3 files changed, 43 insertions, 0 deletions
diff --git a/devel/py-pyutil/Makefile b/devel/py-pyutil/Makefile
new file mode 100644
index 000000000000..1fbcbc7e10c9
--- /dev/null
+++ b/devel/py-pyutil/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= pyutil
+DISTVERSION= 3.3.6
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dtxdf@FreeBSD.org
+COMMENT= Collection of utilities for Python programmers
+WWW= https://pypi.org/project/${PORTNAME} \
+ https://github.com/tpltnt/${PORTNAME}
+
+LICENSE= GPLv2+ TGGPL SPL
+LICENSE_COMB= dual
+LICENSE_NAME_TGGPL= Transitive Grace Period Public Licence 1.0
+LICENSE_NAME_SPL= Simple Permissive License
+LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL
+LICENSE_FILE_TGGPL= ${WRKSRC}/COPYING.TGPPL.rst
+LICENSE_FILE_SPL= ${WRKSRC}/COPYING.SPL.txt
+LICENSE_PERMS_TGGPL= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+LICENSE_PERMS_SPL= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= JSONUTIL
+OPTIONS_DEFAULT= JSONUTIL
+
+JSONUTIL_DESC= Install with simplejson
+
+JSONUTIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyutil/distinfo b/devel/py-pyutil/distinfo
new file mode 100644
index 000000000000..5a6677ad8912
--- /dev/null
+++ b/devel/py-pyutil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748369361
+SHA256 (pyutil-3.3.6.tar.gz) = 5dc3d6bb9c5bababb5d0b773e094045d75712e8b34af2d29b0e28602668267c0
+SIZE (pyutil-3.3.6.tar.gz) = 137461
diff --git a/devel/py-pyutil/pkg-descr b/devel/py-pyutil/pkg-descr
new file mode 100644
index 000000000000..cd6bd2aa8669
--- /dev/null
+++ b/devel/py-pyutil/pkg-descr
@@ -0,0 +1,6 @@
+pyutil is a library of useful Python functions and classes. Many
+of these utilities (or their ancestors) were developed originally
+by Zooko Wilcox-O'Hearn for the Mojo Nation, Mnet, Allmydata.com
+"Mountain View", Tahoe-LAFS, or SimpleGeo's products. Please note
+that version 2.X is based on Python 2. Version 3.X will has support
+for Python 3.