Skip to content

Package name mapping #71

@Foxi352

Description

@Foxi352

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 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions