x11-misc/portfolio: add 1.0.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
92f6a82b04
commit
d38a4ae2ad
@ -1,3 +1,4 @@
|
|||||||
DIST portfolio-0.9.14.tar.gz 440629 BLAKE2B 17e6fa353e314fecf8c1e08f18d8619eda0a800b9f0a805426af85da7e0c934a8fbde84d5f47c987297ebddf6f3e9474e957432460f317b703009d908c1dd0dd SHA512 d69b12751647006841c1025e752befc505238ffca856a0cb5fd771052ded6cdea021c2ff7c629bdfd6b7c550fb93adb0224b0a9d7449ada54068eea23f60ca8f
|
DIST portfolio-0.9.14.tar.gz 440629 BLAKE2B 17e6fa353e314fecf8c1e08f18d8619eda0a800b9f0a805426af85da7e0c934a8fbde84d5f47c987297ebddf6f3e9474e957432460f317b703009d908c1dd0dd SHA512 d69b12751647006841c1025e752befc505238ffca856a0cb5fd771052ded6cdea021c2ff7c629bdfd6b7c550fb93adb0224b0a9d7449ada54068eea23f60ca8f
|
||||||
DIST portfolio-0.9.2.tar.gz 252455 BLAKE2B 24079666b4b0afd63f809f315558494f956fb1ebe7bb9eb5581ee62d324ef0eb7625bc3d9e4dd2af22ce4bf46349d4ad830614413718debc0c113810b459268e SHA512 09aec47e8239c4d5bf8087516de208a8dca6b326ecc91024d05901458d00560a89a1769b2d0b0d038e01064247d7a51cd333f7410064760c99f4d24f0525006c
|
DIST portfolio-0.9.2.tar.gz 252455 BLAKE2B 24079666b4b0afd63f809f315558494f956fb1ebe7bb9eb5581ee62d324ef0eb7625bc3d9e4dd2af22ce4bf46349d4ad830614413718debc0c113810b459268e SHA512 09aec47e8239c4d5bf8087516de208a8dca6b326ecc91024d05901458d00560a89a1769b2d0b0d038e01064247d7a51cd333f7410064760c99f4d24f0525006c
|
||||||
DIST portfolio-0.9.3.tar.gz 247056 BLAKE2B 01f5b37dc0ee433148134ea74e6dcc18194247954b83ca5f3ef4c6945bf5859ef446cb610a979328429f3f7122947f172f1588db959412eaaf8a849928313319 SHA512 a50f5ba34d2d958da9b3ab19c7c68ece9399a2e22290db892911bf4e3870064ccb398a2df3011f89cae3bd1d8625925ce57f26ff28de9755dae176cc99945ac4
|
DIST portfolio-0.9.3.tar.gz 247056 BLAKE2B 01f5b37dc0ee433148134ea74e6dcc18194247954b83ca5f3ef4c6945bf5859ef446cb610a979328429f3f7122947f172f1588db959412eaaf8a849928313319 SHA512 a50f5ba34d2d958da9b3ab19c7c68ece9399a2e22290db892911bf4e3870064ccb398a2df3011f89cae3bd1d8625925ce57f26ff28de9755dae176cc99945ac4
|
||||||
|
DIST portfolio-1.0.0.tar.gz 271480 BLAKE2B bad74a33391e21190f9e273eafa33d52b29b80514f0bc00944f8e68428d12aaaee3dddad8acce4bf3b4a40137f0a457e029aef3f492dde27f08d73b4dc55c145 SHA512 bbb724a6c9b0e76fb8bd8bc91241ea85c64e8c27ad3015f4d0bb02b9f2896ebea3b8bba7cf8c3241d0a6801904ddbed432dfb1973f7a3944965c6efd97970819
|
||||||
|
98
x11-misc/portfolio/portfolio-1.0.0.ebuild
Normal file
98
x11-misc/portfolio/portfolio-1.0.0.ebuild
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{11..12} )
|
||||||
|
|
||||||
|
inherit gnome2-utils meson python-single-r1 virtualx xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Minimalist file manager for those who want to use Linux mobile devices"
|
||||||
|
HOMEPAGE="https://github.com/tchx84/Portfolio"
|
||||||
|
|
||||||
|
if [[ "${PV}" == *9999* ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/tchx84/Portfolio.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/tchx84/Portfolio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
S="${WORKDIR}/${P^}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="test"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
gui-libs/gtk:4[introspection]
|
||||||
|
gui-libs/libadwaita:1[introspection]
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? (
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="sys-devel/gettext"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# Don't validate data files even if found.
|
||||||
|
sed -Ei \
|
||||||
|
-e 's/^((appstream_util|desktop_utils|compile_schemas) =).*$/\1 disabler()/' \
|
||||||
|
data/meson.build || die
|
||||||
|
|
||||||
|
# Don't enable linting tests even if found.
|
||||||
|
sed -Ei \
|
||||||
|
-e 's/^((pyflakes|black) =).*$/\1 disabler()/' \
|
||||||
|
tests/meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_use test run_service_tests)
|
||||||
|
)
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
python_optimize
|
||||||
|
python_fix_shebang "${D}"/usr/bin/dev.tchx84.Portfolio
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
virtx meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
gnome2_schemas_savelist
|
||||||
|
xdg_pkg_preinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
gnome2_gconf_install
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postinst
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_gconf_uninstall
|
||||||
|
gnome2_schemas_update
|
||||||
|
xdg_pkg_postrm
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user