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.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-pyutil listed in the above command, you can pick from the names under the Packages section.
devel/py-pyutil: Update to 3.4.1
pyutil still has Python 2 code that fails at run time on every Python
3; upstream master has the same code. Fix it:
- scripts/verinfo imports the Python 2 exceptions module.
- cache, odict, dictutil, memutil and humanreadable use next() only
iterators, has_key(), iteritems()/iterkeys(), dict views as lists, a
lazy map() for eviction, the reduce, unicode and long builtins and
func_name/im_func; SmallOrderedDict's iterators and setdefault() were
wrong as well, and describe_all_objects() did an implicit relative
import.
- benchutil imports threading as thread but calls _thread functions,
and makeg() uses xrange.
- The console scripts: randfile and lines write str to binary files,
lines and passphrase -d use the 'rU' mode removed in Python 3.11,
(Only the first 15 lines of the commit message are shown above )
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)
Remove deprecated ports:
2020-08-15 archivers/py-backports.lzma: Uses deprecated version of python
2020-08-15 archivers/py-bup: Uses deprecated version of python
2020-08-15 archivers/py-librtfcomp: Uses deprecated version of python
2020-08-15 audio/blop-lv2: Uses deprecated version of python
2020-08-15 audio/bs2b-lv2: Uses deprecated version of python
2020-08-15 audio/py-gmusicproxy: Uses deprecated version of python
2020-08-15 audio/py-karaoke: Uses deprecated version of python
2020-08-15 audio/py-openal: Uses deprecated version of python
2020-08-15 audio/py-py-jack: Uses deprecated version of python
2020-08-15 audio/py-xmms2: Uses deprecated version of python
2020-08-15 audio/triceratops-lv2: Uses deprecated version of python
2020-08-15 biology/py-biom-format: Uses deprecated version of python
2020-08-15 comms/py-bulksms: Uses deprecated version of python
(Only the first 15 lines of the commit message are shown above )
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
- update to 1.9.7
- trim Makefile header
- remove leading article from COMMENT
- all the build dependencies are, actually, run dependencies (install_requires
in setup.py)
- remove unconditional dependency on py-argparse (only needed for python2.6
and 3.1, that are deprecated and will gone soon)
- limit python version to 2.x only
- remove temporary *.py~ files in all directories
- remove BROKEN for sparc64, let's see if this still the issue
- update WWW to avoid redirection
PR: 182084
Submitted by: rm (myself)
Approved by: wen (maintainer)
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR: ports/153292
Submitted by: myself (pgollucci)
Tested by: -exp run by pav
Approved by: portmgr (pav)
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
These are a few data structures, classes and functions
which we've needed over many years of Python
programming and which seem to be of general use to
other Python programmers. Many of the modules that
have existed in pyutil over the years have subsequently
been obsoleted by new features added to the Python
language or its standard library, thus showing that
we're not alone in wanting tools like these.
WWW: http://zooko.com/repos/pyutil/
PR: ports/113185
Submitted by: Chao Shin <quakelee at cn.FreeBSD.org>