Skip to main content

Tool for creating Gentoo ebuilds for Python packages by querying PyPI (The Cheese Shop)

Project description

g-pypi

http://tools.assembla.com/g-pypi

g-pypi creates Python package ebuilds for Gentoo Linux by querying The Cheese Shop.

Although it’s in the early stages of development, testing has generated over 1,200 ebuilds automatically.

Note: g-pypi will only be as good at creating ebuilds as The Python Package Index information is. People can leave out a lot of information when submitting info to PyPI, making ebuild creation impossible.

Basic Usage

Output ebuild to stdout:

g-pypi -p package_name

Write ebuild to your overlay:

g-pypi package_name

Create live svn ebuild (if subversion URI is listed in PyPI):

g-pypi -s package_name

By default your first overlay listed in /etc/make.conf PORTDIR_OVERLAY is used. If you want to use a different one, edit ~/.g-pypirc

By default your first KEYWORD listed in /etc/make.conf KEYWORDS is used. If you want to use a different one, edit ~/.g-pypirc

You can over-ride some variables if g-pypi can’t figure out the PN, PV etc.

-n or --PN=package-name

-v or --PV=version

--MY_P=my_p

--MY_PN=my_pn

--MY_PV=my_pv

If you don’t specify a portage category with ‘-c’ the ebuild will be placed in dev-python

Use ‘-V’ for verbose output for debugging.

INSTALL

g-pypi is available in my overlay directory:

If you haven’t emerged and configured app-portage/layman:

emerge layman
echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf
layman --add pythonhead
emerge g-pypi

Subversion

subversion repository

Hint: You can use to create a live svn ebuild for g-pypi ;)

g-pypi -s g-pypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g-pypi-0.2.0.tar.gz (23.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page