From 7e8256c8592a3c2bf5990a89ccd1bcfd9cda021d Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 24 Jul 2023 02:35:21 +0500 Subject: [PATCH] dev-util/upstream-ontologist: switch to single-impl python Signed-off-by: Anna (cybertailor) Vyalkova --- ...d => upstream-ontologist-0.1.35-r1.ebuild} | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) rename dev-util/upstream-ontologist/{upstream-ontologist-0.1.35.ebuild => upstream-ontologist-0.1.35-r1.ebuild} (68%) diff --git a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild similarity index 68% rename from dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild rename to dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild index 621304ac2e..f1c64cbf59 100644 --- a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild +++ b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild @@ -3,8 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_10 ) +PYTHON_COMPAT=( python3_{10..11} ) DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 PYPI_NO_NORMALIZE=1 inherit edo distutils-r1 optfeature pypi @@ -19,18 +20,22 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - dev-python/python-debian[${PYTHON_USEDEP}] - dev-python/ruamel-yaml[${PYTHON_USEDEP}] - dev-vcs/breezy[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/python-debian[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + ') + dev-vcs/breezy[${PYTHON_SINGLE_USEDEP}] " BDEPEND=" test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/docutils[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - dev-python/pygments[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + ') ) " @@ -48,6 +53,7 @@ python_test() { src_install() { distutils-r1_src_install + doman man/* dodoc docs/* }