diff options
Diffstat (limited to 'dev-python/readme_renderer')
-rw-r--r-- | dev-python/readme_renderer/Manifest | 3 | ||||
-rw-r--r-- | dev-python/readme_renderer/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/readme_renderer/readme_renderer-17.2.ebuild | 33 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/readme_renderer/Manifest b/dev-python/readme_renderer/Manifest new file mode 100644 index 000000000000..585499688063 --- /dev/null +++ b/dev-python/readme_renderer/Manifest @@ -0,0 +1,3 @@ +DIST readme_renderer-17.2.tar.gz 14643 BLAKE2B a41c2b1b426f95f026092e6776587e68b09fbe314f148a02ba21edc17f4610f563718cb8469e3fc4baaa9c1c95ca501da205bec6abbf7f70171a1ee7e8710159 SHA512 2c25eb24b04b88fa8522ff0068e3a3a7b57b035641d0053ff93c295dde50cc6f21af9eeca1061eef794f52b0aff184f97c95b3c232f02b308e09682e50a6d40e +EBUILD readme_renderer-17.2.ebuild 858 BLAKE2B 1121346978246f92d3726e5b7145e8a6a7e1cd656dae468cbbe0651b2e2070673de71f860e5ea88b1949a0d9696d9a2a3576108ed6632a8213a2040c048f2f97 SHA512 1e6d5ebdff9219a410c67f84caaba941933c1938a3ad88a2fdf352eb3c9a9c7d3116d74224f05a4cb7d80f5371c8b5d270d9cf5c79efec0b3cfc9c59b66048e7 +MISC metadata.xml 390 BLAKE2B 2a81aedd6207fe28eafb76c0eca7ead7543282f84979e07f3b417a4fb9ed6be27a33e6e41f60c37b649cea7c8bd6977703e596760d44a734a0ba3fa023339bd2 SHA512 8594fa46429779b659f2a382d3a6607bc36476387c17c493cc7b9217c5e8600694f597ba5657e46ab7b1d3a75aabf3c113a538372b9a4db58a4b986c41bd6b7f diff --git a/dev-python/readme_renderer/metadata.xml b/dev-python/readme_renderer/metadata.xml new file mode 100644 index 000000000000..654b29049752 --- /dev/null +++ b/dev-python/readme_renderer/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">readme_renderer</remote-id> + <remote-id type="github">pypa/readme_renderer</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/readme_renderer/readme_renderer-17.2.ebuild b/dev-python/readme_renderer/readme_renderer-17.2.ebuild new file mode 100644 index 000000000000..41cebe2f3acb --- /dev/null +++ b/dev-python/readme_renderer/readme_renderer-17.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="a library for rendering \"readme\" descriptions for Warehouse" +HOMEPAGE="https://github.com/pypa/readme_renderer https://pypi.org/project/readme_renderer/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/bleach-2.0[${PYTHON_USEDEP}] + >=dev-python/docutils-0.13.1[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +DOCS=( README.rst ) + +python_test() { + py.test || die "Tests failed under ${EPYTHON}" +} |