summaryrefslogtreecommitdiff
path: root/dev-python/griffe
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-02-25 18:53:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-02-25 18:53:14 +0000
commitb77d22afc76b0450bdb9a15c65eae4a4e954cb36 (patch)
tree621dc3d3f4a1c71bfbaf25bf2ba2ea3f016ce13c /dev-python/griffe
parent18336a373df542f72268fe92d76d1c820bd7ec47 (diff)
downloadbaldeagleos-repo-b77d22afc76b0450bdb9a15c65eae4a4e954cb36.tar.gz
baldeagleos-repo-b77d22afc76b0450bdb9a15c65eae4a4e954cb36.tar.xz
baldeagleos-repo-b77d22afc76b0450bdb9a15c65eae4a4e954cb36.zip
Adding metadata
Diffstat (limited to 'dev-python/griffe')
-rw-r--r--dev-python/griffe/Manifest1
-rw-r--r--dev-python/griffe/griffe-1.5.6.ebuild49
-rw-r--r--dev-python/griffe/griffe-1.5.7.ebuild33
3 files changed, 27 insertions, 56 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
index e02e8ea12c51..a0fb48567068 100644
--- a/dev-python/griffe/Manifest
+++ b/dev-python/griffe/Manifest
@@ -1,2 +1 @@
-DIST griffe-1.5.6.gh.tar.gz 393058 BLAKE2B f1c425e2f256e14e19e1b9c0e93e46d3fdcc79c82285c2163cacafc2dc0ff326805222f7097f28d7690ffbbd248733603387b3db16c068d581979bc18447fa11 SHA512 a65ed6569503e4b2b57bd7779e3f8b3d46266cf4c0dceeddf6b60db6479d417bb9527a99968e2913b153e45ed9f060d47c2497863daac6b413c10baf95756590
DIST griffe-1.5.7.gh.tar.gz 393455 BLAKE2B d294a62e131ce5276c52e3f11adef5081c10131156cdb3c112761569d3776091e1c1dfea445252cc3595572baf1caab416ff510d89f84a4511d147f1aa36b762 SHA512 cfea773780a645f92f8ad32b0f2e682561f63cf3082f2e24bd1f944f1a907b35db15883cb7df726d34e03373e73fe5e855f3d00a455cc01cac265bced822b4ed
diff --git a/dev-python/griffe/griffe-1.5.6.ebuild b/dev-python/griffe/griffe-1.5.6.ebuild
deleted file mode 100644
index 393939f16103..000000000000
--- a/dev-python/griffe/griffe-1.5.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# 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=( python3_{9,10,11,12,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[${PYTHON_USEDEP}]
- >=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-export PDM_BUILD_SCM_VERSION=${PV}
-
-EPYTEST_DESELECT=(
- # fragile to installed packages
- # (failed on PySide2 for me)
- tests/test_stdlib.py::test_fuzzing_on_stdlib
-)
diff --git a/dev-python/griffe/griffe-1.5.7.ebuild b/dev-python/griffe/griffe-1.5.7.ebuild
index 7b425a186736..6f7090dd3f3d 100644
--- a/dev-python/griffe/griffe-1.5.7.ebuild
+++ b/dev-python/griffe/griffe-1.5.7.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
-PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
inherit distutils-r1
@@ -42,8 +42,29 @@ distutils_enable_tests pytest
export PDM_BUILD_SCM_VERSION=${PV}
-EPYTEST_DESELECT=(
- # fragile to installed packages
- # (failed on PySide2 for me)
- tests/test_stdlib.py::test_fuzzing_on_stdlib
-)
+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
+}