Diff gnofract4d-4.3_p20221125-r1 with a gnofract4d-4.3_p20230717
/usr/portage/media-gfx/gnofract4d/gnofract4d-4.3_p20230717.ebuild 2023-10-09 14:52:31.628368404 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
6 |
PYTHON_COMPAT=( python3_{10..11} ) |
|
7 |
DISTUTILS_EXT=1 |
|
7 | 8 |
DISTUTILS_SINGLE_IMPL=1 |
8 | 9 |
DISTUTILS_USE_PEP517=setuptools |
9 | 10 | |
10 | 11 |
inherit distutils-r1 optfeature virtualx xdg |
11 | 12 | |
12 |
COMMIT="f90eb2a9c25e3f3aef65e8d4dce7d73bcb795b2d" |
|
13 |
COMMIT="47d2093e8f6399d1badfba0d1cb0f9867e90b326" |
|
13 | 14 | |
14 | 15 |
DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" |
15 | 16 |
HOMEPAGE="https://fract4d.github.io/gnofract4d/" |
... | ... | |
17 | 18 | |
18 | 19 |
LICENSE="BSD" |
19 | 20 |
SLOT="0" |
20 |
KEYWORDS="amd64 x86" |
|
21 |
KEYWORDS="~amd64 ~x86" |
|
21 | 22 | |
22 | 23 |
DEPEND=" |
23 | 24 |
media-libs/libjpeg-turbo:0= |
24 | 25 |
media-libs/libpng:0=" |
25 | 26 |
RDEPEND="${DEPEND} |
26 | 27 |
$(python_gen_cond_dep ' |
27 |
dev-python/pycairo[${PYTHON_USEDEP}] |
|
28 |
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] |
|
28 |
dev-python/pygobject:3[${PYTHON_USEDEP}] |
|
29 | 29 |
') |
30 |
x11-libs/gtk+:3[introspection]" |
|
30 |
gui-libs/gtk:4[introspection]" |
|
31 | 31 |
BDEPEND=" |
32 | 32 |
virtual/pkgconfig |
33 | 33 |
test? ( |
... | ... | |
38 | 38 | |
39 | 39 |
S="${WORKDIR}/${PN}-${COMMIT}" |
40 | 40 | |
41 |
PATCHES=( |
|
42 |
"${FILESDIR}"/${PN}-4.3_p20221125-clang16.patch |
|
43 |
) |
|
44 | ||
45 | 41 |
src_prepare() { |
42 |
sed -i -e "s:VERSION = '4.3':VERSION = '$PV':" fract4d/options.py || die |
|
46 | 43 |
sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die |
47 | 44 | |
48 | 45 |
distutils-r1_src_prepare |
... | ... | |
54 | 51 |
# test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow |
55 | 52 |
test_regress.py |
56 | 53 |
) |
54 |
use x86 && local EPYTEST_DESELECT=( |
|
55 |
# https://bugs.gentoo.org/890796 |
|
56 |
test_fractal.py::Test::testDiagonal |
|
57 |
test_fractal.py::Test::testRecolor |
|
58 |
) |
|
57 | 59 |
TMPDIR="${T}" virtx epytest |
58 | 60 |
} |
59 | 61 |