diff options
-rw-r--r-- | dev-python/g-pypi/Manifest | 3 | ||||
-rw-r--r-- | dev-python/g-pypi/g-pypi-0.4.ebuild | 62 | ||||
-rw-r--r-- | dev-python/g-pypi/metadata.xml | 5 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/g-pypi/Manifest b/dev-python/g-pypi/Manifest new file mode 100644 index 0000000..ba2fd47 --- /dev/null +++ b/dev-python/g-pypi/Manifest @@ -0,0 +1,3 @@ +DIST 0.4.tar.gz 55035 SHA256 d18df5488561dea0751e3ffb067e34d312ced05f9576259b3f90a946a5eb43e9 SHA512 1fed812a2fdafab567e0b93afcd2761afebd47f9c53379b93f7b843204490203fb429da6c07a4d9d72e479a4e633cc0b861d4ee58873f3430d82f5be6090753c WHIRLPOOL 00fab9eb94f087f5f532a6e4d6ba9b2249d81cf2cc846b1f09dfd813990a1379a41eb0eb4dbe0c9943c927fd12f7a53677269d503f0f6fb485aa257254ed88ac +EBUILD g-pypi-0.4.ebuild 1320 SHA256 a07d1845e4aa3b18d8e4b1bac3ae4dce00e94c8d1c04ca99c84c8d6d7f3e3048 SHA512 ba2daca0cd274198ef969755f89fbd3c57f09bcdd251d984a76a5aefc46cfb04f8fbb4594543daef9424939d701f10d5c1c73f12cee4c456a87f6b769231acc7 WHIRLPOOL d68723aedd57790ad2098a4761e3f2d56b2b17e720f114475ca7e09994efb68c2bb9e6b84de8f5165ba98d869f2ba9127fd22df133a9ed297e9a1974857999a5 +MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13 diff --git a/dev-python/g-pypi/g-pypi-0.4.ebuild b/dev-python/g-pypi/g-pypi-0.4.ebuild new file mode 100644 index 0000000..64360b9 --- /dev/null +++ b/dev-python/g-pypi/g-pypi-0.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/g-pypi/g-pypi-0.3.ebuild,v 1.9 2015/03/08 23:48:52 pacho Exp $ + +EAPI="4" +PYTHON_DEPEND="2:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.5 3.*" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +DESCRIPTION="Manages ebuilds using information from Python Package Index" +HOMEPAGE="https://github.com/iElectric/g-pypi" +SRC_URI="https://github.com/iElectric/${PN}/archive/${PV}.tar.gz" + +LICENSE="BSD-2" +KEYWORDS="amd64 x86" +SLOT="0" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools + doc? ( + dev-python/sphinx + ) + test? ( + dev-python/mock + dev-python/mocker + dev-python/scripttest + ) +" +# dev-python/unittest2 may not be necessary, bug #450648 +RDEPEND=" + app-portage/gentoolkit + app-portage/gentoolkit-dev + app-portage/metagen + >=dev-python/jaxml-3.02 + dev-python/setuptools + dev-python/jinja + dev-python/pygments + dev-python/sphinxcontrib-googleanalytics + dev-python/unittest2 + dev-python/yolk +" + +PYTHON_MODNAME="gpypi" + +src_prepare() { + distutils_src_prepare + sed -e "s:'argparse',::" -i setup.py || die +} + +src_compile() { + distutils_src_compile + use doc && emake -C docs html +} + +src_install() { + distutils_src_install + use doc && dohtml -r docs/build/html/* +} diff --git a/dev-python/g-pypi/metadata.xml b/dev-python/g-pypi/metadata.xml new file mode 100644 index 0000000..301d220 --- /dev/null +++ b/dev-python/g-pypi/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |