x11-misc/portfolio: fix
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
eab9b5452b
commit
6e53aa6cd4
@ -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
|
# 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
|
||||||
|
|
||||||
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
||||||
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
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}]
|
||||||
|
')
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
@ -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
|
# 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
|
||||||
|
|
||||||
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
||||||
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
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}]
|
||||||
|
')
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
@ -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
|
# 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
|
||||||
|
|
||||||
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
||||||
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
||||||
|
|
||||||
if [[ "${PV}" == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
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}]
|
||||||
|
')
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user