Bug 233716

Summary: graphics/py-gdal: Flavor @py36 does not install because of wrong PYTHON*_SITELIBDIR
Product: Ports & Packages Reporter: Rainer Hurling <rhurlin>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me CC: rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
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:17:32 UTC
Created attachment 199743 [details]
patch SITELIBDIR for @py36

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

I think, this is because graphics/py-gdal@py37 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 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-12-03 15:00:08 UTC
I cannot reproduce the problem.
And our building cluster generates the packages successfully [1][2].

[1] https://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/py36-gdal-2.2.4_1.txz
[2] https://pkg.freebsd.org/FreeBSD:12:amd64/latest/All/py36-gdal-2.2.4_1.txz
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-01-05 20:11:14 UTC
Please feel free to reopen it if necessary.