x11-misc/portfolio: fix

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć 2022-07-05 20:32:47 +02:00
parent eab9b5452b
commit 6e53aa6cd4
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
3 changed files with 45 additions and 48 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # 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 inherit python-single-r1 gnome2-utils meson xdg
@ -15,15 +15,12 @@ if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git"
else else
SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64" KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P^}" S="${WORKDIR}"/${P^}
fi fi
RESTRICT=" RESTRICT="!test? ( test )"
mirror LICENSE="GPL-3+"
!test? ( test )
"
LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="test" IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -33,16 +30,18 @@ RDEPEND="
dev-libs/appstream-glib[introspection] dev-libs/appstream-glib[introspection]
x11-libs/gtk+:3[introspection] x11-libs/gtk+:3[introspection]
$(python_gen_cond_dep ' $(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}]
') ')
" "
DEPEND=" DEPEND="
${RDEPEND} ${RDEPEND}
test? ( test? (
dev-python/black $(python_gen_cond_dep '
dev-python/pyflakes dev-python/black[${PYTHON_USEDEP}]
dev-python/pytest dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
')
) )
" "

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # 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 inherit python-single-r1 gnome2-utils meson xdg
@ -15,15 +15,12 @@ if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git"
else else
SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64" KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P^}" S="${WORKDIR}"/${P^}
fi fi
RESTRICT=" RESTRICT="!test? ( test )"
mirror LICENSE="GPL-3+"
!test? ( test )
"
LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="test" IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -33,16 +30,18 @@ RDEPEND="
dev-libs/appstream-glib[introspection] dev-libs/appstream-glib[introspection]
x11-libs/gtk+:3[introspection] x11-libs/gtk+:3[introspection]
$(python_gen_cond_dep ' $(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}]
') ')
" "
DEPEND=" DEPEND="
${RDEPEND} ${RDEPEND}
test? ( test? (
dev-python/black $(python_gen_cond_dep '
dev-python/pyflakes dev-python/black[${PYTHON_USEDEP}]
dev-python/pytest dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
')
) )
" "

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # 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 inherit python-single-r1 gnome2-utils meson xdg
@ -15,15 +15,12 @@ if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git" EGIT_REPO_URI="https://github.com/tchx84/${PN^}.git"
else else
SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/tchx84/${PN^}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64" KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${P^}" S="${WORKDIR}"/${P^}
fi fi
RESTRICT=" RESTRICT="!test? ( test )"
mirror LICENSE="GPL-3+"
!test? ( test )
"
LICENSE="GPL-3"
SLOT="0" SLOT="0"
IUSE="test" IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@ -33,16 +30,18 @@ RDEPEND="
dev-libs/appstream-glib[introspection] dev-libs/appstream-glib[introspection]
x11-libs/gtk+:3[introspection] x11-libs/gtk+:3[introspection]
$(python_gen_cond_dep ' $(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}] dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] dev-python/pygobject:3[${PYTHON_USEDEP}]
') ')
" "
DEPEND=" DEPEND="
${RDEPEND} ${RDEPEND}
test? ( test? (
dev-python/black $(python_gen_cond_dep '
dev-python/pyflakes dev-python/black[${PYTHON_USEDEP}]
dev-python/pytest dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
')
) )
" "