Created attachment 205220 [details]
Update ports-mgmt/porttree from 1.0.r102 to 1.1.r114.
1. Parallel scan of the ports tree, using 'multirocessing' module. About 2X faster on a 4-core CPU.
2. More tests.
3. Tests can be run with another Python flavor by setting PY environment variable, e.g:
$ PY=python2.7 make -C /usr/ports/ports-mgmt/porttree test
Of course, depends should be installed for that Python flavor.
4. Sorting order is changed to alphabetical for "category/portname" strings. Otherwise, Python2.7 and Python3.6 produce different trees due to different order of keys in a map.
I left a commented out line "#USE_PYTHON=concurrent" as a reminder, that this line is not needed, despite the port install a script in /usr/local/bin. I hope this is OK.
portlint - OK
poudriere - OK
port test - OK
make test - OK (both py27 and py36)
A commit references this bug:
Date: Sun Jun 30 20:47:22 UTC 2019
New revision: 505488
Submitted by: firstname.lastname@example.org (maintainer)