diff options
-rw-r--r-- | dev-python/griffe/Manifest | 1 | ||||
-rw-r--r-- | dev-python/griffe/griffe-0.35.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index f646de6b8116..ee9d4cc62d2a 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-0.34.0.gh.tar.gz 181554 BLAKE2B 67d9a453cbd4388e7eefce9613b58667fff184b235e06743ba0a997a961b320f00a62505b06d7dde8f068e206e0ba9424e4da7969c0bedeeded80a85f981f824 SHA512 92fd93e49f4c52f9e819cca853f5c950a66d782f0161da41e11ae2a64e09a6bc2319481c8410a220c844b1ed44a96860d3e1bd152512b9ff5d6ec0fe11f36752 +DIST griffe-0.35.0.gh.tar.gz 184348 BLAKE2B eafd03d55091c960ae8686e0e1113ca266b1f980a00ebb12e252e54105dd10f56f1cb76de9fdba0ceefe2c8b7190f3aa1fe3557cac162e96b8ee408ce682f47d SHA512 9308c215232775e1355c7470006f611f1ec413cd7f24300fbc9a4b1b15108d4d20fb31e1be0ddd3b28d84862eb0409d0481a5744899a6db9ea9574987c37d86a diff --git a/dev-python/griffe/griffe-0.35.0.ebuild b/dev-python/griffe/griffe-0.35.0.ebuild new file mode 100644 index 000000000000..c8d57610c9ff --- /dev/null +++ b/dev-python/griffe/griffe-0.35.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~riscv" + +RDEPEND=" + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17.3[${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 +) |