commit:     8a8bf975ed06762895883f71bb8aedfd61a3d13d
Author:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
AuthorDate: Tue Feb 16 09:55:06 2021 +0000
Commit:     Simon van der Maas <svdm-gentoo <AT> protonmail <DOT> com>
CommitDate: Tue Feb 16 09:55:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a8bf975

dev-python/kitchen: fixed ebuild, thx telans!

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Simon van der Maas <svdm-gentoo <AT> protonmail.com>

 dev-python/kitchen/kitchen-1.2.6.ebuild | 11 ++++++++---
 net-misc/tuir/tuir-1.29.0.ebuild        | 16 +++++++++-------
 2 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/dev-python/kitchen/kitchen-1.2.6.ebuild 
b/dev-python/kitchen/kitchen-1.2.6.ebuild
index 2b58ff54..a7b23cc2 100644
--- a/dev-python/kitchen/kitchen-1.2.6.ebuild
+++ b/dev-python/kitchen/kitchen-1.2.6.ebuild
@@ -3,11 +3,14 @@
 
 EAPI=7
 
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+inherit distutils-r1
+
 DESCRIPTION="Kitchen contains a cornucopia of useful code"
 HOMEPAGE="https://github.com/fedora-infra/kitchen";
-SRC_URI="https://github.com/fedora-infra/kitchen/archive/1.2.6.tar.gz";
+SRC_URI="https://github.com/fedora-infra/kitchen/archive/${PV}.tar.gz";
 
-S="${WORKDIR}"
+S="${WORKDIR}/${P}"
 
 LICENSE="LGPL-2.1"
 
@@ -15,4 +18,6 @@ SLOT="0"
 
 KEYWORDS="~amd64"
 
-DEPEND="dev-lang/python"
+src_prepare() {
+    distutils-r1_src_prepare
+}

diff --git a/net-misc/tuir/tuir-1.29.0.ebuild b/net-misc/tuir/tuir-1.29.0.ebuild
index 07564543..0a887318 100644
--- a/net-misc/tuir/tuir-1.29.0.ebuild
+++ b/net-misc/tuir/tuir-1.29.0.ebuild
@@ -8,8 +8,8 @@ PYTHON_REQ_USE="ncurses"
 inherit distutils-r1
 
 DESCRIPTION="A text-based interface (TUI) to view and interact with Reddit 
from your terminal"
-HOMEPAGE="https://github.com/proycon/tuir";
-SRC_URI="https://gitlab.com/ajak/tuir/-/archive/v1.29.0/tuir-v1.29.0.tar.gz";
+HOMEPAGE="https://gitlab.com/ajak/tuir";
+SRC_URI="https://gitlab.com/ajak/tuir/-/archive/v${PV}/tuir-v${PV}.tar.gz";
 
 S="${WORKDIR}/${PN}-v${PV}"
 
@@ -19,8 +19,10 @@ SLOT="0"
 
 KEYWORDS="~amd64"
 
-DEPEND="dev-python/beautifulsoup
-dev-python/decorator
-dev-python/requests
-dev-python/six
-dev-python/kitchen"
+RDEPEND="${DEPEND}"
+
+DEPEND="dev-python/beautifulsoup[${PYTHON_USEDEP}]
+dev-python/decorator[${PYTHON_USEDEP}]
+dev-python/requests[${PYTHON_USEDEP}]
+dev-python/six[${PYTHON_USEDEP}]
+dev-python/kitchen[${PYTHON_USEDEP}]"

Reply via email to