Bug 238706

Summary: ports-mgmt/porttree: Update to 1.1.r114
Product: Ports & Packages Reporter: vladimir.chukharev
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch vladimir.chukharev: maintainer-approval+

Description vladimir.chukharev 2019-06-19 13:38:17 UTC
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)
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-06-30 20:47:48 UTC
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
Comment 2 Steve Wills freebsd_committer freebsd_triage 2019-06-30 20:48:44 UTC
Committed, thanks!