diff options
Diffstat (limited to 'dev-python/crumbs')
-rw-r--r-- | dev-python/crumbs/Manifest | 3 | ||||
-rw-r--r-- | dev-python/crumbs/crumbs-2.1.0.ebuild | 45 | ||||
-rw-r--r-- | dev-python/crumbs/metadata.xml | 12 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/crumbs/Manifest b/dev-python/crumbs/Manifest new file mode 100644 index 000000000000..a0f45902f94b --- /dev/null +++ b/dev-python/crumbs/Manifest @@ -0,0 +1,3 @@ +DIST crumbs-2.1.0.tar.gz 19968 BLAKE2B 2d02e3d7235e64624558edb4de7cca133f8e013c636d9b0a087171cecc7cc0a5540e20725f65969aae3e2bfe8864fd52b1b01e501ad6ac456641befd7d3cd165 SHA512 f68a7d0eb4375db6172ce714cf9350d236320e9a37b732f96cb6fa35f11b14ff19dcb233ae5062cadede625470e777ade12ddebe669d1ab7fccf9425a31a6087 +EBUILD crumbs-2.1.0.ebuild 951 BLAKE2B 4cc0d60391c9d0bf7ceaf24768a9454221f6c4cbe5af6f65c609539adbea5e85234d6321d74fdb8339a4b99f750f21060114d9da067de067b32883048b82945d SHA512 6390c9f2ee7e21eee4e7bbef1537db7012b6222e81d111902ef37d5cc554b78e50f0f4ca7e2003ca010d82b6c3b27cc0beecafa0dd4f7e9063e4b112469ffa5c +MISC metadata.xml 364 BLAKE2B ba9392dfee87f57c4fb3d120e37ea590700ca42886261f49b004966a91b0ead99f46ce6ca743141d2c48b0589b5ca4822f2019c6330bc00a2e34f133b7c1f6f5 SHA512 b28a482fb9a8a92d05259dde1ac284ca32b60b4c6af0bc433f9da63dcb41df03b242d838f2ae5f7abeb3921989e07efd58ca9731f8eb51f8b812e6b3cf5b0f71 diff --git a/dev-python/crumbs/crumbs-2.1.0.ebuild b/dev-python/crumbs/crumbs-2.1.0.ebuild new file mode 100644 index 000000000000..5a4c27d1f898 --- /dev/null +++ b/dev-python/crumbs/crumbs-2.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Generalized all-in-one parameters module" +HOMEPAGE="https://github.com/alunduil/crumbs" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="doc test" + +CDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + ) + test? ( + ${CDEPEND} + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + nosetests || die "Tests failed on ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/crumbs/metadata.xml b/dev-python/crumbs/metadata.xml new file mode 100644 index 000000000000..b6f48c736c0d --- /dev/null +++ b/dev-python/crumbs/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">crumbs</remote-id> + <remote-id type="github">alunduil/crumbs</remote-id> + </upstream> +</pkgmetadata> |