Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Code Generators

    g-pypi 0.3

    Download button

    No screenshots available
    Downloads: 382  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Rob Cakebread | More programs
    GPL / FREE
    June 29th, 2012, 15:37 GMT
    ROOT / Programming / Code Generators

     Read user reviews (0)  Refer to a friend  Subscribe

    g-pypi description

    Creates Gentoo Linux ebuilds using the Python Package Index.

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

    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



    Product's homepage

    Here are some key features of "g-pypi":

    · Write ebuilds to your overlay or to stdout
    · Determines DEPEND/RDEPEND if they are declared with setuptools install_requires and creates ebuilds for dependencies
    · Automagically calculates MY_P, MY_PN, MY_PV in many cases.
    · Adds PYTHON_MODNAME variable if the module != PN
    · Determines ${S} for you by unpacking ebuild
    · Can determine SRC_URI without downloading the package
    · Scans setup.py for tests and adds src_test() including checks for nose tests and adds dependency on nose and USE flag
    · Scans setup.py for setuptools and warns if it finds 'extras_requires' and other info
    · Convert Source Forge URL to mirror://sourceforge format
    · Maps over 20 known licenses in Python classifiers to proper portage-known licenses ($PORTDIR/licenses)
    · Can output ebuild to stdout in ansi color, bbcode, or html
    · Uses Cheetah for the ebuild template for easy customability

      


    TAGS:

    ebuild generator | Gentoo ebuild | Python Package Index | Gentoo | ebuild | PyPI

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM