From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 162D0158021 for ; Wed, 23 Nov 2022 17:55:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5410BE0A6B; Wed, 23 Nov 2022 17:55:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 3F89EE0A6B for ; Wed, 23 Nov 2022 17:55:16 +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 801DE340BE2 for ; Wed, 23 Nov 2022 17:55:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AC1B757 for ; Wed, 23 Nov 2022 17:55:14 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1669226108.a0dce33c08a469e6c06c6ea768244d98a3db1892.juippis@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_p20221114.ebuild X-VCS-Directories: media-gfx/gnofract4d/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: a0dce33c08a469e6c06c6ea768244d98a3db1892 X-VCS-Branch: master Date: Wed, 23 Nov 2022 17:55:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e1739b2-7cdd-4f8f-8dba-f409d7112cf4 X-Archives-Hash: 5b92c15466fc1458c75bc21c4cd6d944 commit: a0dce33c08a469e6c06c6ea768244d98a3db1892 Author: Chris Mayo gmail com> AuthorDate: Wed Nov 16 19:21:02 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Nov 23 17:55:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0dce33c media-gfx/gnofract4d: add 4.3_p20221114 Signed-off-by: Chris Mayo gmail.com> Closes: https://github.com/gentoo/gentoo/pull/28301 Signed-off-by: Joonas Niilola gentoo.org> media-gfx/gnofract4d/Manifest | 1 + .../gnofract4d/gnofract4d-4.3_p20221114.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 6b55644f3b2b..2c7eb33475e4 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1 +1,2 @@ DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75 +DIST gnofract4d-4.3_p20221114.tar.gz 18275321 BLAKE2B 029babc09810aa2a2fe0a627144bd347cb363666a9412cce067c2ce505fd8d554a3e12058ab74ccc5d1ff29587e96276026e685ee586e3961c92f72b30fe72d5 SHA512 d45183c0dc77959210b512ecfb35a8487ebf103ec5d46f815f4a2e05655ed5cc2f5fd1399f644fd919a459ffdb54dfe32a7745991dd37f527f5b79747aa22618 diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20221114.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20221114.ebuild new file mode 100644 index 000000000000..35a84519af89 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20221114.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature virtualx xdg + +COMMIT="3858a6f6a857ee8d2204938d72ac4975dafa16e4" + +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/libjpeg-turbo:0= + media-libs/libpng:0=" +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 + + distutils-r1_src_prepare +} + +python_test() { + ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die + local EPYTEST_IGNORE=( + # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow + test_regress.py + ) + TMPDIR="${T}" virtx epytest +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +}