openSUSE / openSUSE/python-rpm-macros
Python module names with a custom prefix
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 27
- Forks
- 20
- Avg merge
- 8h 52m
- Merged PRs (30d)
- 2
Description
We are working on a project in which we are packaging Python modules outside of openSUSE & SLE, using Open Build Service. In some cases, we have found ourselves in need for packaging a different version of a package name which is already included in openSUSE and/or SLE. We would like to use python-rpm-macros but we are finding issues with this part:
BuildRequires: %{python_module foo >= version}
It would resolve to the following, per version of pythons:
BuildRequires: pythonX-foo >= version
We would like to be able to have a way to specify a custom prefix for these packages, so that the package names do not conflict with the openSUSE & SLE package names.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Lua implementation of the python-rpm-macros generator and trace how %{python_module foo >= version} becomes per-Python BuildRequires names. Define how a custom prefix should be specified, then verify that generated package names use it without conflicting with openSUSE or SLE names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, python
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100