# 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_{11..14} ) inherit distutils-r1 pypi DESCRIPTION="Generic access to configuration files in any formats" HOMEPAGE="https://github.com/ssato/python-anyconfig" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RDEPEND="dev-python/jinja2[${PYTHON_USEDEP}] dev-python/jmespath[${PYTHON_USEDEP}] dev-python/jsonschema[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/ruamel-yaml[${PYTHON_USEDEP}] dev-python/simplejson[${PYTHON_USEDEP}] dev-python/tomli-w[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}]" distutils_enable_tests pytest EPYTEST_IGNORE=( # assertion error tests/backend/loaders/pickle/test_pickle_stdlib.py ) python_prepare_all() { # remove coverage sed -i '/addopts/d' setup.cfg || die "sed failed for setup.cfg" distutils-r1_python_prepare_all }