Bug 238706 - ports-mgmt/porttree: Update to 1.1.r114
Summary: ports-mgmt/porttree: Update to 1.1.r114
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-19 13:38 UTC by vladimir.chukharev
Modified: 2019-06-30 20:48 UTC (History)
0 users

See Also:


Attachments
Patch (1.18 KB, patch)
2019-06-19 13:38 UTC, vladimir.chukharev
vladimir.chukharev: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 2019-06-30 20:48:44 UTC
Committed, thanks!