commit:     25ba5abeadb4877a335d0b07674befcfd14ec906
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Feb 22 19:51:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 22:19:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ba5abe

app-portage/distpatch: Port to python 3.{8,9}

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-portage/distpatch/distpatch-0.1.2-r2.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/app-portage/distpatch/distpatch-0.1.2-r2.ebuild 
b/app-portage/distpatch/distpatch-0.1.2-r2.ebuild
index 1db970970d7..782930fad49 100644
--- a/app-portage/distpatch/distpatch-0.1.2-r2.ebuild
+++ b/app-portage/distpatch/distpatch-0.1.2-r2.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 
 DESCRIPTION="Distfile Patching Support for Gentoo Linux (tools)"
@@ -15,12 +13,10 @@ 
SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.ta
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 PATCHES=( "${FILESDIR}/${PN}-python3-support.patch" )
 
-DEPEND="
-       >=sys-apps/portage-2.1.8.3[${PYTHON_USEDEP}]
-       dev-python/snakeoil[${PYTHON_USEDEP}]"
-RDEPEND="${CDEPEND}
-       >=dev-util/diffball-1.0.1"
+RDEPEND="
+       >=dev-util/diffball-1.0.1
+       dev-python/snakeoil[${PYTHON_USEDEP}]
+       >=sys-apps/portage-2.1.8.3[${PYTHON_USEDEP}]"

Reply via email to