1 |
commit: 00c899ea8d97dd456ce827fbe3f7981042b107a4 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 23 17:21:17 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 23 17:21:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00c899ea |
7 |
|
8 |
dev-python/sphobjinv: enable py3.10, fix tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812365 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild | 47 ++++++++++++++++++++++++++++ |
14 |
1 file changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild b/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..8ba9d8175c4 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/sphobjinv/sphobjinv-2.1-r1.ebuild |
21 |
@@ -0,0 +1,47 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" |
31 |
+HOMEPAGE=" |
32 |
+ https://github.com/bskinn/sphobjinv/ |
33 |
+ https://pypi.org/project/sphobjinv/ |
34 |
+" |
35 |
+SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+SLOT="0" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}] |
43 |
+ dev-python/certifi[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/fuzzywuzzy-0.8[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]" |
46 |
+BDEPEND=" |
47 |
+ test? ( |
48 |
+ dev-python/dictdiffer[${PYTHON_USEDEP}] |
49 |
+ dev-python/pytest-check[${PYTHON_USEDEP}] |
50 |
+ dev-python/pytest-ordering[${PYTHON_USEDEP}] |
51 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] |
53 |
+ dev-python/timeout-decorator[${PYTHON_USEDEP}] |
54 |
+ ) |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests --install pytest |
58 |
+distutils_enable_sphinx doc/source \ |
59 |
+ dev-python/sphinx_rtd_theme \ |
60 |
+ dev-python/sphinx-issues \ |
61 |
+ dev-python/sphinxcontrib-programoutput |
62 |
+ |
63 |
+python_prepare_all() { |
64 |
+ # --strict option is deprecated in pytest>6 |
65 |
+ sed -i -e '/addopts/d' tox.ini || die |
66 |
+ |
67 |
+ distutils-r1_python_prepare_all |
68 |
+} |