summaryrefslogtreecommitdiff
path: root/dev-python/sphobjinv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-25 00:07:14 +0100
commitf8999218b5a6eafa151e7367030cbfdb69e045ed (patch)
tree0d0e9293bcb75153cd18542369fa789ede9338a0 /dev-python/sphobjinv
parentaa4954f71a3ba2293395a8cce2321a70c39c7554 (diff)
gentoo auto-resync : 25:05:2024 - 00:07:14
Diffstat (limited to 'dev-python/sphobjinv')
-rw-r--r--dev-python/sphobjinv/Manifest2
-rw-r--r--dev-python/sphobjinv/sphobjinv-2.3.1.1.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/sphobjinv/Manifest b/dev-python/sphobjinv/Manifest
index 9d6064e3fba6..cbc0d1ffb105 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.gh.tar.gz 1345653 BLAKE2B 17752829028d2dd249be0afa1a1420a4b6e61afc508f89377171aa11f528f62b15022413a8e665a213f95f3a888a85c5134e1cc7ca27bc3afd6f90bff18ce071 SHA512 7253b8b21e2027ce22013edf76a6cd397dcebf652e235a8af8b82349fb19a2f7df15d33f9f032f195a4b471f5bb5321c7de0fb195a5c0c2ce3847be23da35862
+EBUILD sphobjinv-2.3.1.1.ebuild 1433 BLAKE2B f8c1d885a8c2a313995b1961d47debf8f5740db5c2d0ad554b287e1828c3a996421f7cec883dcc317e295811fe3ab50afd8f21bd0972e825c15c365ae9b842c3 SHA512 5e97c6928fba6035c7398391a1a15d83cb4b9a61f083a5536d116d6f6d20aeae9598530d6ad4a4b797f94b6443ee60d4eeb8cfef73087ce165d852886f16284e
EBUILD sphobjinv-2.3.1.ebuild 1426 BLAKE2B 29e43873dfe111ba6de9f10a01db5f8decb5636c5cfaa3b9a76e1d76c6945aa5b265cea95c0944ac3bf281cf02c1fa8d8774691093ce927645a37d36acc28120 SHA512 520392ab11d64caa429f32bb570cc6a11ba4a31e892ae681fd3880015668387909d44d6ceeb2b6d5aaef4bb88fd028714e7b9ca974e8bdd882124b83593d1651
MISC metadata.xml 876 BLAKE2B 2f3e0b8f207c9c872e7352b3b7fe34b569ef19ccfcd1060e99e71ac871185bffd079d93a2284380658faaa3542440433b40797c86a8b942cfef32eafdcdfa8aa SHA512 7906dda0e70f9d2e92b7e616ea7c79a9cb378cf3bfb58f7c1b7a261feebf587edf0ac76d3c7d18865f9d0e2ea6458667296847d3a9ecad4ae863441c2ee42028
diff --git a/dev-python/sphobjinv/sphobjinv-2.3.1.1.ebuild b/dev-python/sphobjinv/sphobjinv-2.3.1.1.ebuild
new file mode 100644
index 000000000000..e0910c4ca89e
--- /dev/null
+++ b/dev-python/sphobjinv/sphobjinv-2.3.1.1.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..12} )
+
+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 ~mips ~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
+}