mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
42 lines
973 B
Bash
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
|
|
}
|