aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-03 18:04:57 +0000
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-06-03 20:32:48 +0000
commit05744778c7264f575bcf0b4d4f935679ed92db13 (patch)
tree18cb5b29b6c2071d22232502de4270cf86ce1a32
parent71e01cad1094862bca01b9199d7a63a1e83b3c3a (diff)
devel/py-pyutil: New port: Collection of utilities for Python programmers
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. PR: 287128 Approved by: acm (mentor)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyutil/Makefile34
-rw-r--r--devel/py-pyutil/distinfo3
-rw-r--r--devel/py-pyutil/pkg-descr6
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 76f6a94fa4f2..ee9af26000d7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5783,6 +5783,7 @@
SUBDIR += py-pyudev
SUBDIR += py-pyupgrade
SUBDIR += py-pyusb
+ SUBDIR += py-pyutil
SUBDIR += py-pyvisa
SUBDIR += py-pyvisa-py
SUBDIR += py-pyxb-x
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.