Bug 233717

Summary: graphics/py-pyproj: Flavor @py36 does not install because of wrong PYTHON*_SITELIBDIR
Product: Ports & Packages Reporter: Rainer Hurling <rhurlin>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: fmysh, rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (fmysh)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 233726    
Attachments:
Description Flags
patch SITELIBDIR for @py36 none

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!