commit: 499e87172626abad429d1af52360d2d8619b105b
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 10:15:07 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 10:55:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=499e8717
dev-python/sdnotify: disable py3.8
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
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 8db5658f5..a15bda889 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
+}