Your message dated Thu, 27 Jul 2023 09:15:38 +0000
with message-id <[email protected]>
and subject line Re: Bug#1042369: dh-python: export 
DEB_PYTHON_INSTALL_LAYOUT=deb
has caused the Debian Bug report #1042369,
regarding dh-python: export DEB_PYTHON_INSTALL_LAYOUT=deb
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1042369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042369
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-python
Version: 5.20230603

Hello,

With recent changes in CMake, Python_SITELIB and Python_SITEARCH how include /usr/local/lib instead of /usr/lib (see #1041633) which breaks builds of packages with CMake buildsystem (see #1041633 and #1042186 as examples of this issue).

In #104163 it has been suggested to export DEB_PYTHON_INSTALL_LAYOUT=deb to instruct CMake to install Python stuff to /usr/lib. I believe this is what most packages would do, thus it makes sense to me to handle this in dh-python.

Andrius

--- End Message ---
--- Begin Message ---
FYI pybuild does this:

https://salsa.debian.org/python-team/tools/dh-python/-/blob/6a65132dd35db624e3fab23e83dc35e68d8e6244/pybuild#L70-71

dh_python3 is a script that runs at the end of the build, like other
dh_* tools. It can't set environment variables during the build.

pybuild is a wrapper that runs your buildsystem once for each supported
Python 3 version. This is the recommended way to build Python packages
(where possible).

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

--- End Message ---

Reply via email to