Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-sphinx/
Date: Fri, 16 Feb 2018 06:08:21
Message-Id: 1518755239.0a93e96b2ddc1695c5dc6a9b2c213aac11448bdb.prometheanfire@gentoo
1 commit: 0a93e96b2ddc1695c5dc6a9b2c213aac11448bdb
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 16 04:27:19 2018 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 04:27:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a93e96b
7
8 dev-python/oslo-sphinx: 4.18.0 bup
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/oslo-sphinx/Manifest | 1 +
13 dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild | 48 ++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/oslo-sphinx/Manifest b/dev-python/oslo-sphinx/Manifest
17 index 5242bfbd7c1..f0ef11b12ac 100644
18 --- a/dev-python/oslo-sphinx/Manifest
19 +++ b/dev-python/oslo-sphinx/Manifest
20 @@ -1 +1,2 @@
21 DIST oslosphinx-4.15.2.tar.gz 33362 BLAKE2B 4eacd7da4eecd25836920063c2c05f205f5c8d29cf6253257e9e56f35e1f9cbd39fb120fd69b075670bb6be334fcc50dbff6f52cb928e556f334720a51eed590 SHA512 cf8fce033f97c0334fc076568720fe3b7903e780d4b839c452f33d02378470263891d01e553e4f2463484895c689532f95f4aa81ac3dcb0d6137b463bcc7e08a
22 +DIST oslosphinx-4.18.0.tar.gz 32046 BLAKE2B b10b13f819cc2f4c3e769c195bc340a74545a4cab2a2e9894e56e4352f5f35c1cdd7f1d40d47c2b7449d30bc77dbadb1feae129f6ff31d54e6227349a0c31e57 SHA512 b736dbf68a3ad8c32ca6d8de72cb79e49ab4b84593c70d0165615de66a8c343ce7094656d3b0be3383453143308a4862f27529b1c9d72920c5418a3f62dbcc46
23
24 diff --git a/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild b/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild
25 new file mode 100644
26 index 00000000000..fdb87b6aed3
27 --- /dev/null
28 +++ b/dev-python/oslo-sphinx/oslo-sphinx-4.18.0.ebuild
29 @@ -0,0 +1,48 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
36 +
37 +inherit distutils-r1
38 +
39 +MY_PN="${PN//-/}"
40 +
41 +DESCRIPTION="OpenStack Sphinx Extensions and Theme"
42 +HOMEPAGE="http://www.openstack.org/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
48 +IUSE="doc"
49 +
50 +DEPEND="
51 + dev-python/setuptools[${PYTHON_USEDEP}]
52 + >=dev-python/pbr-1.6[${PYTHON_USEDEP}]
53 + doc? (
54 + >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
55 + )
56 +"
57 +RDEPEND="
58 + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
59 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
60 +"
61 +
62 +S="${WORKDIR}/${MY_PN}-${PV}"
63 +
64 +python_prepare_all() {
65 + sed -i '/^hacking/d' test-requirements.txt || die
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_compile_all() {
70 + use doc && esetup.py build_sphinx
71 +}
72 +
73 +python_install_all() {
74 + use doc && local HTML_DOCS=( doc/build/html/. )
75 +
76 + distutils-r1_python_install_all
77 +}