diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /media-gfx/gnofract4d | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-4.3_p20211108.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index c15098e3be0e..c333d9b72c59 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,3 +1,5 @@ DIST gnofract4d-4.3_p20201029.tar.gz 18270417 BLAKE2B 82d9f9528c33cf73478fa48d8692617237029944e68d9626d0c39e088b1b6aebc02a8c32a1a0e14c8d115cf3f0434940ec8a8c3d915fc9967b22f7e51353dd6b SHA512 f5844a88c41941429379efe99d1e0593a994a42d600e6e05f722c01c4ced48ceff730bf6bc797e083bd558931d39a31ffe86021eac0f0c6ec0f3047569962e3f +DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75 EBUILD gnofract4d-4.3_p20201029.ebuild 1475 BLAKE2B f15026f582a54433bdee4b1f3dd30088b7b21b1760b905d8b20e205bc5301cd33aea19eb32d24e65787cd438cece03936abfe9618bf8d77dd15e8a7a9643250d SHA512 df41fc77faec92e3ad3e4ec4323b561471ee7affbf463851a46decec2f3a46e7a963481e1c5721942f9ffca62788d29c6e5edcc9e91af7656e5e0ad4f2e81031 +EBUILD gnofract4d-4.3_p20211108.ebuild 1478 BLAKE2B 1721206766be4b6ebcf6318b95ba37a07a8c4b2f2d424c6b872a435c861b9b8739ce15bf729a71cd24c24db53eedc63a442077a5b05c5db7bc4866e70e1023ae SHA512 05b3151c10771e521a3b9597c82c9b536e9a8ec76c7a0710bcb1fbc9439497e7dad5d9f92b5032bc36dc15cd736c1339e9d374c2d82367203268685c63ca5b2a MISC metadata.xml 474 BLAKE2B 6dcdd891ae9b2b69a1f7a2e3de6bc867894444743825642abddac1701d75bd2ec1542a5e6d4c86b76b2e209ccdc4db53e680692a0e6c7c99c280ff96fe6a13a2 SHA512 7b815ce8a870b158e39845840082ea3a87738d1f7c63b6aee869758deb3475f7f2c1c1f1831bfdc8af911c1f7825c514cf26c76af5bb32464e9fa2a308ba8a05 diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20211108.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20211108.ebuild new file mode 100644 index 000000000000..630443d5d244 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20211108.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8,9,10} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 optfeature virtualx xdg + +COMMIT="52410fec6cd9182048aed85e333876ddeaa9486a" + +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" +HOMEPAGE="https://fract4d.github.io/gnofract4d/" +SRC_URI="https://github.com/fract4d/gnofract4d/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/libpng:0= + virtual/jpeg" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + ') + x11-libs/gtk+:3[introspection]" +BDEPEND=" + virtual/pkgconfig + test? ( + media-video/ffmpeg[vpx,zlib] + )" + +distutils_enable_tests pytest + +S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare() { + sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die + # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow + rm test_regress.py || die + # tests hanging with virtx + rm fract4dgui/tests/test_{director,gtkfractal}.py || die + + distutils-r1_src_prepare +} + +python_compile_all() { + if use test; then + ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die + fi +} + +src_test() { + virtx distutils-r1_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +} |