Diff pywlroots-0.15.24-r2 with a pywlroots-0.16.4-r1
/usr/portage/dev-python/pywlroots/pywlroots-0.16.4-r1.ebuild 2023-10-09 14:52:30.364368372 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
DISTUTILS_EXT=1 |
|
6 | 7 |
DISTUTILS_USE_PEP517=setuptools |
7 | 8 |
PYTHON_COMPAT=( python3_{10..11} ) |
8 | 9 | |
9 |
inherit distutils-r1 |
|
10 |
inherit distutils-r1 pypi |
|
10 | 11 | |
11 | 12 |
DESCRIPTION="Python binding to the wlroots library using cffi" |
12 | 13 |
HOMEPAGE=" |
13 |
https://github.com/flacjacket/pywlroots |
|
14 |
https://github.com/flacjacket/pywlroots/ |
|
14 | 15 |
https://pypi.org/project/pywlroots/ |
15 | 16 |
" |
16 |
SRC_URI=" |
|
17 |
https://github.com/flacjacket/pywlroots/archive/refs/tags/v${PV}.tar.gz |
|
18 |
-> ${P}.gh.tar.gz |
|
19 |
" |
|
20 | 17 | |
21 | 18 |
LICENSE="BSD" |
22 | 19 |
SLOT="0" |
23 | 20 |
KEYWORDS="amd64 ~riscv ~x86" |
24 | 21 | |
25 | 22 |
# See README for wlroots dep |
26 |
RDEPEND=" |
|
23 |
DEPEND=" |
|
27 | 24 |
$(python_gen_cond_dep ' |
28 | 25 |
dev-python/cffi[${PYTHON_USEDEP}] |
29 | 26 |
' 'python*') |
... | ... | |
32 | 29 |
=gui-libs/wlroots-$(ver_cut 1-2)*:= |
33 | 30 |
x11-base/xwayland |
34 | 31 |
" |
35 |
DEPEND="${RDEPEND}" |
|
32 |
RDEPEND=" |
|
33 |
${DEPEND} |
|
34 |
" |
|
36 | 35 | |
37 | 36 |
PATCHES=( |
38 | 37 |
"${FILESDIR}"/${PN}-0.15.24-no-import-version-check.patch |
... | ... | |
41 | 40 |
distutils_enable_tests pytest |
42 | 41 | |
43 | 42 |
python_test() { |
44 |
# No die deliberately as sometimes it doesn't exist |
|
45 |
rm -r wlroots |
|
46 | ||
43 |
rm -rf wlroots || die |
|
47 | 44 |
epytest |
48 | 45 |
} |