Bug 238601 - devel/py-setproctitle: Fix conflict with multiple flavors of python
Summary: devel/py-setproctitle: Fix conflict with multiple flavors of python
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2019-06-16 09:12 UTC by Ralf van der Enden
Modified: 2019-07-01 06:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sbz)
koobs: merge-quarterly+


Attachments
add 'concurrent' to USE_PYTHON and bump PORTREVISION (500 bytes, patch)
2019-06-16 09:12 UTC, Ralf van der Enden
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2019-06-16 09:12:34 UTC
Created attachment 205108 [details]
add 'concurrent' to USE_PYTHON and bump PORTREVISION

Since devel/py-setproctitle installs HISTORY.rst and README.rst in a fixed location at the moment pkg won't allow having multiple flavors installed next to eachother. antoine (IRC, #bsdports) suggested to add 'concurrent' to USE_PYTHON and this works like a charm.

Also bumped PORTREVISION, but I'm not sure that's necessary.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-16 09:15:50 UTC
PORTREVISION is necessary as the package contents change: filenames in particular, the intent of this change :)

Thank you for the report and patch Ralf
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-16 09:17:25 UTC
Comment on attachment 205108 [details]
add 'concurrent' to USE_PYTHON and bump PORTREVISION

Approved by: portmgr (blanket(s): just fix it, ports (python) compliance)
Comment 3 commit-hook freebsd_committer 2019-06-16 09:26:12 UTC
A commit references this bug:

Author: koobs
Date: Sun Jun 16 09:25:47 UTC 2019
New revision: 504290
URL: https://svnweb.freebsd.org/changeset/ports/504290

Log:
  devel/py-setproctitle: Fix conflict with concurrent Python flavors

  Since devel/py-setproctitle installs HISTORY.rst and README.rst in a
  fixed location, pkg won't allow multiple flavors installed at the same time
  and concurrent ports conflict on install with each other.

  This change adds USE_PYTHON=concurrent which compensates for files in
  DOCSDIR automatically, by using a different directory for each Python
  version.

  PR:		238601
  Submitted by:	Ralf van der Enden <tremere cainites net>
  Approved by:	portmgr (blanket(s): just fix it, ports (python) compliance)
  MFH:		2019Q2 (blanket: bugfix)

Changes:
  head/devel/py-setproctitle/Makefile
Comment 4 commit-hook freebsd_committer 2019-07-01 06:32:51 UTC
A commit references this bug:

Author: koobs
Date: Mon Jul  1 06:32:44 UTC 2019
New revision: 505542
URL: https://svnweb.freebsd.org/changeset/ports/505542

Log:
  MFH: r504290 devel/py-setproctitle: Fix conflict with concurrent Python flavors

  Since devel/py-setproctitle installs HISTORY.rst and README.rst in a
  fixed location, pkg won't allow multiple flavors installed at the same time
  and concurrent ports conflict on install with each other.

  This change adds USE_PYTHON=concurrent which compensates for files in
  DOCSDIR automatically, by using a different directory for each Python
  version.

  PR:		238601
  Submitted by:	Ralf van der Enden <tremere cainites net>
  Approved by:	portmgr (blanket(s): just fix it, ports (python) compliance)

  Approved by:	ports-secteam (blanket: bugfix)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/devel/py-setproctitle/Makefile