1 |
commit: a02ed03ee6a1edeacbb01f5197a3429d224d02ce |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 8 14:08:42 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 8 14:41:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02ed03e |
7 |
|
8 |
dev-python/errorhandler: bump to 2.0.1 |
9 |
|
10 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-python/errorhandler/Manifest | 1 + |
14 |
dev-python/errorhandler/errorhandler-2.0.1.ebuild | 42 ++++++++++++++++++++++ |
15 |
.../files/errorhandler-2.0.1-no-intersphinx.patch | 12 +++++++ |
16 |
3 files changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/errorhandler/Manifest b/dev-python/errorhandler/Manifest |
19 |
index 54112c0ccfa..11918a6331f 100644 |
20 |
--- a/dev-python/errorhandler/Manifest |
21 |
+++ b/dev-python/errorhandler/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST errorhandler-1.1.1.tar.gz 8321 BLAKE2B f2b0cc9dcf9bf86c1b89356f66fca2d64d49acb919ae6bfc18b1dcb013cb67a358f2f81d47cd1c3bca601c85fc3bb5f870e1cc2452d25b187309a844efed15b3 SHA512 a2f875537103086be956becfdac25a43a646a89b404b6a7a2a243c6d2ddbc29d55948b781529d0a0fa82b163187747f3396b62ed0be98d39834de038cc4a1fd2 |
24 |
+DIST errorhandler-2.0.1.tar.gz 8534 BLAKE2B 2a1db016acef81b5e625800614b2b5084cb6e8175d623e42726a728018871d200709ec66db16847ae0cf604551925a18fd2207c861388844f324a6eaae4bbe90 SHA512 b2fe44f400551e2af8aa589aefce042ee761893678b211a0e3ec7eb4527803001ac930d0941425f6e1487d36493d0c8f439e0bf672536ec27f041309fd69420e |
25 |
|
26 |
diff --git a/dev-python/errorhandler/errorhandler-2.0.1.ebuild b/dev-python/errorhandler/errorhandler-2.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..042a4d7cb20 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/errorhandler/errorhandler-2.0.1.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Logging framework handler" |
42 |
+HOMEPAGE="https://pypi.org/project/errorhandler/" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="doc test" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+RDEPEND="" |
52 |
+DEPEND=" |
53 |
+ dev-python/pkginfo[${PYTHON_USEDEP}] |
54 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
56 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}"/${PN}-2.0.1-no-intersphinx.patch |
60 |
+) |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ use doc && emake -C docs html |
64 |
+} |
65 |
+ |
66 |
+python_test() { |
67 |
+ nosetests -v || die "Tests fail with ${EPYTHON}" |
68 |
+} |
69 |
+ |
70 |
+python_install_all() { |
71 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
72 |
+ distutils-r1_python_install_all |
73 |
+} |
74 |
|
75 |
diff --git a/dev-python/errorhandler/files/errorhandler-2.0.1-no-intersphinx.patch b/dev-python/errorhandler/files/errorhandler-2.0.1-no-intersphinx.patch |
76 |
new file mode 100644 |
77 |
index 00000000000..d37e190fb6e |
78 |
--- /dev/null |
79 |
+++ b/dev-python/errorhandler/files/errorhandler-2.0.1-no-intersphinx.patch |
80 |
@@ -0,0 +1,12 @@ |
81 |
+diff --git a/docs/conf.py b/docs/conf.py |
82 |
+index 2c71c44..0e6f0ae 100644 |
83 |
+--- a/docs/conf.py |
84 |
++++ b/docs/conf.py |
85 |
+@@ -5,7 +5,6 @@ pkg_info = pkginfo.Develop(os.path.join(os.path.dirname(__file__),'..')) |
86 |
+ |
87 |
+ extensions = [ |
88 |
+ 'sphinx.ext.autodoc', |
89 |
+- 'sphinx.ext.intersphinx' |
90 |
+ ] |
91 |
+ |
92 |
+ intersphinx_mapping = {'http://docs.python.org/dev': None} |