summaryrefslogtreecommitdiff
path: root/dev-python/python3-xapp/python3-xapp-2.4.0.ebuild
blob: a3a80b456d983ecb6c770587fce67a9addde97ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{7,8,9,10,11} )

inherit meson distutils-r1

DESCRIPTION="Python bindings for x11-libs/xapp"
HOMEPAGE="https://github.com/linuxmint/python3-xapp"
SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
IUSE=""
RESTRICT="test"

DEPEND="
	>=x11-libs/xapp-2.4.0[introspection]
"
RDEPEND="
	${DEPEND}
	dev-python/psutil[${PYTHON_USEDEP}]
"

python_configure() {
	meson_src_configure
}

python_compile() {
	meson_src_configure
}

python_install() {
	meson_src_install
	python_optimize
}