summaryrefslogtreecommitdiff
path: root/dev-python/sphobjinv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-24 06:30:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-24 06:30:58 +0000
commit17e417b73cb3e25edbc6541bd107bc9c593d66bd (patch)
tree866f98b73f846149d0c9e7e5a1cf0527b7c54e08 /dev-python/sphobjinv
parent338095605b6c9c82690f77f27a32490c9a57bdcb (diff)
gentoo auto-resync : 24:12:2024 - 06:30:57
Diffstat (limited to 'dev-python/sphobjinv')
-rw-r--r--dev-python/sphobjinv/Manifest2
-rw-r--r--dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest
index 57ddde5591dd..8da23ae59f89 100644
--- a/dev-python/sphobjinv/Manifest
+++ b/dev-python/sphobjinv/Manifest
@@ -1,3 +1,5 @@
DIST sphobjinv-2.3.1.1.gh.tar.gz 1345537 BLAKE2B 8cbe5a6066ed611cb3b7579a34f75021e26262069aad2bd77bf3fefb1dd69b8a9977692424b296f9444968e1decb54ac8246896e678b64a7bd526d45e160f307 SHA512 c5260bbccff8531469ec67c44dfb33e46f55c4a07d25ed4a1332ebde3be09721877cf4af31feff8ff0aa81d6af68905607bf47a62cfda7893e449fd90b10bdbf
+DIST sphobjinv-2.3.1.2.gh.tar.gz 1346638 BLAKE2B c7f25caa055557ab4fa31335132b56f40237404925617f6d2f6495e1b10ef06517f3019ea10ef3b77d13e9f5270ce0669126146bfff0725bb9ff65ee3850edee SHA512 de26ba688238d0e26506bd4bc2662ab01f82bf2aa878c8fec98c4b2efdaabe80780a2bf83a9ed528f9c33fa81b1d105a7c4bc1350dd0514ddb81d0ea023b74b1
EBUILD sphobjinv-2.3.1.1.ebuild 1420 BLAKE2B 960ce7f3a8f9bc8c6f8360f561155838153de46a738da1d577c696719f529cf21b8c2a95e35e0419d803cf4fa7b0b7b46fdd679b5f51d8e5978ba35cf77084ba SHA512 6d2b0be907f22432675fd99d2f88303f59f2390758c9a05cc8ccaf591e9a7f06a6971c681934904c92803ce7de1e870cd93b5f32709db2f6e8f3a19e1c6d9574
+EBUILD sphobjinv-2.3.1.2.ebuild 1427 BLAKE2B e5072e0ef8133886d1d50f606532baa51b5f827c92a46f7fb0c3c67399cba46ceeeca588333f45ccd14497b9a8fc07022178ebe7890784ae8b47e67c3009021d SHA512 6801d574e3247604e5dfdd808d21c29f27bdf501e1b13ca5a353433b2364cac9f4f5393716ab6c03acdca4329ede4d716ee8a66ea72b1af1151f78b5e95f037e
MISC metadata.xml 876 BLAKE2B 2f3e0b8f207c9c872e7352b3b7fe34b569ef19ccfcd1060e99e71ac871185bffd079d93a2284380658faaa3542440433b40797c86a8b942cfef32eafdcdfa8aa SHA512 7906dda0e70f9d2e92b7e616ea7c79a9cb378cf3bfb58f7c1b7a261feebf587edf0ac76d3c7d18865f9d0e2ea6458667296847d3a9ecad4ae863441c2ee42028
diff --git a/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild b/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild
new file mode 100644
index 000000000000..59d7b3fc8cd9
--- /dev/null
+++ b/dev-python/sphobjinv/sphobjinv-2.3.1.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Sphinx objects.inv Inspection/Manipulation Tool"
+HOMEPAGE="
+ https://github.com/bskinn/sphobjinv/
+ https://pypi.org/project/sphobjinv/
+"
+SRC_URI="
+ https://github.com/bskinn/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+ dev-python/certifi[${PYTHON_USEDEP}]
+ dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/dictdiffer[${PYTHON_USEDEP}]
+ dev-python/pytest-check[${PYTHON_USEDEP}]
+ dev-python/pytest-ordering[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/timeout-decorator[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ README.rst::README.rst
+ tests/test_readme.py::test_readme_shell_cmds
+)
+
+src_prepare() {
+ sed -e '/CLI_TEST_TIMEOUT/s/2/20/' -i tests/test_cli.py || die
+
+ # remove bundled deps
+ rm -r src/sphobjinv/_vendored || die
+ sed -i -e 's:sphobjinv[.]_vendored[.]::' src/sphobjinv/*.py || die
+
+ distutils-r1_src_prepare
+}