Files
guru/dev-util/gersemi/gersemi-0.26.1.ebuild
Pavel Sobolev 0142820384 dev-util/gersemi: add 0.26.1, drop 0.26.0
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
2026-03-15 22:26:03 +03:00

42 lines
973 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 optfeature
DESCRIPTION="A formatter to make your CMake code the real treasure"
HOMEPAGE="https://github.com/BlankSpruce/gersemi"
SRC_URI="https://github.com/BlankSpruce/gersemi/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/ignore-python[${PYTHON_USEDEP}]
dev-python/lark[${PYTHON_USEDEP}]
dev-python/platformdirs[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pydantic[${PYTHON_USEDEP}]
dev-vcs/git
)
"
EPYTEST_DESELECT=(
tests/test_configuration.py::test_schema_in_repository_is_consistent_with_configuration_definition
)
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
pkg_postinst() {
optfeature "colorized diffs support" dev-python/colorama
}