Category: Python
Unknown flavor ‘py39’, possible flavors: py38
I use Synth to build my own packages. On a test system running stable/13, Synth had issues with textproc/py-sphinxcontrib-applehelp@py39.
Read More → Unknown flavor ‘py39’, possible flavors: py38Migrating to Python 3.8
Edit /etc/make.conf and /usr/local/etc/synth/LiveSystem-make.conf, changing DEFAULT_VERSIONS+=python=3.7 to DEFAULT_VERSIONS+=python=3.8, and DEFAULT_VERSIONS+=python3=3.7 to DEFAULT_VERSIONS+=python3=python3.8.
Read More → Migrating to Python 3.8Python 2.7.18 on FreeBSD
Update 2020-05-06 Python 2.7.18 was officially added to the ports collection in r534040. I didn’t even bother searching for a PR on the matter, and sure enough, PR 245776 exists and did a more thorough job than my own efforts. While Python 2.x.y is EoL, Python 2.7.18 was released a week ago, on 2020-04-20.
Read More → Python 2.7.18 on FreeBSDSwitching main Python versions in FreeBSD
In my infinite (and possibly questionable) wisdom, I usually lock down various software to particular versions. This time I wanted to change the main Python from version 2.7 to version 3.6 on the FreeBSD builder at ${WORK}.
Read More → Switching main Python versions in FreeBSDJoint Python ports in FreeBSD
I woke up this morning only to be greeted by: As per /usr/ports/UPDATING, the solution is: Take note of the North-American spelling.
Read More → Joint Python ports in FreeBSDPatch for math/py-matplotlib
Without this patch, python2.7 will crash when the loop in setup.py reaches setupext.BackendGtk3Cairo().
Read More → Patch formath/py-matplotlib
devel/py-setuptools27
renamed to devel/py27-setuptools
r436290 renamed devel/py-setuptools27 to devel/py27-setuptools. Here are four portupgrade commands to make amends: Run similar commands for updating the origin of, say, devel/py-setuptools36 to devel/py36-setuptools.
Read More →devel/py-setuptools27
renamed to devel/py27-setuptools