Bug 193956 - devel/py-nose: Conflict on nosetest for multiple Python version installations
Summary: devel/py-nose: Conflict on nosetest for multiple Python version installations
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2014-09-26 16:37 UTC by Raphael Ahrens
Modified: 2015-06-05 05:07 UTC (History)
0 users

See Also:


Attachments
Output of `PYTHON_VERSION=python3.3 make install clean` (487 bytes, text/plain)
2014-09-26 16:37 UTC, Raphael Ahrens
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Ahrens 2014-09-26 16:37:22 UTC
Created attachment 147700 [details]
Output of `PYTHON_VERSION=python3.3 make install clean`

When I try to install `devel/py-nose` for python 2 and python 3 the two ports conflict with each other.

Both try to install the file `/usr/local/bin/nosetests`.

To install both ports I ran 

    make install clean
    PYTHON_VERSION=python3.3 make install clean
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-26 16:37:22 UTC
Auto-assigned to maintainer koobs@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-01-19 14:55:11 UTC
A commit references this bug:

Author: koobs
Date: Mon Jan 19 14:54:24 UTC 2015
New revision: 377437
URL: https://svnweb.freebsd.org/changeset/ports/377437

Log:
  devel/py-nose: Update to 1.3.4, Allow concurrent versions

  - Update to 1.3.4
  - Use USE_PYTHON=concurrent to suffix bin/nosetests allowing multile
    Python versions of devel/py-nose to be installed [1]

  Changes:

    http://nose.readthedocs.org/en/latest/news.html

  PR:	193956 [1]

Changes:
  head/devel/py-nose/Makefile
  head/devel/py-nose/distinfo
  head/devel/py-nose/files/
  head/devel/py-nose/files/patch-setup.py
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-19 15:03:36 UTC
Looks like the man page is going to have to be dealt with as well: 

pkg-static: py34-nose-1.3.4 conflicts with py27-nose-1.3.3 (installs files into the same place).  Problematic file: /usr/local/man/man1/nosetests.1.gz

Stand by :)
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-06-05 05:06:13 UTC
A commit references this bug:

Author: koobs
Date: Fri Jun  5 05:05:43 UTC 2015
New revision: 388567
URL: https://svnweb.freebsd.org/changeset/ports/388567

Log:
  devel/py-nose: Update to 1.3.7

  - Update to 1.3.7
  - Update regression-test to canonical invocation
  - Make concurrent installation safe. Don't install man page for now until
    USES=uniquefiles and/or USE_PYTHON=concurrent can handle them. [1]

  Changes:

    https://github.com/nose-devs/nose/blob/release_1.3.7/CHANGELOG

  PR:	193956 [1]

Changes:
  head/devel/py-nose/Makefile
  head/devel/py-nose/distinfo
  head/devel/py-nose/files/patch-setup.py
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-06-05 05:07:12 UTC
Issue resolved by way of workaround (don't install man page). Thanks for the report Raphael, and apologies for the delay