1 |
commit: baa70e7004bed1d1c475fe10a0c34d9a7cef27b4 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 22:19:17 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 04:06:23 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baa70e70 |
7 |
|
8 |
dev-python/sphinxcontrib-blockdiag: add namespace dependency and fix bug #623852 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../sphinxcontrib-blockdiag-1.5.5-r1.ebuild | 39 ++++++++++++++++++++++ |
13 |
1 file changed, 39 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-1.5.5-r1.ebuild b/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-1.5.5-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..775f0da1e16 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-1.5.5-r1.ebuild |
20 |
@@ -0,0 +1,39 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
26 |
+ |
27 |
+inherit distutils-r1 |
28 |
+ |
29 |
+DESCRIPTION="A sphinx extension for embedding block diagrams using blockdiag" |
30 |
+ |
31 |
+HOMEPAGE="https://github.com/blockdiag/sphinxcontrib-blockdiag" |
32 |
+ |
33 |
+SRC_URI="https://github.com/blockdiag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+ |
37 |
+SLOT="0" |
38 |
+ |
39 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
40 |
+ |
41 |
+IUSE="" |
42 |
+ |
43 |
+DEPEND=" |
44 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/blockdiag-1.5.0[${PYTHON_USEDEP}] |
46 |
+" |
47 |
+ |
48 |
+RDEPEND="${DEPEND} |
49 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ sed -i -e /build-base/d setup.cfg || die |
53 |
+ distutils-r1_python_prepare_all |
54 |
+} |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ distutils-r1_python_install_all |
58 |
+ find "${ED}" -name '*.pth' -delete || die |
59 |
+} |