From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1338673-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98C15158086 for <garchives@archives.gentoo.org>; Fri, 12 Nov 2021 01:36:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87EFF2BC18D; Fri, 12 Nov 2021 01:36:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 475062BC18D for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:36:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68CA4342D94 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 60A301C8 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:36:36 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1636680887.cba81ce81294f3a88bceca575b0dc20ad87d042e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/gnofract4d/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/gnofract4d/Manifest media-gfx/gnofract4d/gnofract4d-4.3_p20211108.ebuild X-VCS-Directories: media-gfx/gnofract4d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cba81ce81294f3a88bceca575b0dc20ad87d042e X-VCS-Branch: master Date: Fri, 12 Nov 2021 01:36:36 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f29c6ea-017b-46a9-a749-ff30122a2be6 X-Archives-Hash: e4e3be601071cff4c53b50d652d06ef0 commit: cba81ce81294f3a88bceca575b0dc20ad87d042e Author: Chris Mayo <aklhfex <AT> gmail <DOT> com> AuthorDate: Mon Nov 8 19:35:18 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Nov 12 01:34:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba81ce8 media-gfx/gnofract4d: version bump to 4.3_p20211108 Closes: https://bugs.gentoo.org/820857 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Chris Mayo <aklhfex <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22868 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/gnofract4d/Manifest | 1 + .../gnofract4d/gnofract4d-4.3_p20211108.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index e7d2dfa2297..84a9b090982 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1 +1,2 @@ DIST gnofract4d-4.3_p20201029.tar.gz 18270417 BLAKE2B 82d9f9528c33cf73478fa48d8692617237029944e68d9626d0c39e088b1b6aebc02a8c32a1a0e14c8d115cf3f0434940ec8a8c3d915fc9967b22f7e51353dd6b SHA512 f5844a88c41941429379efe99d1e0593a994a42d600e6e05f722c01c4ced48ceff730bf6bc797e083bd558931d39a31ffe86021eac0f0c6ec0f3047569962e3f +DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75 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 00000000000..630443d5d24 --- /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] +}