1 |
commit: 697e5fd9949491847a4a00c5008de3fbcb728f19 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 22:25:12 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=697e5fd9 |
7 |
|
8 |
dev-python/sphinxcontrib-cheeseshop: fix for bug #623852 and add namespace |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../sphinxcontrib-cheeseshop-0.2-r2.ebuild | 33 ++++++++++++++++++++++ |
13 |
1 file changed, 33 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/sphinxcontrib-cheeseshop/sphinxcontrib-cheeseshop-0.2-r2.ebuild b/dev-python/sphinxcontrib-cheeseshop/sphinxcontrib-cheeseshop-0.2-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..0dad495679a |
18 |
--- /dev/null |
19 |
+++ b/dev-python/sphinxcontrib-cheeseshop/sphinxcontrib-cheeseshop-0.2-r2.ebuild |
20 |
@@ -0,0 +1,33 @@ |
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} pypy) |
26 |
+ |
27 |
+inherit distutils-r1 |
28 |
+ |
29 |
+DESCRIPTION="Sphinx extension cheeseshop" |
30 |
+HOMEPAGE="https://bitbucket.org/birkenfeld/sphinx-contrib" |
31 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="BSD" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
36 |
+IUSE="" |
37 |
+ |
38 |
+DEPEND="" |
39 |
+RDEPEND=">=dev-python/sphinx-1.0[${PYTHON_USEDEP}] |
40 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
41 |
+ |
42 |
+python_prepare_all() { |
43 |
+ sed \ |
44 |
+ -e '5s/file/open/' \ |
45 |
+ -i setup.py || die |
46 |
+ |
47 |
+ distutils-r1_python_prepare_all |
48 |
+} |
49 |
+ |
50 |
+python_install_all() { |
51 |
+ distutils-r1_python_install_all |
52 |
+ find "${ED}" -name '*.pth' -delete || die |
53 |
+} |