Bug 233717 - graphics/py-pyproj: Flavor @py36 does not install because of wrong PYTHON*_SITELIBDIR
Summary: graphics/py-pyproj: Flavor @py36 does not install because of wrong PYTHON*_SI...
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: 233726
  Show dependency treegraph
 
Reported: 2018-12-02 11:35 UTC by Rainer Hurling
Modified: 2018-12-27 00:16 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (fmysh)


Attachments
patch SITELIBDIR for @py36 (372 bytes, patch)
2018-12-02 11:35 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2018-12-02 11:35:11 UTC
Created attachment 199745 [details]
patch SITELIBDIR for @py36

In the process of preparing my new port graphics/qgis with QGIS 3, I found graphics/py-pyproj as a showstopper, because it is not able to install for flavor @py36.

I think, this is because graphics/py-pyproj@py36 tries to install the Python files wrongly in PYTHON_SITELIBDIR instead of PYTHONPREFIX_SITELIBDIR.

The attached patch seems to solve the problem, now both @py27 and @py36 are installable at the same time.


Tested with Poudriere (F11.2i/a, F12.0-RC1i/a, and HEADi/a).

'portlint -AC' seems fine.
Comment 1 Steve Wills freebsd_committer freebsd_triage 2018-12-27 00:03:49 UTC
Committed, thanks!
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-12-27 00:16:20 UTC
This was committed in r488493. I used the wrong PR reference accidentally, so it wasn't noted here. Sorry!