# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry-core PYTHON_COMPAT=( python3_{14..15} ) inherit distutils-r1 DESCRIPTION="Portage env-layer manager for per-package toolchain configuration" HOMEPAGE="https://github.com/H4RL33/bosun" SRC_URI="https://github.com/H4RL33/bosun/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64" RDEPEND=" >=dev-python/rich-15.0.0[${PYTHON_USEDEP}] >=dev-python/pyyaml-6.0.3[${PYTHON_USEDEP}] " distutils_enable_tests pytest src_prepare() { sed -e 's:,<[0-9.]*::' -i pyproject.toml || die distutils-r1_src_prepare } src_install() { distutils-r1_src_install insinto /etc/bosun newins layers.example.yaml layers.yaml newins atoms.example.yaml atoms.yaml }