From 6e53aa6cd4c81a74097f0a991e1d40f4ddd96132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Tue, 5 Jul 2022 20:32:47 +0200 Subject: [PATCH] x11-misc/portfolio: fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- ...0.9.2.ebuild => portfolio-0.9.2-r1.ebuild} | 31 +++++++++---------- ...0.9.3.ebuild => portfolio-0.9.3-r1.ebuild} | 31 +++++++++---------- x11-misc/portfolio/portfolio-9999.ebuild | 31 +++++++++---------- 3 files changed, 45 insertions(+), 48 deletions(-) rename x11-misc/portfolio/{portfolio-0.9.2.ebuild => portfolio-0.9.2-r1.ebuild} (72%) rename x11-misc/portfolio/{portfolio-0.9.3.ebuild => portfolio-0.9.3-r1.ebuild} (72%) diff --git a/x11-misc/portfolio/portfolio-0.9.2.ebuild b/x11-misc/portfolio/portfolio-0.9.2-r1.ebuild similarity index 72% rename from x11-misc/portfolio/portfolio-0.9.2.ebuild rename to x11-misc/portfolio/portfolio-0.9.2-r1.ebuild index c4f90f9..78159c1 100644 --- a/x11-misc/portfolio/portfolio-0.9.2.ebuild +++ b/x11-misc/portfolio/portfolio-0.9.2-r1.ebuild @@ -1,29 +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,8,9} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit python-single-r1 gnome2-utils meson xdg DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices" HOMEPAGE="https://github.com/tchx84/Portfolio" -if [[ "${PV}" == *9999* ]]; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" else SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}"/${P^} fi -RESTRICT=" - mirror - !test? ( test ) -" -LICENSE="GPL-3" +RESTRICT="!test? ( test )" +LICENSE="GPL-3+" SLOT="0" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -33,16 +30,18 @@ RDEPEND=" dev-libs/appstream-glib[introspection] x11-libs/gtk+:3[introspection] $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_MULTI_USEDEP}] - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] ') " DEPEND=" ${RDEPEND} test? ( - dev-python/black - dev-python/pyflakes - dev-python/pytest + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') ) " diff --git a/x11-misc/portfolio/portfolio-0.9.3.ebuild b/x11-misc/portfolio/portfolio-0.9.3-r1.ebuild similarity index 72% rename from x11-misc/portfolio/portfolio-0.9.3.ebuild rename to x11-misc/portfolio/portfolio-0.9.3-r1.ebuild index c4f90f9..78159c1 100644 --- a/x11-misc/portfolio/portfolio-0.9.3.ebuild +++ b/x11-misc/portfolio/portfolio-0.9.3-r1.ebuild @@ -1,29 +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,8,9} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit python-single-r1 gnome2-utils meson xdg DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices" HOMEPAGE="https://github.com/tchx84/Portfolio" -if [[ "${PV}" == *9999* ]]; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" else SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}"/${P^} fi -RESTRICT=" - mirror - !test? ( test ) -" -LICENSE="GPL-3" +RESTRICT="!test? ( test )" +LICENSE="GPL-3+" SLOT="0" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -33,16 +30,18 @@ RDEPEND=" dev-libs/appstream-glib[introspection] x11-libs/gtk+:3[introspection] $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_MULTI_USEDEP}] - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] ') " DEPEND=" ${RDEPEND} test? ( - dev-python/black - dev-python/pyflakes - dev-python/pytest + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') ) " diff --git a/x11-misc/portfolio/portfolio-9999.ebuild b/x11-misc/portfolio/portfolio-9999.ebuild index c4f90f9..78159c1 100644 --- a/x11-misc/portfolio/portfolio-9999.ebuild +++ b/x11-misc/portfolio/portfolio-9999.ebuild @@ -1,29 +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,8,9} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit python-single-r1 gnome2-utils meson xdg DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices" HOMEPAGE="https://github.com/tchx84/Portfolio" -if [[ "${PV}" == *9999* ]]; then +if [[ "${PV}" == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" else SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/${P^}" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}"/${P^} fi -RESTRICT=" - mirror - !test? ( test ) -" -LICENSE="GPL-3" +RESTRICT="!test? ( test )" +LICENSE="GPL-3+" SLOT="0" IUSE="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -33,16 +30,18 @@ RDEPEND=" dev-libs/appstream-glib[introspection] x11-libs/gtk+:3[introspection] $(python_gen_cond_dep ' - dev-python/pycairo[${PYTHON_MULTI_USEDEP}] - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] ') " DEPEND=" ${RDEPEND} test? ( - dev-python/black - dev-python/pyflakes - dev-python/pytest + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') ) "