Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lclarkmichalek/pip2arch
Convert pypi packages to arch linux PKGBUILDs
https://github.com/lclarkmichalek/pip2arch
Last synced: 3 months ago
JSON representation
Convert pypi packages to arch linux PKGBUILDs
- Host: GitHub
- URL: https://github.com/lclarkmichalek/pip2arch
- Owner: lclarkmichalek
- Created: 2010-11-14T13:25:57.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2021-03-22T13:30:57.000Z (over 3 years ago)
- Last Synced: 2024-05-23T04:48:05.237Z (6 months ago)
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 81
- Watchers: 8
- Forks: 15
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pip2Arch
=======Pip2Arch converts entries in the pypi database to Arch Linux PKGBUILDS, allowing the user to harness both the power of pacman, the arch linux package manager, and the sheer amount of python modules in pypi.
Usage
-----`pip2arch.py django-sentry` will create a PKGBUILD for the django-sentry python package. Run `pip2arch --help` for more information on the various arguments possible.
A quick runthrough:
* `-d` -- manually add a dependency
* `-m` -- manually add a maketime dependency
* `-o` -- specify the output file
* `-n` -- specify the name of the outputted package
* `-v` -- the version of the PyPi package to use
* `-p` -- the python version to build and install the package with {python,python2} (default: python)
* `-s` -- search for package instead of building a PKGBUILD
* `-i` -- make commands interactive
* `-b` -- add custom arguments to the setup.py call in the PKGBUILD
* `--logging-level` -- specify the logging level for pip2arch to run at {warning, info, debug} (default: warning)Problems
--------Dependencies are only as good as PyPi's are, which is not very brilliant. Dependencies do not allways link in nicely with other PyPi generated packages (though that may be fixed in future versions).
Get Involved
============Cheesy section, but still. I prefer patches via the github merge request system, and failing that, using `git-email` (which is a pain to setup, but an excelent tool).
Fork the repo, pull the code, hack about, and send it too me.
PyPi xmlrpc Doc
---------------`xmlrpc` documentation can be found here: [PyPiXmlRpc Doc](http://wiki.python.org/moin/PyPiXmlRpc)