1 |
commit: 7d0225409429e19fc781f71be2c4a71d0d7795b8 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 18:39:22 2016 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 11 18:42:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d022540 |
7 |
|
8 |
dev-python/oslo-sphinx: bup |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/oslo-sphinx/Manifest | 1 + |
13 |
dev-python/oslo-sphinx/oslo-sphinx-4.7.0.ebuild | 50 +++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/oslo-sphinx/Manifest b/dev-python/oslo-sphinx/Manifest |
17 |
index 73cc718..6aacc4e 100644 |
18 |
--- a/dev-python/oslo-sphinx/Manifest |
19 |
+++ b/dev-python/oslo-sphinx/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST oslosphinx-3.0.0.tar.gz 25644 SHA256 d39129be6b6076e087ab9a108c1b17f67cbb233ffc2481528df3d76b612cc1f6 SHA512 f2b5f35124bac9bf661ba45af1f18703725d5b5432cc708689a548bde6918975722729f321fb4c1fc8a146011c7e86c1c6abfdc746806d4bf7fa7d640e057a0c WHIRLPOOL 8ccc00a71a3d5f67a33a989120ad2591977169b93a5d81fd2c7798a6b93ad33ce45e6ebd2be69c7e0b0e4fa2e79719e393e63f9a250b50e7b5b9d4621bf03e94 |
22 |
+DIST oslosphinx-4.7.0.tar.gz 27786 SHA256 f8d353445d96c667c95a07c052694a31906c6a36a8305918d63f855f9040b7d1 SHA512 e7334c17bea387898c6c9943ca79c5073927885bdefaba9cdbac01b21a4dd96bcaa0c539c3907508bee5db5959f161d0a8421c688c6592b691edbd7f9013da75 WHIRLPOOL 8cee688ae62f2f16a753fb18c1c8699ce819715a612b3c549b7cb0b07e7cd5e7822c52b9d8f3189d335e26fc036e28012cb7155ed71d01ec7a1cb5d860ad2aaa |
23 |
|
24 |
diff --git a/dev-python/oslo-sphinx/oslo-sphinx-4.7.0.ebuild b/dev-python/oslo-sphinx/oslo-sphinx-4.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..cf97276 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/oslo-sphinx/oslo-sphinx-4.7.0.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python{2_7,3_{4,5}} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_PN="${PN//-/}" |
41 |
+ |
42 |
+DESCRIPTION="OpenStack Sphinx Extensions and Theme" |
43 |
+HOMEPAGE="http://www.openstack.org/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
49 |
+IUSE="doc" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/pbr-1.6[${PYTHON_USEDEP}] |
54 |
+ doc? ( |
55 |
+ >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
56 |
+ <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+RDEPEND=" |
60 |
+ >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+ |
64 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ sed -i '/^hacking/d' test-requirements.txt || die |
68 |
+ distutils-r1_python_prepare_all |
69 |
+} |
70 |
+ |
71 |
+python_compile_all() { |
72 |
+ use doc && esetup.py build_sphinx |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
77 |
+ |
78 |
+ distutils-r1_python_install_all |
79 |
+} |