commit: caa3e0c2f34c0b0f0d3f73a89dea0ddc6c9cfea2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Sat Aug 12 12:38:30 2023 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Sat Aug 12 12:42:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caa3e0c2
media-gfx/cura: treeclean Closes: https://bugs.gentoo.org/896982 Closes: https://bugs.gentoo.org/905769 Closes: https://bugs.gentoo.org/864109 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> media-gfx/cura/Manifest | 1 - media-gfx/cura/cura-4.13.1-r1.ebuild | 89 ---------------------- .../cura/files/cura-4.12.1-code-style-test.patch | 18 ----- media-gfx/cura/metadata.xml | 27 ------- profiles/package.mask | 9 --- 5 files changed, 144 deletions(-) diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest deleted file mode 100644 index 18fa6ba7e33a..000000000000 --- a/media-gfx/cura/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cura-4.13.1.tar.gz 42339030 BLAKE2B e5c10ff03e42c0f88a2e7d827bf08f45c57142ca7b1dda6c00ccfbf0fd486dd366db23f00990ac5a021ecbfe038b2ca0247df8ea5130f2ee1efb766efc6f152c SHA512 6483fd6312bd2181cc812bce78aadc7e8532ecf292f09c75ce5e7870f7efddd63e84315ab40eb73c775b15c2ed2ce7fc804fcbefb73b3d8aaac77d8b22f0cbd0 diff --git a/media-gfx/cura/cura-4.13.1-r1.ebuild b/media-gfx/cura/cura-4.13.1-r1.ebuild deleted file mode 100644 index f7135c103b28..000000000000 --- a/media-gfx/cura/cura-4.13.1-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..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/shapely[${PYTHON_USEDEP}] - dev-python/trimesh[${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}" -} diff --git a/media-gfx/cura/files/cura-4.12.1-code-style-test.patch b/media-gfx/cura/files/cura-4.12.1-code-style-test.patch deleted file mode 100644 index dd17c6e6188a..000000000000 --- a/media-gfx/cura/files/cura-4.12.1-code-style-test.patch +++ /dev/null @@ -1,18 +0,0 @@ -This is a test for developers, not end users. - ---- a/cmake/CuraTests.cmake -+++ b/cmake/CuraTests.cmake -@@ -50,13 +50,6 @@ - endfunction() - - --#Add code style test. --add_test( -- NAME "code-style" -- COMMAND ${Python3_EXECUTABLE} run_mypy.py -- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} --) -- - #Add test for import statements which are not compatible with all builds - add_test( - NAME "invalid-imports" diff --git a/media-gfx/cura/metadata.xml b/media-gfx/cura/metadata.xml deleted file mode 100644 index 8857a09726ef..000000000000 --- a/media-gfx/cura/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo 3D Printer Project</name> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>[email protected]</email> - <name>Mathy Vanvoorden</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>[email protected]</email> - <name>Proxy Maintainers</name> - </maintainer> - <slots> - <subslots>soname major version number</subslots> - </slots> - <use> - <flag name="usb">Access 3D printers via USB</flag> - </use> - <upstream> - <bugs-to>https://github.com/Ultimaker/Cura/issues</bugs-to> - <doc>https://github.com/Ultimaker/Cura/wiki</doc> - <remote-id type="github">Ultimaker/Cura</remote-id> - </upstream> -</pkgmetadata> diff --git a/profiles/package.mask b/profiles/package.mask index 94d40c4e727b..b8a568fdb061 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -475,15 +475,6 @@ app-portage/layman # reverse dependencies are fixed. Tracker bug is bug #906077. =dev-libs/libfmt-10* -# Michał Górny <[email protected]> (2023-05-05) -# The Gentoo packages are severely out of date, and they haven't been -# ported to Python 3.11. They are hard to keep working, and there -# are better alternatives available. The suggested replacements are: -# media-gfx/prusaslicer, media-gfx/superslicer and orcaslicer -# (not packaged). -# Removal on 2023-08-04. Bug #905769. -media-gfx/cura - # Sam James <[email protected]> (2023-05-03) # Broken pkgconfig file, please upgrade to -r1. # bug #704348, bug #905632, bug #905822
