Created attachment 205220 [details] Patch Update ports-mgmt/porttree from 1.0.r102 to 1.1.r114. Changes: 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. QA: portlint - OK poudriere - OK port test - OK make test - OK (both py27 and py36)
A commit references this bug: Author: swills Date: Sun Jun 30 20:47:22 UTC 2019 New revision: 505488 URL: https://svnweb.freebsd.org/changeset/ports/505488 Log: ports-mgmt/porttree: 1.1.r114 PR: 238706 Submitted by: vladimir.chukharev@gmail.com (maintainer) Changes: head/ports-mgmt/porttree/Makefile head/ports-mgmt/porttree/distinfo
Committed, thanks!