My favorites | Sign in
Project Logo
                
Show all Featured wiki pages:
DevelopmentGuide FAQ
People details
Project owners:
  cakebread, jesus.riveroa

g-pypi

g-pypi creates ebuilds for Gentoo Linux using information in PyPI (Python Package Index).

News

July 31, 2008 - svn commit read-only mailing list created

July 25, 2008 - Jesus Rivero a.k.a. neurogeek has started helping out with development.

Help Wanted

If you're interested in developing g-pypi, let pythonhead at gentoo.org know. Development is open to all Gentoo users and developers.

Features

g-pypi is similar to g-cpan but has a few differences:

Basic Usage

Write ebuild and ebuilds for dependencies to your overlay:

  $ g-pypi package_name

Output ebuild to stdout:

  $  g-pypi -p 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-pypi/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-pypi/g-pypirc

You can over-ride some variables if g-pypi can't figure out the PN, PV, MY_P 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.

Installation

g-pypi is available in pythonhead's public overlay:

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

   $ emerge layman
   $ echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

then:

   $ layman --add pythonhead
   $ emerge g-pypi

Development

If you want to hack on g-pypi, check out the trunk then deploy in setuptools development mode:

$ svn co svn checkout http://g-pypi.googlecode.com/svn/trunk/ g-pypi-read-only
$ sudo python setup.py develop --no-deps

(Developers see instructions on the 'Source' tab to authenticate)

Now /usr/bin/g-pypi uses your subversion checkout directory and you're ready to roll.

License

Copyright Rob Cakebread released under the terms of the GNU Public License Version 2









Hosted by Google Code