/pipman

Convert pip's packages to Arch Linux's PKGBUILDs

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Description

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.

Installation

You can install:

Install the colorama module if you want to colorize the output

Usage

The following generates PKGBUILDs for MechanicalSoup and pyrasite packages from pip:

pipman MechanicalSoup pyrasite

Then you should see the directories python-MechanicalSoup and 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 -Ss:

pipman -Ss sympy

You can install the generated PKGBUILD automatically with the argument -S:

pipman -S sympy

Pipman keeps track of the packages installed using the -S option. You can update these packages with the following command:

pipman -Su

Check pipman --help for more features.

Credits

  • Thanks to n3f4s for the auto-install feature.