1 |
commit: c16937f0ef8eac92e8fd7c977a41e7be83b3c7ce |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 30 07:05:35 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 30 09:45:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16937f0 |
7 |
|
8 |
dev-python/sphinxcontrib-websupport: Bump to 1.2.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphinxcontrib-websupport/Manifest | 1 + |
13 |
.../sphinxcontrib-websupport-1.2.2.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphinxcontrib-websupport/Manifest b/dev-python/sphinxcontrib-websupport/Manifest |
17 |
index 6f0d5da0e7b..3415d12695d 100644 |
18 |
--- a/dev-python/sphinxcontrib-websupport/Manifest |
19 |
+++ b/dev-python/sphinxcontrib-websupport/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST sphinxcontrib-websupport-1.1.0.tar.gz 587947 BLAKE2B fafaa56071245c8934e27c6d2d7752745b2a8047c8a30d52e513fff7f952086a1b9082aa15e15ef232d69ef0c0d5d117f8a8c97fcdf9cd90c89d53238d7f322e SHA512 adbd7db06150a4424a881a22442c2535ed823c7adcc295ef9c3af5ae38d823349830a114e8a7af2138498d0e68b37189707c1bb5a28b45c76031bcf94210fb89 |
22 |
DIST sphinxcontrib-websupport-1.2.1.gh.tar.gz 599593 BLAKE2B b996db8c799399c8830cc984a7aedd5c4c259085d5eafbb020875e86a79366c154e7f2d8c02f82139e83135cb728e6b8c906d88c2d93dfc0346a9d82e81ba67f SHA512 b22cb7e2ef87da1a4be5da90011fd6aacbff440b9d2051fd9fbb4c9354be07e600af9e59d5843c5e9053bbb2f09a152d6ff6d695b6fa093b741379b3520055d4 |
23 |
+DIST sphinxcontrib-websupport-1.2.2.gh.tar.gz 599606 BLAKE2B d7e5754491d0f4e4b508bb5ed58f41d6f57c8785ce2d658cd4beb658b9a01a453bd791e73deab703ebf17d18ddf0a3adc7c72a49e80c33475daca41666da694d SHA512 39d7d688515440fcf7a0df9cff60402499956da4c4d5de4e7b38982ff23ed837e7851a3c747135b9298d0df59f3055a8f588be78f10d98110ab50b8ab434db34 |
24 |
|
25 |
diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.2.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a98a22eff6f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.2.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Sphinx websupport extension" |
42 |
+HOMEPAGE="https://www.sphinx-doc.org |
43 |
+ https://github.com/sphinx-doc/sphinxcontrib-websupport" |
44 |
+# pypi tarball is missing templates |
45 |
+SRC_URI="https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/six-1.5[${PYTHON_USEDEP}] |
53 |
+ dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]" |
54 |
+# avoid circular dependency with sphinx |
55 |
+PDEPEND=" |
56 |
+ >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}]" |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ ${PDEPEND} |
60 |
+ >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] |
62 |
+ )" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ # breaks tests |
68 |
+ sed -i -e '/pkg_resources/d' \ |
69 |
+ sphinxcontrib/websupport/__init__.py || die |
70 |
+ distutils-r1_src_prepare |
71 |
+} |
72 |
+ |
73 |
+python_install_all() { |
74 |
+ distutils-r1_python_install_all |
75 |
+ find "${ED}" -name '*.pth' -delete || die |
76 |
+} |