3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
inherit xdg-utils
|
|
6 |
DISTUTILS_USE_PEP517=hatchling
|
|
7 |
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
7 |
8 |
|
8 |
|
DESCRIPTION="A tool to find and launch installed applications for the Xfce desktop"
|
|
9 |
inherit distutils-r1 pypi
|
|
10 |
|
|
11 |
DESCRIPTION="Jupyter Event System library"
|
9 |
12 |
HOMEPAGE="
|
10 |
|
https://docs.xfce.org/xfce/xfce4-appfinder/start
|
11 |
|
https://gitlab.xfce.org/xfce/xfce4-appfinder/
|
|
13 |
https://jupyter.org/
|
|
14 |
https://github.com/jupyter/jupyter_events/
|
|
15 |
https://pypi.org/project/jupyter-events/
|
12 |
16 |
"
|
13 |
|
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
|
14 |
17 |
|
15 |
|
LICENSE="GPL-2+"
|
|
18 |
LICENSE="BSD"
|
16 |
19 |
SLOT="0"
|
17 |
|
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
|
20 |
KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
18 |
21 |
|
19 |
|
DEPEND="
|
20 |
|
>=dev-libs/glib-2.72.0
|
21 |
|
>=x11-libs/gtk+-3.24.0:3
|
22 |
|
>=xfce-base/garcon-4.18.0:=
|
23 |
|
>=xfce-base/libxfce4util-4.18.0:=
|
24 |
|
>=xfce-base/libxfce4ui-4.18.0:=[gtk3(+)]
|
25 |
|
>=xfce-base/xfconf-4.18.0:=
|
26 |
|
"
|
|
22 |
# jsonschema[format-nongpl] deps are always on in our ebuild
|
27 |
23 |
RDEPEND="
|
28 |
|
${DEPEND}
|
|
24 |
>=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}]
|
|
25 |
dev-python/packaging[${PYTHON_USEDEP}]
|
|
26 |
>=dev-python/python-json-logger-2.0.4[${PYTHON_USEDEP}]
|
|
27 |
>=dev-python/pyyaml-5.3[${PYTHON_USEDEP}]
|
|
28 |
dev-python/referencing[${PYTHON_USEDEP}]
|
|
29 |
>=dev-python/traitlets-5.3[${PYTHON_USEDEP}]
|
29 |
30 |
"
|
30 |
31 |
BDEPEND="
|
31 |
|
dev-util/intltool
|
32 |
|
sys-devel/gettext
|
33 |
|
virtual/pkgconfig
|
|
32 |
test? (
|
|
33 |
dev-python/click[${PYTHON_USEDEP}]
|
|
34 |
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
|
35 |
dev-python/pytest-console-scripts[${PYTHON_USEDEP}]
|
|
36 |
dev-python/rich[${PYTHON_USEDEP}]
|
|
37 |
)
|
34 |
38 |
"
|
35 |
39 |
|
36 |
|
pkg_postinst() {
|
37 |
|
xdg_icon_cache_update
|
38 |
|
}
|
39 |
|
|
40 |
|
pkg_postrm() {
|
41 |
|
xdg_icon_cache_update
|
42 |
|
}
|
|
40 |
# TODO: package jupyterlite-sphinx
|
|
41 |
# distutils_enable_sphinx docs
|
|
42 |
distutils_enable_tests pytest
|