Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/
Date: Sun, 05 Jan 2020 10:10:23
Message-Id: 1578218983.f06d48ccb081edaf233e3cacc67fe08e6c328cad.juippis@gentoo
1 commit: f06d48ccb081edaf233e3cacc67fe08e6c328cad
2 Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 4 19:52:06 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 10:09:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06d48cc
7
8 media-gfx/gnofract4d: version bump to 4.0.1_p1
9
10 New help and video USE flags.
11
12 Closes: https://bugs.gentoo.org/665576
13 Package-Manager: Portage-2.3.79, Repoman-2.3.16
14 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com>
15 Closes: https://github.com/gentoo/gentoo/pull/9640
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 media-gfx/gnofract4d/Manifest | 1 +
19 media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild | 64 +++++++++++++++++++++++++
20 media-gfx/gnofract4d/metadata.xml | 5 +-
21 3 files changed, 69 insertions(+), 1 deletion(-)
22
23 diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest
24 index 4051e8f4c6c..4ca01c42501 100644
25 --- a/media-gfx/gnofract4d/Manifest
26 +++ b/media-gfx/gnofract4d/Manifest
27 @@ -1,2 +1,3 @@
28 DIST gnofract4d-3.14.1.tar.gz 4660808 BLAKE2B f5125be0414b847f506686734e9234c3d88732be6f7cd0feb9cbe759d6e0584f8ce143d64de17a5fcca9b28d75ae922e00993140f0ccb793d10faadb3221b990 SHA512 bcec1d12c589cdee2f0da5555a075db511debd21d4536db66793f6a28be35656258daffd8cbaaff4b5af041b18ca77c94d910ec4d0c7e14960412c580fd56725
29 DIST gnofract4d-3.14.tar.gz 862499 BLAKE2B dcca058b6a625b4d2f0153f896ed029b27b8e6135a310942c4b58bf5a6396977f5ca065061918e99034b6303a5634c5288cac90c887a8dfa87286d24f9f1d04f SHA512 cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5
30 +DIST gnofract4d-4.0.1_p1.tar.gz 7638038 BLAKE2B c12bade5f219d2d41dc50569c0df315273b0c2a0a6a40543f48f3e4cb766512ed18b979463574db65ac443b1a8dffbcc1f3c9dc04d7c6b89881fdfcfce95c41c SHA512 d7f3a081b3681866d2da911eedab6ec74f22f36d5175a85f93751519e96971cf147b99ddcda32c597283b39e9da4f0fc6a8843331334a18efa3bf459cfd00af5
31
32 diff --git a/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild
33 new file mode 100644
34 index 00000000000..b4044c6aed2
35 --- /dev/null
36 +++ b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild
37 @@ -0,0 +1,64 @@
38 +# Copyright 1999-2020 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +PYTHON_COMPAT=( python3_{6,7,8} )
44 +DISTUTILS_SINGLE_IMPL=1
45 +DISTUTILS_USE_SETUPTOOLS=no
46 +
47 +inherit distutils-r1 virtualx xdg
48 +
49 +COMMIT=bd600c20921afff7b02fc0a76ab79242ebd0896d
50 +
51 +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
52 +HOMEPAGE="http://edyoung.github.io/gnofract4d/"
53 +SRC_URI="https://github.com/edyoung/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
54 +
55 +LICENSE="BSD"
56 +SLOT="0"
57 +KEYWORDS="~amd64 ~x86"
58 +IUSE="+help video"
59 +REQUIRED_USE="test? ( help )"
60 +
61 +COMMON_DEPEND="
62 + media-libs/libpng:0=
63 + virtual/jpeg:0"
64 +RDEPEND="${COMMON_DEPEND}
65 + dev-python/pycairo[${PYTHON_USEDEP}]
66 + dev-python/pygobject:3[${PYTHON_USEDEP}]
67 + x11-libs/gtk+:3[introspection]
68 + video? ( media-video/ffmpeg[vpx,zlib] )"
69 +BDEPEND="virtual/pkgconfig"
70 +DEPEND="${COMMON_DEPEND}
71 + help? ( app-text/docbook-xsl-stylesheets
72 + dev-python/pygobject[${PYTHON_USEDEP}]
73 + dev-libs/libxslt
74 + x11-libs/gtk+:3[introspection] )"
75 +
76 +distutils_enable_tests pytest
77 +
78 +S="${WORKDIR}/${PN}-${COMMIT}"
79 +
80 +src_prepare() {
81 + distutils-r1_src_prepare
82 +}
83 +
84 +python_test() {
85 + virtx pytest fract4d fract4dgui test.py || die
86 +}
87 +
88 +python_compile_all() {
89 + if use help; then
90 + ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die
91 + "${EPYTHON}" createdocs.py || die
92 + fi
93 +}
94 +
95 +python_install_all() {
96 + distutils-r1_python_install_all
97 + rm -r "${ED}"/usr/share/doc/${PN} || die
98 + if ! use help; then
99 + rm -r "${ED}"/usr/share/gnome/help/${PN} || die
100 + fi
101 +}
102
103 diff --git a/media-gfx/gnofract4d/metadata.xml b/media-gfx/gnofract4d/metadata.xml
104 index fb2b6be847f..9d262e8792a 100644
105 --- a/media-gfx/gnofract4d/metadata.xml
106 +++ b/media-gfx/gnofract4d/metadata.xml
107 @@ -6,7 +6,10 @@
108 <name>Gentoo Graphics Project</name>
109 </maintainer>
110 <upstream>
111 - <remote-id type="sourceforge">gnofract4d</remote-id>
112 <remote-id type="github">edyoung/gnofract4d</remote-id>
113 </upstream>
114 + <use>
115 + <flag name="help">Install user manual</flag>
116 + <flag name="video">Support creation of videos</flag>
117 + </use>
118 </pkgmetadata>