Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support building python modules from a git source #1999

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bugfood
Copy link

@bugfood bugfood commented Mar 13, 2023

The makes the building of python modules support a git repo URL (and optional branch) the same way as currently done for ruby gems.

Example to build an old version of the requests module on AlmaLinux 8:

bin/fpm --verbose -s python -t rpm -f --architecture noarch --rpm-auto-add-directories --python-bin python3.6 --python-package-name-prefix python3 --python-pip /usr/bin/pip3.6  --python-git-repo https://github.com/psf/requests.git --python-git-branch v2.5.0 requests

Thanks,
Corey

This allows other source package classes to add use of this
functionality.
This works the same way as support in gems. New options are:
--python-git-repo
--python-git-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant