From dc5275f76bd9a0467bc96e0ac2edc5c7375fb201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 4 Jul 2022 16:23:23 +0200 Subject: [PATCH] app-portage/euscan-ng: bump to EAPI 8; update PYTHON_COMPAT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- ...1.0.0.ebuild => euscan-ng-1.0.0-r1.ebuild} | 27 +++++++------------ app-portage/euscan-ng/euscan-ng-9999.ebuild | 27 +++++++------------ 2 files changed, 18 insertions(+), 36 deletions(-) rename app-portage/euscan-ng/{euscan-ng-1.0.0.ebuild => euscan-ng-1.0.0-r1.ebuild} (70%) diff --git a/app-portage/euscan-ng/euscan-ng-1.0.0.ebuild b/app-portage/euscan-ng/euscan-ng-1.0.0-r1.ebuild similarity index 70% rename from app-portage/euscan-ng/euscan-ng-1.0.0.ebuild rename to app-portage/euscan-ng/euscan-ng-1.0.0-r1.ebuild index 4f15db6..09dd702 100644 --- a/app-portage/euscan-ng/euscan-ng-1.0.0.ebuild +++ b/app-portage/euscan-ng/euscan-ng-1.0.0-r1.ebuild @@ -1,33 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="Check if a given package has new upstream versions" HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng" -if [[ "${PV}" == *9999* ]]; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 - EGIT_REPO_URI=" - https://gitlab.com/src_prepare/${PN}.git - https://github.com/xgqt/${PN}.git - " + EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git" else - SRC_URI=" - https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz - https://github.com/xgqt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - " + SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz" KEYWORDS="~amd64" fi RESTRICT="mirror" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -IUSE="" # web ( # 'Django>=1.4', dev-python/django OK @@ -44,10 +37,8 @@ IUSE="" # ) # Right now euscan-ng and euscan can't be both installed on the same system -DEPEND=" +RDEPEND=" !app-portage/euscan >=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}] " -RDEPEND=" - ${DEPEND} -" +BDEPEND="${RDEPEND}" diff --git a/app-portage/euscan-ng/euscan-ng-9999.ebuild b/app-portage/euscan-ng/euscan-ng-9999.ebuild index 4f15db6..09dd702 100644 --- a/app-portage/euscan-ng/euscan-ng-9999.ebuild +++ b/app-portage/euscan-ng/euscan-ng-9999.ebuild @@ -1,33 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 DESCRIPTION="Check if a given package has new upstream versions" HOMEPAGE="https://gitlab.com/src_prepare/euscan-ng" -if [[ "${PV}" == *9999* ]]; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 - EGIT_REPO_URI=" - https://gitlab.com/src_prepare/${PN}.git - https://github.com/xgqt/${PN}.git - " + EGIT_REPO_URI="https://gitlab.com/src_prepare/${PN}.git" else - SRC_URI=" - https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz - https://github.com/xgqt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - " + SRC_URI="https://gitlab.com/src_prepare/${PN}/-/archive/${PV}/${PN}-${PV}.tar.gz" KEYWORDS="~amd64" fi RESTRICT="mirror" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -IUSE="" # web ( # 'Django>=1.4', dev-python/django OK @@ -44,10 +37,8 @@ IUSE="" # ) # Right now euscan-ng and euscan can't be both installed on the same system -DEPEND=" +RDEPEND=" !app-portage/euscan >=dev-python/beautifulsoup4-4.8.2[${PYTHON_USEDEP}] " -RDEPEND=" - ${DEPEND} -" +BDEPEND="${RDEPEND}"