mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/griffe: add 1.7.2
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST griffe-1.6.3.gh.tar.gz 395341 BLAKE2B c2beca0377d6d4a43a9a833142d1750d10fb4584c451cc7c9758275bfb58e6078634e79a204794b3b360d7afff0b37d68fb12d2f845ae846a6aa97ccb696538d SHA512 7b9197854ea8262bbcfa14fcd18dfb10e6bde253b92b7e88fc199f49f73d76f3641a6d3df8e383b4b1e2736a35f204eafe520347f00fd0f3c4f7bfd9a56d1e3e
|
||||
DIST griffe-1.7.0.gh.tar.gz 397619 BLAKE2B ecd2b490ec4fa37e5ac4bc0ac509145093245345af81a933d9b1e763c94e3fe0e6fdcd8a8d73f276c6740a1dd5397eedaa647efee6c01bab7e55b914cc43e1fd SHA512 c69d7ddbd5641f8cc1c0b920349488dcf1f61109d3437a4658ae1379ee80cabf02073c0c25a41ba1ef5a627a8c27fd42bd6339931af043ce866ab096d064ffb2
|
||||
DIST griffe-1.7.1.gh.tar.gz 397814 BLAKE2B fe481ae8cbffb79f355881fd5030ef43275c3bd8732757f77b5038a757629024b223374c33d9a5140fe0c375e54153e9835c267548282d545596c3b4a183afc8 SHA512 e2c538e2a413f2803c714ba2326599453ca7fd4ffbb6221076ef3a00ea95a159a852b9ad766cf0e66364cd1d05748b39efac534c6b7429cb276b85d09f6e2342
|
||||
DIST griffe-1.7.2.gh.tar.gz 398102 BLAKE2B ec4125401ce079dee0795b5bf2db0f74799f3a0c8a122c5c47317fa040cec79772b08aab4e168f4a6ade3ba9e9f4b17b4def17108e9c27ab69d0b701896f2f53 SHA512 4e1573cdfa8a5ba37b932448ed4647a0e37ed680ade4c099e21a0c1ef038840392d5ff906e763bba584d5777b6e6571842f848e3eb3faa4f7f474d61744ba26b
|
||||
|
||||
70
dev-python/griffe/griffe-1.7.2.ebuild
Normal file
70
dev-python/griffe/griffe-1.7.2.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=pdm-backend
|
||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Signature generator for Python programs"
|
||||
HOMEPAGE="
|
||||
https://mkdocstrings.github.io/griffe/
|
||||
https://github.com/mkdocstrings/griffe/
|
||||
https://pypi.org/project/griffe/
|
||||
"
|
||||
# Tests need files absent from the PyPI tarballs
|
||||
SRC_URI="
|
||||
https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/backports-strenum-1.3[${PYTHON_USEDEP}]
|
||||
' 3.10)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/jsonschema-4.17[${PYTHON_USEDEP}]
|
||||
>=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export PDM_BUILD_SCM_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# fragile to installed packages
|
||||
# (failed on PySide2 for me)
|
||||
tests/test_stdlib.py::test_fuzzing_on_stdlib
|
||||
)
|
||||
|
||||
case ${EPYTHON} in
|
||||
pypy3.11)
|
||||
EPYTEST_DESELECT+=(
|
||||
# https://github.com/pypy/pypy/issues/5226
|
||||
tests/test_inspector.py::test_inspecting_objects_from_private_builtin_stdlib_moduless
|
||||
)
|
||||
;&
|
||||
pypy3*)
|
||||
EPYTEST_DESELECT+=(
|
||||
# tries importing CPython-specific modules
|
||||
# https://github.com/mkdocstrings/griffe/issues/362
|
||||
tests/test_loader.py::test_load_builtin_modules
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user