Pipman generates PKGBUILD from pip packages. You can use the generated PKGBUILD as a base to submit a new python package to AUR or just install it on you machine.
You can install:
- using the aur package: https://aur4.archlinux.org/packages/pipman-git/
- cloning this repo and running the
colorama module if you want to colorize the output
The following generates PKGBUILDs for
pyrasite packages from pip:
pipman MechanicalSoup pyrasite
Then you should see the directories
python-pyrasite in the current directory, each containing its PKGBUILD.
You can also specify where you want the PKGBUILDs to be generated:
pipman MechanicalSoup pyrasite --target-dir=/tmp/
You can search for pip packages with the argument
pipman -Ss sympy
You can install the generated PKGBUILD automatically with the argument
pipman -S sympy
Pipman keeps track of the packages installed using the
-S option. You can update these packages with the following command:
pipman --help for more features.
- Thanks to n3f4s for the auto-install feature.