1 |
commit: b06b7c6ea7f8beda52923f8ea8bbd61c4438fe07 |
2 |
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Oct 2 17:52:08 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 13:43:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06b7c6e |
7 |
|
8 |
media-gfx/gnofract4d: version bump to 4.3_p20200821 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/15987 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
media-gfx/gnofract4d/Manifest | 1 + |
16 |
.../gnofract4d/gnofract4d-4.3_p20200821.ebuild | 60 ++++++++++++++++++++++ |
17 |
2 files changed, 61 insertions(+) |
18 |
|
19 |
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest |
20 |
index 9c7debf573c..7475759e774 100644 |
21 |
--- a/media-gfx/gnofract4d/Manifest |
22 |
+++ b/media-gfx/gnofract4d/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST gnofract4d-4.0.1_p1.tar.gz 7638038 BLAKE2B c12bade5f219d2d41dc50569c0df315273b0c2a0a6a40543f48f3e4cb766512ed18b979463574db65ac443b1a8dffbcc1f3c9dc04d7c6b89881fdfcfce95c41c SHA512 d7f3a081b3681866d2da911eedab6ec74f22f36d5175a85f93751519e96971cf147b99ddcda32c597283b39e9da4f0fc6a8843331334a18efa3bf459cfd00af5 |
25 |
+DIST gnofract4d-4.3_p20200821.tar.gz 18256808 BLAKE2B dbdf69879bd40f1963b88bba35b831d7f6f96afff3d6d62c970324d5af613eb58bc71152245017135a99308857b4861650c46a4c345b73aed734e5bdaf04c524 SHA512 21afcd56521dfa526b49617ec8b1373b41492c22cd44cf7da4c13fef8ae5a6d5b54eb8859eb1e85b34db444a84e672905443576b60f1768c777bce120efa46d4 |
26 |
|
27 |
diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20200821.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20200821.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5f9466e0023 |
30 |
--- /dev/null |
31 |
+++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20200821.ebuild |
32 |
@@ -0,0 +1,60 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
39 |
+DISTUTILS_SINGLE_IMPL=1 |
40 |
+ |
41 |
+inherit distutils-r1 optfeature virtualx xdg |
42 |
+ |
43 |
+COMMIT="47752e0d240d9f2686c2a69d813ac5112bda1ad3" |
44 |
+ |
45 |
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" |
46 |
+HOMEPAGE="https://fract4d.github.io/gnofract4d/" |
47 |
+SRC_URI="https://github.com/fract4d/gnofract4d/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ media-libs/libpng:0= |
55 |
+ virtual/jpeg |
56 |
+ test? ( |
57 |
+ media-video/ffmpeg[vpx,zlib] |
58 |
+ )" |
59 |
+RDEPEND="${DEPEND} |
60 |
+ $(python_gen_cond_dep ' |
61 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
62 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
63 |
+ ') |
64 |
+ x11-libs/gtk+:3[introspection]" |
65 |
+BDEPEND="virtual/pkgconfig" |
66 |
+ |
67 |
+distutils_enable_tests pytest |
68 |
+ |
69 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die |
73 |
+ # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow |
74 |
+ rm test_regress.py || die |
75 |
+ |
76 |
+ distutils-r1_src_prepare |
77 |
+} |
78 |
+ |
79 |
+python_compile_all() { |
80 |
+ if use test; then |
81 |
+ ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ virtx distutils-r1_src_test |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ xdg_pkg_postinst |
91 |
+ optfeature "creating videos" media-video/ffmpeg[vpx,zlib] |
92 |
+} |