Bug 225532

Summary: devel/py-coverage: Allow concurrent installation
Product: Ports & Packages Reporter: Jason E. Hale <jhale>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: --- Flags: jhale: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Allow concurrent installation of devel/py-coverage jhale: maintainer-approval? (lwhsu)

Description Jason E. Hale freebsd_committer freebsd_triage 2018-01-29 13:04:10 UTC
Created attachment 190156 [details]
Allow concurrent installation of devel/py-coverage

Currently, it is not possible to install multiple Python flavors of this port as there is a conflict with the installed files. Namely, ${PREFIX}/bin/coverage. The port also installs the same script versioned as, for example, ${PREFIX}/bin/coverage2 and ${PREFIX}/bin/coverage-2.7

The attached diff removes the conflict by only installing the unversioned script and letting USE_PYTHON=concurrent handle the renaming and linking of the versioned scripts.

PORTREVISION is bumped since installed files will change.

Tests done:
- portlint -Cg: looks fine.
- poudriere: 11.1-RELEASE amd64: PASS
- Unit testing done on audio/py-aubio via devel/py-nose2: PASS
Comment 1 Jason E. Hale freebsd_committer freebsd_triage 2018-02-15 11:33:51 UTC
Maintainer timeout re-assign to myself.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-02-15 11:36:14 UTC
A commit references this bug:

Author: jhale
Date: Thu Feb 15 11:36:08 UTC 2018
New revision: 461881
URL: https://svnweb.freebsd.org/changeset/ports/461881

Log:
  Allow concurrent installation

  PR:		225532
  Submitted by:	jhale
  Approved by:	maintainer-timeout (2 weeks)

Changes:
  head/devel/py-coverage/Makefile
  head/devel/py-coverage/files/
  head/devel/py-coverage/files/patch-setup.py