1 |
commit: 4e3d9058aee41f2c9fda216affb6fa14ac717bcc |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 22:33:20 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 04:06:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3d9058 |
7 |
|
8 |
dev-python/sphinxcontrib-googleanalytics: fix for bug #623852 and add sphinxcontrib namespace dependency |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../files/setup.py.utf-8.patch | 4 ++-- |
13 |
.../sphinxcontrib-googleanalytics-0.1-r2.ebuild | 27 ++++++++++++++++++++++ |
14 |
2 files changed, 29 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch b/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch |
17 |
index b3b9f58d1b2..a45ae42b188 100644 |
18 |
--- a/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch |
19 |
+++ b/dev-python/sphinxcontrib-googleanalytics/files/setup.py.utf-8.patch |
20 |
@@ -1,6 +1,6 @@ |
21 |
https://bugs.gentoo.org/show_bug.cgi?id=429914 |
22 |
---- setup.py |
23 |
-+++ setup.py |
24 |
+--- a/setup.py |
25 |
++++ b/setup.py |
26 |
@@ -1,10 +1,11 @@ |
27 |
# -*- coding: utf-8 -*- |
28 |
|
29 |
|
30 |
diff --git a/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1-r2.ebuild b/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1-r2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..ab505c55c22 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/sphinxcontrib-googleanalytics/sphinxcontrib-googleanalytics-0.1-r2.ebuild |
35 |
@@ -0,0 +1,27 @@ |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
41 |
+ |
42 |
+inherit distutils-r1 |
43 |
+ |
44 |
+DESCRIPTION="Sphinx extension googleanalytics" |
45 |
+HOMEPAGE="https://bitbucket.org/birkenfeld/sphinx-contrib" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="BSD-2" |
49 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+SLOT="0" |
51 |
+IUSE="" |
52 |
+ |
53 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
54 |
+RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}] |
55 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
56 |
+ |
57 |
+PATCHES=( "${FILESDIR}/setup.py.utf-8.patch" ) |
58 |
+ |
59 |
+python_install_all() { |
60 |
+ distutils-r1_python_install_all |
61 |
+ find "${ED}" -name '*.pth' -delete || die |
62 |
+} |