From 499e87172626abad429d1af52360d2d8619b105b Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Wed, 25 Jan 2023 12:15:07 +0200 Subject: [PATCH] dev-python/sdnotify: disable py3.8 Signed-off-by: Viorel Munteanu --- dev-python/sdnotify/sdnotify-0.3.2.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-python/sdnotify/sdnotify-0.3.2.ebuild b/dev-python/sdnotify/sdnotify-0.3.2.ebuild index 8db5658f51..a15bda8890 100644 --- a/dev-python/sdnotify/sdnotify-0.3.2.ebuild +++ b/dev-python/sdnotify/sdnotify-0.3.2.ebuild @@ -3,9 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) -DISTUTILS_USE_SETUPTOOLS=no - +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="Python implementation of the systemd sd_notify protocol" @@ -18,3 +17,10 @@ SRC_URI="https://github.com/bb4242/${PN}/archive/refs/tags/v${PV}.tar.gz -> bb42 LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" + +python_prepare_all() { + # Fix QA warning. No point in reporting upstream, the project seems abandoned + sed 's/description-file/description_file/' -i setup.cfg + + distutils-r1_python_prepare_all +}