Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cura/
Date: Mon, 09 May 2022 07:01:01
Message-Id: 1652079647.29d3e495427ebd890457838b0fd94d1117b5cfc6.mgorny@gentoo
1 commit: 29d3e495427ebd890457838b0fd94d1117b5cfc6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 06:56:37 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 07:00:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d3e495
7
8 media-gfx/cura: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 media-gfx/cura/Manifest | 2 -
13 media-gfx/cura/cura-4.12.1.ebuild | 87 --------------------------------------
14 media-gfx/cura/cura-4.13.1.ebuild | 89 ---------------------------------------
15 media-gfx/cura/cura-4.9.1.ebuild | 71 -------------------------------
16 4 files changed, 249 deletions(-)
17
18 diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest
19 index 957f70aed5ef..18fa6ba7e33a 100644
20 --- a/media-gfx/cura/Manifest
21 +++ b/media-gfx/cura/Manifest
22 @@ -1,3 +1 @@
23 -DIST cura-4.12.1.tar.gz 50021408 BLAKE2B 114bbe0cc022e33125486228db2eeaeacd9f4abeac8e65f3ed70231e05f4429062ce1cd49e1649959beb827b7a2d245f61c106529a18bd0cebbd0e8b9b8f883f SHA512 397048e1ed93d2e3ec326a3b0564db2b6ee2b239843346e2dd44470b11b5aea86f3f519534270789e020261c87a0100bf3bba39ddbd3a1d8be0e38e68fd7e0c0
24 DIST cura-4.13.1.tar.gz 42339030 BLAKE2B e5c10ff03e42c0f88a2e7d827bf08f45c57142ca7b1dda6c00ccfbf0fd486dd366db23f00990ac5a021ecbfe038b2ca0247df8ea5130f2ee1efb766efc6f152c SHA512 6483fd6312bd2181cc812bce78aadc7e8532ecf292f09c75ce5e7870f7efddd63e84315ab40eb73c775b15c2ed2ce7fc804fcbefb73b3d8aaac77d8b22f0cbd0
25 -DIST cura-4.9.1.tar.gz 47870392 BLAKE2B 2471c8461f73ad2343f4c3315994c5f63781ae1e49cb4699cd66e7e77c25a93916931fbaa6598c4144707dbc7778c902dad3a25839c0523aaf51ed39aacd2463 SHA512 436b8e33514de67d6d680fe59ab9599a75a86caa7e63fbcd05297b12a435483ec0c9ca90557fe23f25590a24e533294915fc18a665fd5cdb77fcc3a05a9076bf
26
27 diff --git a/media-gfx/cura/cura-4.12.1.ebuild b/media-gfx/cura/cura-4.12.1.ebuild
28 deleted file mode 100644
29 index 1017dfc52e54..000000000000
30 --- a/media-gfx/cura/cura-4.12.1.ebuild
31 +++ /dev/null
32 @@ -1,87 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -PYTHON_COMPAT=( python3_{8..10} )
39 -
40 -inherit cmake desktop python-single-r1 xdg
41 -
42 -MY_PN=Cura
43 -# No fdm-materials-4.12.1 upstream, 4.12.0 is followed by 4.13.0
44 -FDM_PV="4.12.0"
45 -
46 -DESCRIPTION="A 3D model slicing application for 3D printing"
47 -HOMEPAGE="https://github.com/Ultimaker/Cura"
48 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 -
50 -LICENSE="LGPL-3"
51 -SLOT="0"
52 -KEYWORDS="amd64 ~arm64 ~x86"
53 -IUSE="debug test +usb zeroconf"
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -RESTRICT="!test? ( test )"
57 -
58 -BDEPEND="${PYTHON_DEPS}
59 - sys-devel/gettext
60 - $(python_gen_cond_dep '
61 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
62 - ')
63 -"
64 -RDEPEND="${PYTHON_DEPS}
65 - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
66 - ~dev-libs/libcharon-${PV}[${PYTHON_SINGLE_USEDEP}]
67 - ~dev-libs/libsavitar-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
68 - ~dev-python/pynest2d-${PV}[${PYTHON_SINGLE_USEDEP}]
69 - ~dev-python/uranium-${PV}[${PYTHON_SINGLE_USEDEP}]
70 - ~media-gfx/curaengine-${PV}
71 - ~media-gfx/fdm-materials-${FDM_PV}
72 - dev-qt/qtquickcontrols[widgets]
73 - $(python_gen_cond_dep '
74 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
75 - dev-python/keyring[${PYTHON_USEDEP}]
76 - dev-python/mypy[${PYTHON_USEDEP}]
77 - dev-python/numpy[${PYTHON_USEDEP}]
78 - dev-python/PyQt5[-debug,${PYTHON_USEDEP}]
79 - dev-python/PyQt5-sip[${PYTHON_USEDEP}]
80 - dev-python/requests[${PYTHON_USEDEP}]
81 - dev-python/sentry-sdk[${PYTHON_USEDEP}]
82 - dev-python/trimesh[${PYTHON_USEDEP}]
83 - sci-libs/shapely[${PYTHON_USEDEP}]
84 - usb? ( dev-python/pyserial[${PYTHON_USEDEP}] )
85 - zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )
86 - ')"
87 -DEPEND="${RDEPEND}"
88 -
89 -PATCHES=(
90 - "${FILESDIR}"/${PN}-4.12.1-code-style-test.patch
91 -)
92 -
93 -DOCS=(README.md)
94 -S="${WORKDIR}/${MY_PN}-${PV}"
95 -
96 -src_prepare() {
97 - sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die
98 -
99 - # Remove failing test. Bug #693172.
100 - rm -r plugins/VersionUpgrade/VersionUpgrade44to45/tests || die
101 -
102 - cmake_src_prepare
103 -}
104 -
105 -src_configure() {
106 - local mycmakeargs=(
107 - -DCURA_BUILDTYPE="ebuild"
108 - -DCURA_VERSION=${PV}
109 - -DCURA_DEBUGMODE=$(usex debug)
110 - )
111 - cmake_src_configure
112 -}
113 -
114 -src_install() {
115 - cmake_src_install
116 - doicon icons/*.png
117 - python_fix_shebang "${D}/usr/bin/cura"
118 - python_optimize "${D}${get_libdir}"
119 -}
120
121 diff --git a/media-gfx/cura/cura-4.13.1.ebuild b/media-gfx/cura/cura-4.13.1.ebuild
122 deleted file mode 100644
123 index 060fa6170940..000000000000
124 --- a/media-gfx/cura/cura-4.13.1.ebuild
125 +++ /dev/null
126 @@ -1,89 +0,0 @@
127 -# Copyright 1999-2022 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=8
131 -
132 -PYTHON_COMPAT=( python3_{8..10} )
133 -
134 -inherit cmake desktop python-single-r1 xdg
135 -
136 -FDM_MATERIALS_PV=4.13.0
137 -LIBCHARON_PV=4.13.0
138 -LIBSAVITAR_PV=4.13.0
139 -PYNEST2D_PV=4.13_beta # never got tagged as 4.13.0 proper
140 -URANIUM_PV=4.13.0 # 4.13.1 is identical and so is not packaged in ::gentoo
141 -
142 -DESCRIPTION="A 3D model slicing application for 3D printing"
143 -HOMEPAGE="https://github.com/Ultimaker/Cura"
144 -SRC_URI="https://github.com/Ultimaker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
145 -
146 -LICENSE="LGPL-3"
147 -SLOT="0"
148 -KEYWORDS="~amd64 ~arm64 ~x86"
149 -IUSE="debug test +usb zeroconf"
150 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
151 -
152 -RESTRICT="!test? ( test )"
153 -
154 -BDEPEND="${PYTHON_DEPS}
155 - sys-devel/gettext
156 - $(python_gen_cond_dep '
157 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )
158 - ')
159 -"
160 -RDEPEND="${PYTHON_DEPS}
161 - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
162 - ~dev-libs/libcharon-${LIBCHARON_PV}[${PYTHON_SINGLE_USEDEP}]
163 - ~dev-libs/libsavitar-${LIBSAVITAR_PV}:=[python,${PYTHON_SINGLE_USEDEP}]
164 - ~dev-python/pynest2d-${PYNEST2D_PV}[${PYTHON_SINGLE_USEDEP}]
165 - ~dev-python/uranium-${URANIUM_PV}[${PYTHON_SINGLE_USEDEP}]
166 - ~media-gfx/curaengine-${PV}
167 - ~media-gfx/fdm-materials-${FDM_MATERIALS_PV}
168 - dev-qt/qtquickcontrols[widgets]
169 - $(python_gen_cond_dep '
170 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
171 - dev-python/keyring[${PYTHON_USEDEP}]
172 - dev-python/mypy[${PYTHON_USEDEP}]
173 - dev-python/numpy[${PYTHON_USEDEP}]
174 - dev-python/PyQt5[-debug,${PYTHON_USEDEP}]
175 - dev-python/PyQt5-sip[${PYTHON_USEDEP}]
176 - dev-python/requests[${PYTHON_USEDEP}]
177 - dev-python/sentry-sdk[${PYTHON_USEDEP}]
178 - dev-python/trimesh[${PYTHON_USEDEP}]
179 - sci-libs/shapely[${PYTHON_USEDEP}]
180 - usb? ( dev-python/pyserial[${PYTHON_USEDEP}] )
181 - zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )
182 - ')"
183 -DEPEND="${RDEPEND}"
184 -
185 -PATCHES=(
186 - "${FILESDIR}"/${PN}-4.12.1-code-style-test.patch
187 -)
188 -
189 -DOCS=( README.md )
190 -S="${WORKDIR}"/Cura-${PV}
191 -
192 -src_prepare() {
193 - sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die
194 -
195 - # Remove failing test. Bug #693172.
196 - rm -r plugins/VersionUpgrade/VersionUpgrade44to45/tests || die
197 -
198 - cmake_src_prepare
199 -}
200 -
201 -src_configure() {
202 - local mycmakeargs=(
203 - -DCURA_BUILDTYPE="ebuild"
204 - -DCURA_VERSION=${PV}
205 - -DCURA_DEBUGMODE=$(usex debug)
206 - )
207 - cmake_src_configure
208 -}
209 -
210 -src_install() {
211 - cmake_src_install
212 - doicon icons/*.png
213 - python_fix_shebang "${D}/usr/bin/cura"
214 - python_optimize "${D}${get_libdir}"
215 -}
216
217 diff --git a/media-gfx/cura/cura-4.9.1.ebuild b/media-gfx/cura/cura-4.9.1.ebuild
218 deleted file mode 100644
219 index 219edd85cc71..000000000000
220 --- a/media-gfx/cura/cura-4.9.1.ebuild
221 +++ /dev/null
222 @@ -1,71 +0,0 @@
223 -# Copyright 1999-2022 Gentoo Authors
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=7
227 -
228 -PYTHON_COMPAT=( python3_{8..9} )
229 -inherit cmake desktop python-single-r1 xdg
230 -
231 -MY_PN=Cura
232 -
233 -DESCRIPTION="A 3D model slicing application for 3D printing"
234 -HOMEPAGE="https://github.com/Ultimaker/Cura"
235 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
236 -
237 -LICENSE="LGPL-3"
238 -SLOT="0"
239 -KEYWORDS="~amd64 ~arm64 ~x86"
240 -IUSE="debug +usb zeroconf"
241 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
242 -
243 -BDEPEND="sys-devel/gettext"
244 -RDEPEND="${PYTHON_DEPS}
245 - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
246 - ~dev-libs/libcharon-${PV}[${PYTHON_SINGLE_USEDEP}]
247 - ~dev-libs/libsavitar-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
248 - ~dev-python/pynest2d-${PV}[${PYTHON_SINGLE_USEDEP}]
249 - ~dev-python/uranium-${PV}[${PYTHON_SINGLE_USEDEP}]
250 - ~media-gfx/curaengine-${PV}
251 - ~media-gfx/fdm-materials-${PV}
252 - dev-qt/qtquickcontrols[widgets]
253 - $(python_gen_cond_dep '
254 - dev-python/importlib_metadata[${PYTHON_USEDEP}]
255 - dev-python/keyring[${PYTHON_USEDEP}]
256 - dev-python/mypy[${PYTHON_USEDEP}]
257 - dev-python/numpy[${PYTHON_USEDEP}]
258 - dev-python/PyQt5[-debug,${PYTHON_USEDEP}]
259 - dev-python/PyQt5-sip[${PYTHON_USEDEP}]
260 - dev-python/requests[${PYTHON_USEDEP}]
261 - dev-python/sentry-sdk[${PYTHON_USEDEP}]
262 - sci-libs/shapely[${PYTHON_USEDEP}]
263 - usb? ( dev-python/pyserial[${PYTHON_USEDEP}] )
264 - zeroconf? ( dev-python/zeroconf[${PYTHON_USEDEP}] )
265 - ')"
266 -DEPEND="${RDEPEND}"
267 -
268 -DOCS=(README.md)
269 -S="${WORKDIR}/${MY_PN}-${PV}"
270 -
271 -src_prepare() {
272 - sed -i -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" CMakeLists.txt || die
273 -
274 - cmake_src_prepare
275 -}
276 -
277 -src_configure() {
278 - # trimesh not available in portage
279 - local mycmakeargs=(
280 - -DCURA_BUILDTYPE="ebuild"
281 - -DCURA_VERSION=${PV}
282 - -DCURA_NO_INSTALL_PLUGINS="AMFReader;Toolbox;TrimeshReader"
283 - -DCURA_DEBUGMODE=$(usex debug)
284 - )
285 - cmake_src_configure
286 -}
287 -
288 -src_install() {
289 - cmake_src_install
290 - doicon icons/*.png
291 - python_fix_shebang "${D}/usr/bin/cura"
292 - python_optimize "${D}${get_libdir}"
293 -}