From 8a8bf975ed06762895883f71bb8aedfd61a3d13d Mon Sep 17 00:00:00 2001 From: Simon van der Maas Date: Tue, 16 Feb 2021 10:55:06 +0100 Subject: [PATCH] dev-python/kitchen: fixed ebuild, thx telans! Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Simon van der Maas --- 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 2b58ff5405..a7b23cc272 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 0756454335..0a887318d9 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}]"