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 A102415800F for ; Mon, 20 Feb 2023 18:43:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF511E0BEE; Mon, 20 Feb 2023 18:43:04 +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 C40F9E0BEE for ; Mon, 20 Feb 2023 18:43:04 +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 D4ADB340DB0 for ; Mon, 20 Feb 2023 18:43:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74382888 for ; Mon, 20 Feb 2023 18:43:02 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1676918558.014b42a59e00c0710b479014670565799404e179.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/displaycal-py3/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/displaycal-py3/Manifest media-gfx/displaycal-py3/displaycal-py3-3.9.10.ebuild media-gfx/displaycal-py3/metadata.xml X-VCS-Directories: media-gfx/displaycal-py3/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: 014b42a59e00c0710b479014670565799404e179 X-VCS-Branch: master Date: Mon, 20 Feb 2023 18:43:02 +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: 39f67103-d877-4a3a-99af-f154d3ffd9de X-Archives-Hash: 3707a6eee69e790bdf0927f185162aef commit: 014b42a59e00c0710b479014670565799404e179 Author: Nick Sarnie gentoo org> AuthorDate: Mon Feb 20 18:37:27 2023 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Mon Feb 20 18:42:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014b42a5 media-gfx/displaycal-py3: new package, add 3.9.10 Closes: https://bugs.gentoo.org/724540 Signed-off-by: Nick Sarnie gentoo.org> media-gfx/displaycal-py3/Manifest | 1 + .../displaycal-py3/displaycal-py3-3.9.10.ebuild | 66 ++++++++++++++++++++++ media-gfx/displaycal-py3/metadata.xml | 17 ++++++ 3 files changed, 84 insertions(+) diff --git a/media-gfx/displaycal-py3/Manifest b/media-gfx/displaycal-py3/Manifest new file mode 100644 index 000000000000..9eff15b5ee37 --- /dev/null +++ b/media-gfx/displaycal-py3/Manifest @@ -0,0 +1 @@ +DIST DisplayCAL-3.9.10.tar.gz 10676033 BLAKE2B 94bfa3ac95bfc16788421fa5b9a31920c40da66d2875e4037b3b20b6792a1005ee9fea11b5325a94ffae845f56583647e42de9d4d7d96d149264a86e6d1158a6 SHA512 fc1b981925c6f4660557d8f0935a62d0112b39664b0c74cdb1a907e0e7b7e3f61ec76986fa2072f8ada1d105ebfa61bb116df75dc10f902ff545db3368634fc5 diff --git a/media-gfx/displaycal-py3/displaycal-py3-3.9.10.ebuild b/media-gfx/displaycal-py3/displaycal-py3-3.9.10.ebuild new file mode 100644 index 000000000000..0aef7b5146ef --- /dev/null +++ b/media-gfx/displaycal-py3/displaycal-py3-3.9.10.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 xdg + +MY_PN="DisplayCAL" +MY_P="${MY_PN}-${PV}" + +SRC_URI="https://github.com/eoyilmaz/displaycal-py3/releases/download/${PV}/${MY_P}.tar.gz" +KEYWORDS="~amd64" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Modernize the DisplayCAL code including Python 3 support" +HOMEPAGE="https://github.com/eoyilmaz/displaycal-py3" + +LICENSE="GPL-3" +SLOT="0" +IUSE="" + +RESTRICT="test" + +DEPEND=" + dev-python/build[${PYTHON_USEDEP}] + dev-python/certifi:0[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pychromecast[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + dev-python/zeroconf[${PYTHON_USEDEP}] + >=dev-python/wxpython-4.2.0[${PYTHON_USEDEP}] + media-gfx/argyllcms + x11-libs/libXxf86vm" + +RDEPEND="${DEPEND}" + +src_prepare() { + # Fix QA warning + sed -e 's/license_file/license_files/g' -i setup.cfg || die + + # Remove x-world MIME + sed -i 's|x-world/x-vrml;||g' \ + misc/displaycal-vrml-to-x3d-converter.desktop || die + + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + + # Use Gentoo package name for doc folder + mv "${ED}/usr/share/doc/${MY_P}" "${ED}/usr/share/doc/${P}" || die +} + +pkg_postinst() { + xdg_pkg_postinst +} + +pkg_postrm() { + xdg_pkg_postrm +} diff --git a/media-gfx/displaycal-py3/metadata.xml b/media-gfx/displaycal-py3/metadata.xml new file mode 100644 index 000000000000..6ee5175df506 --- /dev/null +++ b/media-gfx/displaycal-py3/metadata.xml @@ -0,0 +1,17 @@ + + + + + sarnex@gentoo.org + Nick Sarnie + + + eoyilmaz/displaycal-py3 + + + This project intended to modernize the DisplayCAL code including Python 3 support. + Florian Höch, the original developer, did an incredible job of creating and maintaining DisplayCAL for all these years. + But, it seems that, during the pandemic, very understandably, he lost his passion to the project. + Now, it is time for us, the DisplayCAL community, to contribute back to this great tool. + +