dev-python/griffe - 1.15.0 (gentoo)

Search

Package Information

Description:
Signature generator for Python programs
Homepage:
https://mkdocstrings.github.io/griffe/ https://github.com/mkdocstrings/griffe/ https://pypi.org/project/griffe/
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
1.15.0 8 ~amd64 ~arm64 ~riscv 0
View Raw Ebuild
# 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_{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}]
"
BDEPEND="
	test? (
		>=dev-python/griffe-inherited-docstrings-1.1.2[${PYTHON_USEDEP}]
		>=dev-python/jsonschema-4.17[${PYTHON_USEDEP}]
		>=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=( pytest-gitconfig )
distutils_enable_tests pytest

EPYTEST_DESELECT=(
	# fragile to installed packages
	# (failed on PySide2 for me)
	tests/test_stdlib.py::test_fuzzing_on_stdlib
)

export PDM_BUILD_SCM_VERSION=${PV}

Dependencies

RDEPEND

	>=dev-python/colorama-0.4[${PYTHON_USEDEP}]

BDEPEND

	test? (
		>=dev-python/griffe-inherited-docstrings-1.1.2[${PYTHON_USEDEP}]
		>=dev-python/jsonschema-4.17[${PYTHON_USEDEP}]
		>=dev-python/mkdocstrings-0.28.0[${PYTHON_USEDEP}]
	)

Manifest for 1.15.0

Type File Size Source URLs
DIST griffe-1.15.0.gh.tar.gz 427423 bytes https://github.com/mkdocstrings/griffe/archive/1.15.0.tar.gz