[Bug 233716] graphics/py-gdal: Flavor @py36 does not install because of wrong PYTHON*_SITELIBDIR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 2 11:17:35 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233716

            Bug ID: 233716
           Summary: graphics/py-gdal: Flavor @py36 does not install
                    because of wrong PYTHON*_SITELIBDIR
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet at FreeBSD.org
          Reporter: rhurlin at gwdg.de
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

Created attachment 199743
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199743&action=edit
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 at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list