wheel2deb icon indicating copy to clipboard operation
wheel2deb copied to clipboard

Package name mapping

Open Foxi352 opened this issue 1 year ago • 0 comments

I tried this project to convert a .whl i created myself into a .deb for Debian Bookworm. I use wakemeops/minideb:bookworm container to do the job.

However it fails to find some of the debian packages for different python packages:

 --> Converting wheel podman_manager-0.1.3-py3-none-any.whl
     searching python3-setuptools python3-requests python3-pydbus python3-pycairo python3-sphinx python3-typer python3-podman python3-rich python3-pygobject python3-wheel python3-tomli python3-urllib3 in apt cache...
[... I CUTTED THE OK ONES ...]
     could not find a candidate for requirement pycairo>=1.20.0
     could not find a candidate for requirement podman>=5.2.0
     could not find a candidate for requirement pygobject>=3.42.2
     no license found !

As far as i know pygobject, for example, is provided by python3-gi if i'm not mistaken. Is there any possibility to manually map the python package to debian name ? For example something like the following in the .yml config file:

dependencies:
  pycairo: python3-cairo
  pygobject: python3-gi

It could then still check the version, if it matches the requirement.

Or did i completely miss something ? Documention on the web is sparse about this excellent project ...

Foxi352 avatar Dec 22 '24 12:12 Foxi352