commit:     d43436eade2df2c2481863c3d577390d828c6251
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 15:22:00 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 15:23:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43436ea

dev-vcs/notify-webhook: Bump to EAPI 8, fix python eclass usage

Closes: https://bugs.gentoo.org/828738
Closes: https://bugs.gentoo.org/832262
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...ify-webhook-0.1.0.ebuild => notify-webhook-0.1.0-r1.ebuild} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-vcs/notify-webhook/notify-webhook-0.1.0.ebuild 
b/dev-vcs/notify-webhook/notify-webhook-0.1.0-r1.ebuild
similarity index 79%
rename from dev-vcs/notify-webhook/notify-webhook-0.1.0.ebuild
rename to dev-vcs/notify-webhook/notify-webhook-0.1.0-r1.ebuild
index d28f6b8bbff9..ee355547cbda 100644
--- a/dev-vcs/notify-webhook/notify-webhook-0.1.0.ebuild
+++ b/dev-vcs/notify-webhook/notify-webhook-0.1.0-r1.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
 PYTHON_COMPAT=( pypy3 )
 
+inherit python-single-r1
+
 DESCRIPTION="Git post-receive web hook notifier in Python"
 HOMEPAGE="https://github.com/metajack/notify-webhook";
 #COMMIT='c571160f155122446e97bb01c1150b4d14ea69d6'
@@ -13,10 +15,10 @@ 
SRC_URI="https://github.com/metajack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="dev-python/simplejson"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND} ${PYTHON_DEPS}"
 
 #MY_P="${PN}-${COMMIT}"
 #S="${WORKDIR}/${MY_P}"

Reply via email to