pygobject/pycairo

1.21.0: is not pep517 ready

kloczek opened this issue · 2 comments

Looks like on using pep517 based build prpocedure devel resources are not installed.
Content of the generated .whl archive

Archive:  /home/tkloczko/rpmbuild/BUILD/pycairo-1.21.0/dist/pycairo-1.21.0-cp38-cp38-linux_x86_64.whl
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
     660  Defl:N      294  56% 03-07-2022 06:22 132b0f5d  cairo/__init__.py
  207589  Defl:N    49055  76% 03-07-2022 06:22 c840c366  cairo/__init__.pyi
 1159680  Defl:N   264355  77% 05-01-2022 17:21 5b78637a  cairo/_cairo.cpython-38-x86_64-linux-gnu.so
       0  Defl:N        2   0% 03-07-2022 06:22 00000000  cairo/py.typed
    8778  Defl:N     2268  74% 03-07-2022 06:22 92929316  cairo/include/py3cairo.h
     672  Defl:N      375  44% 05-01-2022 17:21 6e231e8e  pycairo-1.21.0.dist-info/COPYING
   26528  Defl:N     9403  65% 05-01-2022 17:21 48d8dfc1  pycairo-1.21.0.dist-info/COPYING-LGPL-2.1
   25755  Defl:N     8361  68% 05-01-2022 17:21 3f0a9330  pycairo-1.21.0.dist-info/COPYING-MPL-1.1
    3211  Defl:N     1343  58% 05-01-2022 17:21 fdedc21e  pycairo-1.21.0.dist-info/METADATA
     103  Defl:N       99   4% 05-01-2022 17:21 b79b9224  pycairo-1.21.0.dist-info/WHEEL
       6  Defl:N        8 -33% 05-01-2022 17:21 881b186b  pycairo-1.21.0.dist-info/top_level.txt
     989  Defl:N      603  39% 05-01-2022 17:21 a2021755  pycairo-1.21.0.dist-info/RECORD
--------          -------  ---                            -------
 1433971           336166  77%                            12 files

By devel resources you mean pkg-config files right? In that case it's expected. You should use meson if you want those.

lazka commented

There is no way where we could put .pc files in a Python package where pkg-config would pick it up. Also .pc files contain absolute paths which depend on the install prefix and wheels are install prefix agnostic, so there is no way to generate a valid .pc file even if we could include it.