diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/oslo-sphinx | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/oslo-sphinx')
-rw-r--r-- | dev-python/oslo-sphinx/Manifest | 3 | ||||
-rw-r--r-- | dev-python/oslo-sphinx/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild | 48 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/oslo-sphinx/Manifest b/dev-python/oslo-sphinx/Manifest new file mode 100644 index 000000000000..1c25010cbe23 --- /dev/null +++ b/dev-python/oslo-sphinx/Manifest @@ -0,0 +1,3 @@ +DIST oslosphinx-4.18.0.tar.gz 32046 BLAKE2B b10b13f819cc2f4c3e769c195bc340a74545a4cab2a2e9894e56e4352f5f35c1cdd7f1d40d47c2b7449d30bc77dbadb1feae129f6ff31d54e6227349a0c31e57 SHA512 b736dbf68a3ad8c32ca6d8de72cb79e49ab4b84593c70d0165615de66a8c343ce7094656d3b0be3383453143308a4862f27529b1c9d72920c5418a3f62dbcc46 +EBUILD oslo-sphinx-4.18.0.ebuild 1045 BLAKE2B 10c3db8b5633107b2b2ee29d82c8acbf5a2a9f941ba52e155544ae3f5d8465624594fb7916c747c7db9ef32e5b2212a80b455569f4cc8b84441ef7ed533c66b0 SHA512 eef9161ad2a0b424dba2d374135ae7c57aaf81bdee5c08809a068c5fb63c9a697daf492778b94e5891149352e41e09947739716b4615e0778ed0de132aceb854 +MISC metadata.xml 586 BLAKE2B b78b49fc66eaa7ca4a79da676895e28b397359cc8579a3e9b91dca1d933779d3ec7f9153d0789b7f44dd75c8fa8f9d866cd916911a4dfe3bd6d89435a0330960 SHA512 ebd5d188edde4955081fa7cb073daeace8c9580dab828d4fd12f10f27bb562ca7736ec77f816e243a02e808b83dc712ab53f40f70e1865cec014413514ffa000 diff --git a/dev-python/oslo-sphinx/metadata.xml b/dev-python/oslo-sphinx/metadata.xml new file mode 100644 index 000000000000..5f205567f249 --- /dev/null +++ b/dev-python/oslo-sphinx/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <longdescription lang="en"> + Theme and extension support for Sphinx documentation from the OpenStack project. + </longdescription> + <upstream> + <remote-id type="pypi">oslosphinx</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild b/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild new file mode 100644 index 000000000000..a6ad6e8e0e3f --- /dev/null +++ b/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +MY_PN="${PN//-/}" + +DESCRIPTION="OpenStack Sphinx Extensions and Theme" +HOMEPAGE="http://www.openstack.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-1.6[${PYTHON_USEDEP}] + doc? ( + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + + distutils-r1_python_install_all +} |