diff options
Diffstat (limited to 'dev-python/oslo-sphinx')
-rw-r--r-- | dev-python/oslo-sphinx/Manifest | 2 | ||||
-rw-r--r-- | dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/oslo-sphinx/Manifest b/dev-python/oslo-sphinx/Manifest index 3ae6be72d584..8246c303ea9e 100644 --- a/dev-python/oslo-sphinx/Manifest +++ b/dev-python/oslo-sphinx/Manifest @@ -1,3 +1,5 @@ DIST oslosphinx-4.15.2.tar.gz 33362 BLAKE2B 4eacd7da4eecd25836920063c2c05f205f5c8d29cf6253257e9e56f35e1f9cbd39fb120fd69b075670bb6be334fcc50dbff6f52cb928e556f334720a51eed590 SHA512 cf8fce033f97c0334fc076568720fe3b7903e780d4b839c452f33d02378470263891d01e553e4f2463484895c689532f95f4aa81ac3dcb0d6137b463bcc7e08a +DIST oslosphinx-4.18.0.tar.gz 32046 BLAKE2B b10b13f819cc2f4c3e769c195bc340a74545a4cab2a2e9894e56e4352f5f35c1cdd7f1d40d47c2b7449d30bc77dbadb1feae129f6ff31d54e6227349a0c31e57 SHA512 b736dbf68a3ad8c32ca6d8de72cb79e49ab4b84593c70d0165615de66a8c343ce7094656d3b0be3383453143308a4862f27529b1c9d72920c5418a3f62dbcc46 EBUILD oslo-sphinx-4.15.2.ebuild 1087 BLAKE2B 717950bae6490ec30eb71bc05606c0821e4501e793bf13fdb57c54ccf85772e5be1af46a185d8a702442d99155c1547e68bb00afa5920ffeee0724276e96ccc3 SHA512 1bf99b65045cd1b0ff09bdc40ea00fb968664a6e83589f8aa9e2ea14d4fec1ac8ff664f139e61df43695a85d5c7941d2b917ef4e455c77a307dbb52ae4b40e66 +EBUILD oslo-sphinx-4.18.0.ebuild 1047 BLAKE2B 42c3728581ee70cdd029e1769b2cafad1c23b0c579a2f80a2b7eedf60b149f6823d58135824225f45c9fa85d48644c88cd1ef878ebf9b773cc0b3978cdef4386 SHA512 7240872d8b82daf2957803bb3f3c22eb7e0d353d07ebae93ab753a2fcf4decc26c277cbaac69a931e64cb87c3d1e57d1b240b2f6b3daa38cb4850c6daccba73a MISC metadata.xml 586 BLAKE2B b78b49fc66eaa7ca4a79da676895e28b397359cc8579a3e9b91dca1d933779d3ec7f9153d0789b7f44dd75c8fa8f9d866cd916911a4dfe3bd6d89435a0330960 SHA512 ebd5d188edde4955081fa7cb073daeace8c9580dab828d4fd12f10f27bb562ca7736ec77f816e243a02e808b83dc712ab53f40f70e1865cec014413514ffa000 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..fdb87b6aed39 --- /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 +} |