Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886367 - sci-libs/gdal-3.6.1[python] ignores PYTHON_SINGLE_TARGET
Summary: sci-libs/gdal-3.6.1[python] ignores PYTHON_SINGLE_TARGET
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-16 19:27 UTC by Chris Mayo
Modified: 2022-12-17 00:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2022-12-16 19:27:00 UTC
With python3.11 as python-exec global preference but for sci-libs/gdal using:
  PYTHON_SINGLE_TARGET="-python3_8 -python3_9 python3_10 -python3_11"
gdal Python packages are installed in /usr/lib/python3.11/site-packages/

ebuild fixed for me by adding to mycmakeargs:
-DPython_LOOKUP_VERSION=${EPYTHON#python}

Tested with sci-libs/gdal-3.5.3-r1 which has the same problem.