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 8841A15808C for ; Sat, 5 Mar 2022 11:54:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E4D0E0986; Sat, 5 Mar 2022 11:54:26 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1830CE0986 for ; Sat, 5 Mar 2022 11:54:26 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA65D342FFE for ; Sat, 5 Mar 2022 11:54:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3890303 for ; Sat, 5 Mar 2022 11:54:22 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1646481220.bc42726ffedfd02a080a2b281d031c1a4b26783e.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cura/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/cura/Manifest media-gfx/cura/cura-4.13.1.ebuild X-VCS-Directories: media-gfx/cura/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: bc42726ffedfd02a080a2b281d031c1a4b26783e X-VCS-Branch: master Date: Sat, 5 Mar 2022 11:54:22 +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: 0fbff004-f1dd-4398-a1e3-c36110a2e01b X-Archives-Hash: ccb58fe78d59e2a1ff0d6b8b73b8f8ac commit: bc42726ffedfd02a080a2b281d031c1a4b26783e Author: Matthew Smith gentoo org> AuthorDate: Sat Mar 5 11:35:29 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sat Mar 5 11:53:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc42726f media-gfx/cura: add 4.13.1 Signed-off-by: Matthew Smith gentoo.org> media-gfx/cura/Manifest | 1 + media-gfx/cura/cura-4.13.1.ebuild | 89 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest index 7ed2fd162fb3..a2ac1372708b 100644 --- a/media-gfx/cura/Manifest +++ b/media-gfx/cura/Manifest @@ -1,3 +1,4 @@ DIST cura-4.12.1.tar.gz 50021408 BLAKE2B 114bbe0cc022e33125486228db2eeaeacd9f4abeac8e65f3ed70231e05f4429062ce1cd49e1649959beb827b7a2d245f61c106529a18bd0cebbd0e8b9b8f883f SHA512 397048e1ed93d2e3ec326a3b0564db2b6ee2b239843346e2dd44470b11b5aea86f3f519534270789e020261c87a0100bf3bba39ddbd3a1d8be0e38e68fd7e0c0 DIST cura-4.13.0.tar.gz 42339276 BLAKE2B 05e747b8e84ecf64bdc1ad7662eae7b5e8a739b7c1bbafdd3ae081e790dafbcd98209eb90f45996e93115ea8b7a38764be957091dd358c502e7aa71cb61fe6c7 SHA512 46f13cde12735d64dad2c533c7688612ebc1c2c8b78d71ced8cfd7d7abd80a53c09105bb16f64ae92cddf345fe44f83800d4448007fe5c2938c652f58354747b +DIST cura-4.13.1.tar.gz 42339030 BLAKE2B e5c10ff03e42c0f88a2e7d827bf08f45c57142ca7b1dda6c00ccfbf0fd486dd366db23f00990ac5a021ecbfe038b2ca0247df8ea5130f2ee1efb766efc6f152c SHA512 6483fd6312bd2181cc812bce78aadc7e8532ecf292f09c75ce5e7870f7efddd63e84315ab40eb73c775b15c2ed2ce7fc804fcbefb73b3d8aaac77d8b22f0cbd0 DIST cura-4.9.1.tar.gz 47870392 BLAKE2B 2471c8461f73ad2343f4c3315994c5f63781ae1e49cb4699cd66e7e77c25a93916931fbaa6598c4144707dbc7778c902dad3a25839c0523aaf51ed39aacd2463 SHA512 436b8e33514de67d6d680fe59ab9599a75a86caa7e63fbcd05297b12a435483ec0c9ca90557fe23f25590a24e533294915fc18a665fd5cdb77fcc3a05a9076bf diff --git a/media-gfx/cura/cura-4.13.1.ebuild b/media-gfx/cura/cura-4.13.1.ebuild new file mode 100644 index 000000000000..060fa6170940 --- /dev/null +++ b/media-gfx/cura/cura-4.13.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake desktop python-single-r1 xdg + +FDM_MATERIALS_PV=4.13.0 +LIBCHARON_PV=4.13.0 +LIBSAVITAR_PV=4.13.0 +PYNEST2D_PV=4.13_beta # never got tagged as 4.13.0 proper +URANIUM_PV=4.13.0 # 4.13.1 is identical and so is not packaged in ::gentoo + +DESCRIPTION="A 3D model slicing application for 3D printing" +HOMEPAGE="https://github.com/Ultimaker/Cura" +SRC_URI="https://github.com/Ultimaker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug test +usb zeroconf" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +BDEPEND="${PYTHON_DEPS} + sys-devel/gettext + $(python_gen_cond_dep ' + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + ') +" +RDEPEND="${PYTHON_DEPS} + ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}] + ~dev-libs/libcharon-${LIBCHARON_PV}[${PYTHON_SINGLE_USEDEP}] + ~dev-libs/libsavitar-${LIBSAVITAR_PV}:=[python,${PYTHON_SINGLE_USEDEP}] + ~dev-python/pynest2d-${PYNEST2D_PV}[${PYTHON_SINGLE_USEDEP}] + ~dev-python/uranium-${URANIUM_PV}[${PYTHON_SINGLE_USEDEP}] + ~media-gfx/curaengine-${PV} + ~media-gfx/fdm-materials-${FDM_MATERIALS_PV} + dev-qt/qtquickcontrols[widgets] + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/mypy[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/PyQt5[-debug,${PYTHON_USEDEP}] + dev-python/PyQt5-sip[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/sentry-sdk[${PYTHON_USEDEP}] + dev-python/trimesh[${PYTHON_USEDEP}] + sci-libs/shapely[${PYTHON_USEDEP}] + usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) + zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] ) + ')" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-4.12.1-code-style-test.patch +) + +DOCS=( README.md ) +S="${WORKDIR}"/Cura-${PV} + +src_prepare() { + sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die + + # Remove failing test. Bug #693172. + rm -r plugins/VersionUpgrade/VersionUpgrade44to45/tests || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCURA_BUILDTYPE="ebuild" + -DCURA_VERSION=${PV} + -DCURA_DEBUGMODE=$(usex debug) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + doicon icons/*.png + python_fix_shebang "${D}/usr/bin/cura" + python_optimize "${D}${get_libdir}" +}