From df951c39cee302ea18827c2d3829efab0b2f2435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 19 Jun 2024 06:30:34 +0200 Subject: [PATCH] dev-python/griffe: Bump to 0.47.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/griffe/Manifest | 1 + dev-python/griffe/griffe-0.47.0.ebuild | 45 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/griffe/griffe-0.47.0.ebuild diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest index daa10033bf244..a373fe8d0c63d 100644 --- a/dev-python/griffe/Manifest +++ b/dev-python/griffe/Manifest @@ -1 +1,2 @@ DIST griffe-0.46.1.gh.tar.gz 232727 BLAKE2B c056cb47e7423931336db55b2871f7a0908e453abc930fe82ef5dce0dc38d2de223b4349547362d54f061d5cbc8f1c8802a7277f776ea4c7e6630794774865a2 SHA512 07ee210c8e3b9c814d5e419ac3bb2a37065ecdda26b9215fcbb3b87dcdd542d5a52de186c69542aa25c20eb70e2a21a6274dbd9c8e19650fe8a48f483c4efbdc +DIST griffe-0.47.0.gh.tar.gz 233418 BLAKE2B cb31882f9ddd7210ac36eb400d182395b0da3cd37e38458f23582117aae4c83e9cd62a3dfb16067ec518a42ed6b4f6d9d77d6927be2ca462297c6420bcd25cd8 SHA512 d1d0603a81a8c859c67791ceeaf3c03a134ae221d7554b2a1133ed60a3ca85d157980b26c6930c282c50d9d46a02f26a44dffcfe0c1bd844a3f0ba58f2a1c52c diff --git a/dev-python/griffe/griffe-0.47.0.ebuild b/dev-python/griffe/griffe-0.47.0.ebuild new file mode 100644 index 0000000000000..482500b132593 --- /dev/null +++ b/dev-python/griffe/griffe-0.47.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( 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}] +" +BDEPEND=" + test? ( + >=dev-python/jsonschema-4.17[${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 +)