diff options
Diffstat (limited to 'dev-python/extras')
-rw-r--r-- | dev-python/extras/Manifest | 1 | ||||
-rw-r--r-- | dev-python/extras/extras-0.0.3.ebuild | 26 | ||||
-rw-r--r-- | dev-python/extras/metadata.xml | 9 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/extras/Manifest b/dev-python/extras/Manifest new file mode 100644 index 000000000000..5f95b344395e --- /dev/null +++ b/dev-python/extras/Manifest @@ -0,0 +1 @@ +DIST extras-0.0.3.tar.gz 6231 SHA256 7a60d84cb661b477c41a5ea35e931ae93860af8cd259ecc0a38a32ef1ae9ffc0 SHA512 7b08d094717a27fbb522d49c0c538e98baccef6540216479d176b55b94f3f0b97c4b70ed48f3802a1bf08a58fe9a319a113d4ca04d9dadcb85e3a99bf7490a3c WHIRLPOOL a80db53c4b536d1a98c03237cc56607ca477619d1789a4a4c4795c843212eb1bdc64f0fe2a0ae1d4a4bab351ec68e07acb9ae494e537630ba841826116121d2c diff --git a/dev-python/extras/extras-0.0.3.ebuild b/dev-python/extras/extras-0.0.3.ebuild new file mode 100644 index 000000000000..d066a64c0dd5 --- /dev/null +++ b/dev-python/extras/extras-0.0.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Useful extra bits for Python that should be in the standard library" +HOMEPAGE="https://github.com/testing-cabal/extras/ http://pypi.python.org/pypi/extras/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/testtools[${PYTHON_USEDEP}] )" +RDEPEND="" + +python_test() { + "${PYTHON}" ${PN}/tests/test_extras.py || die + einfo "test_extras passed under ${EPYTHON}" +} diff --git a/dev-python/extras/metadata.xml b/dev-python/extras/metadata.xml new file mode 100644 index 000000000000..2a25cb3f7f8f --- /dev/null +++ b/dev-python/extras/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="pypi">extras</remote-id> + <remote-id type="github">testing-cabal/extras</remote-id> + </upstream> +</pkgmetadata> |