1 |
commit: 0ace91d037ec40709932f45aaf7572ebda883b2b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 21:31:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 00:23:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ace91d0 |
7 |
|
8 |
dev-python/sphobjinv: Bump to 2.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/sphobjinv/Manifest | 1 + |
13 |
dev-python/sphobjinv/sphobjinv-2.2.ebuild | 50 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest |
17 |
index 6fa2f2762a66..0681c1bf6e6e 100644 |
18 |
--- a/dev-python/sphobjinv/Manifest |
19 |
+++ b/dev-python/sphobjinv/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sphobjinv-2.1.tar.gz 1144017 BLAKE2B 71878e1bac5202ab74298b56cd6172236ea524050323e0d6b8bbc0c89f1937d75f10d40b4071cfbe8c9031641e9a0ecb283da908c40840a61c12a7c892438241 SHA512 cde77d73b09b72358b0ac5b0d8f1a748e78dce6664d1b849ba68f5ff70dc43cbcff4581374d0151be29c4d97efe2920c5c00ff68918371243be158031e9554fa |
22 |
+DIST sphobjinv-2.2.tar.gz 1150648 BLAKE2B db29624c9e7c5ec014793bb76693dfbe87d8742a688b91c196bec12ac03852ae7999717588e075f58f5d2c3109b10d532bd117d482b540d30af27760869a5904 SHA512 257327ad168d5804639d3a064db683e0b9eb4f1dcb864a12a8ba440f3fde31c832bd72298f6381d2590bfac85ffe811563b8de124a135de2b6c1511217925103 |
23 |
|
24 |
diff --git a/dev-python/sphobjinv/sphobjinv-2.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d3097e5c313a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sphobjinv/sphobjinv-2.2.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/bskinn/sphobjinv/ |
43 |
+ https://pypi.org/project/sphobjinv/ |
44 |
+" |
45 |
+SRC_URI="https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}] |
53 |
+ dev-python/certifi[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/dictdiffer[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest-check[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest-ordering[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}] |
62 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
63 |
+ dev-python/timeout-decorator[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_tests pytest |
68 |
+distutils_enable_sphinx doc/source \ |
69 |
+ dev-python/sphinx_rtd_theme \ |
70 |
+ dev-python/sphinx-issues \ |
71 |
+ dev-python/sphinxcontrib-programoutput |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ # --strict option is deprecated in pytest>6 |
75 |
+ sed -i -e '/addopts/d' tox.ini || die |
76 |
+ sed -e '/CLI_TEST_TIMEOUT/s/2/20/' -i tests/test_cli.py || die |
77 |
+ |
78 |
+ distutils-r1_src_prepare |
79 |
+} |