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: dev-python/uranium/
Date: Mon, 09 May 2022 07:01:00
Message-Id: 1652079649.e6243b760e13e64a44fd187d751a39c79af5c5ca.mgorny@gentoo
1 commit: e6243b760e13e64a44fd187d751a39c79af5c5ca
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 06:58:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 07:00:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6243b76
7
8 dev-python/uranium: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/uranium/Manifest | 2 -
13 dev-python/uranium/uranium-4.12.1.ebuild | 103 -------------------------------
14 dev-python/uranium/uranium-4.9.1.ebuild | 103 -------------------------------
15 3 files changed, 208 deletions(-)
16
17 diff --git a/dev-python/uranium/Manifest b/dev-python/uranium/Manifest
18 index 955910a6060a..47338ce1361d 100644
19 --- a/dev-python/uranium/Manifest
20 +++ b/dev-python/uranium/Manifest
21 @@ -1,3 +1 @@
22 -DIST uranium-4.12.1.tar.gz 1071662 BLAKE2B bb4bbcd9129dcb724a553c327a90619d12c3daaee3468ed194f8ab98f112d503638fd3ba340e67e12268d0aab23bf1cd9b4ee364c0204761949d2a58fbdfcf96 SHA512 bdf118341a52ac957ae8cc0acf2fb2c7381f9082e82c190a038333845ffc0fefa8c92702438898a63ccca9f0add69312b43168b993fcd38fe4f3ee3856b36eb9
23 DIST uranium-4.13.0.tar.gz 1072294 BLAKE2B 3d5110ec4fc6bbfbf085d1f2c177ae19305d7e3828cfe44f7e83aa07397224e3c4e5441f83684f49f21fc6579eb7d3e7fc176eae80c76c3b10354757c01ecc40 SHA512 bba41754670b42eb92826fe1c2380b76afb62d16158c07f960315dbd77c55932d29dff594d71aff8eafc2f58d1aac4a14b0f6fc36a0a352872077b97c0d7f555
24 -DIST uranium-4.9.1.tar.gz 1038046 BLAKE2B 3304e89e0a22fbda0e9e57aaf88f6f11979eb5273d6c8a69f5ec9f050741561f67667a76e2136148808862026e2330f3b5043141ed8d69d255632a8c3c869def SHA512 e665a1ff8ebfc629e4bc2253533a3332d8f8804155432af921ad2e7251d5725daf9346cc5f110595914ac6f0d194db6d7e06dfcd3795b57e35b3d5e6dae594a7
25
26 diff --git a/dev-python/uranium/uranium-4.12.1.ebuild b/dev-python/uranium/uranium-4.12.1.ebuild
27 deleted file mode 100644
28 index 747a5e315bf6..000000000000
29 --- a/dev-python/uranium/uranium-4.12.1.ebuild
30 +++ /dev/null
31 @@ -1,103 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -DISTUTILS_SINGLE_IMPL=1
38 -DISTUTILS_USE_SETUPTOOLS=no
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -
41 -inherit cmake distutils-r1
42 -
43 -MY_PN="Uranium"
44 -
45 -DESCRIPTION="A Python framework for building 3D printing related applications"
46 -HOMEPAGE="https://github.com/Ultimaker/Uranium"
47 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="LGPL-3"
50 -SLOT="0"
51 -KEYWORDS="amd64 ~arm64 ~x86"
52 -IUSE="debug doc test"
53 -
54 -BDEPEND="${PYTHON_DEPS}
55 - sys-devel/gettext
56 - doc? ( app-doc/doxygen[dot] )
57 - test? (
58 - $(python_gen_cond_dep '
59 - dev-python/pytest[${PYTHON_USEDEP}]
60 - dev-python/mypy[${PYTHON_USEDEP}]
61 - dev-python/twisted[${PYTHON_USEDEP}]
62 - ')
63 - )"
64 -
65 -DEPEND="${PYTHON_DEPS}
66 - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
67 - $(python_gen_cond_dep '
68 - dev-python/cryptography[${PYTHON_USEDEP}]
69 - dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg]
70 - dev-python/numpy[${PYTHON_USEDEP}]
71 - >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
72 - sci-libs/shapely[${PYTHON_USEDEP}]
73 - ')"
74 -
75 -RDEPEND="${DEPEND}
76 - dev-qt/qtquickcontrols:5
77 - dev-qt/qtquickcontrols2:5"
78 -
79 -DOCS=( README.md )
80 -
81 -S="${WORKDIR}/${MY_PN}-${PV}"
82 -
83 -distutils_enable_tests pytest
84 -
85 -src_prepare() {
86 - python_fix_shebang .
87 -
88 - if ! use doc ; then
89 - sed -i -e '/add_custom_target(doc/d' CMakeLists.txt || die
90 - fi
91 -
92 - cmake_src_prepare
93 -}
94 -
95 -src_configure() {
96 - local mycmakeargs=(
97 - -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/"
98 - -DGETTEXT_MSGINIT_EXECUTABLE="msginit"
99 - )
100 -
101 - if ! use debug; then
102 - sed -i -e 's logging.DEBUG logging.ERROR g' \
103 - plugins/ConsoleLogger/ConsoleLogger.py \
104 - plugins/FileLogger/FileLogger.py || die
105 - fi
106 -
107 - sed -i \
108 - -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \
109 - CMakeLists.txt cmake/UraniumPluginInstall.cmake
110 -
111 - sed -i \
112 - -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
113 - -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \
114 - cmake/UraniumPluginInstall.cmake
115 -
116 - sed -i \
117 - -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \
118 - -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \
119 - CMakeLists.txt
120 -
121 - cmake_src_configure
122 -}
123 -
124 -src_compile() {
125 - cmake_src_compile
126 -
127 - use doc && cmake_src_compile doc
128 -}
129 -
130 -src_install() {
131 - cmake_src_install
132 -
133 - python_optimize "${ED}"/usr
134 -}
135
136 diff --git a/dev-python/uranium/uranium-4.9.1.ebuild b/dev-python/uranium/uranium-4.9.1.ebuild
137 deleted file mode 100644
138 index 6743e295a230..000000000000
139 --- a/dev-python/uranium/uranium-4.9.1.ebuild
140 +++ /dev/null
141 @@ -1,103 +0,0 @@
142 -# Copyright 1999-2021 Gentoo Authors
143 -# Distributed under the terms of the GNU General Public License v2
144 -
145 -EAPI=7
146 -
147 -DISTUTILS_SINGLE_IMPL=1
148 -DISTUTILS_USE_SETUPTOOLS=no
149 -PYTHON_COMPAT=( python3_{8..10} )
150 -
151 -inherit cmake distutils-r1
152 -
153 -MY_PN="Uranium"
154 -
155 -DESCRIPTION="A Python framework for building 3D printing related applications"
156 -HOMEPAGE="https://github.com/Ultimaker/Uranium"
157 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
158 -
159 -LICENSE="LGPL-3"
160 -SLOT="0"
161 -KEYWORDS="~amd64 ~arm64 ~x86"
162 -IUSE="debug doc test"
163 -
164 -BDEPEND="${PYTHON_DEPS}
165 - sys-devel/gettext
166 - doc? ( app-doc/doxygen[dot] )
167 - test? (
168 - $(python_gen_cond_dep '
169 - dev-python/pytest[${PYTHON_USEDEP}]
170 - dev-python/mypy[${PYTHON_USEDEP}]
171 - dev-python/twisted[${PYTHON_USEDEP}]
172 - ')
173 - )"
174 -
175 -DEPEND="${PYTHON_DEPS}
176 - ~dev-libs/libarcus-${PV}:=[python,${PYTHON_SINGLE_USEDEP}]
177 - $(python_gen_cond_dep '
178 - dev-python/cryptography[${PYTHON_USEDEP}]
179 - dev-python/PyQt5[${PYTHON_USEDEP},declarative,network,svg]
180 - dev-python/numpy[${PYTHON_USEDEP}]
181 - >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
182 - sci-libs/shapely[${PYTHON_USEDEP}]
183 - ')"
184 -
185 -RDEPEND="${DEPEND}
186 - dev-qt/qtquickcontrols:5
187 - dev-qt/qtquickcontrols2:5"
188 -
189 -DOCS=( README.md )
190 -
191 -S="${WORKDIR}/${MY_PN}-${PV}"
192 -
193 -distutils_enable_tests pytest
194 -
195 -src_prepare() {
196 - python_fix_shebang .
197 -
198 - if ! use doc ; then
199 - sed -i -e '/add_custom_target(doc/d' CMakeLists.txt || die
200 - fi
201 -
202 - cmake_src_prepare
203 -}
204 -
205 -src_configure() {
206 - local mycmakeargs=(
207 - -DCURA_BINARY_DATA_DIRECTORY:STRING="/usr/share/cura/"
208 - -DGETTEXT_MSGINIT_EXECUTABLE="msginit"
209 - )
210 -
211 - if ! use debug; then
212 - sed -i -e 's logging.DEBUG logging.ERROR g' \
213 - plugins/ConsoleLogger/ConsoleLogger.py \
214 - plugins/FileLogger/FileLogger.py || die
215 - fi
216 -
217 - sed -i \
218 - -e "s/find_package(PythonInterp 3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED COMPONENTS Interpreter/g" \
219 - CMakeLists.txt cmake/UraniumPluginInstall.cmake
220 -
221 - sed -i \
222 - -e "s/find_package(Python3 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
223 - -e 's/set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})//g' \
224 - cmake/UraniumPluginInstall.cmake
225 -
226 - sed -i \
227 - -e "s lib\${LIB_SUFFIX}/python\${PYTHON_VERSION_MAJOR}.\${PYTHON_VERSION_MINOR}/site-packages $(python_get_sitedir) g" \
228 - -e 's cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} cmake g' \
229 - CMakeLists.txt
230 -
231 - cmake_src_configure
232 -}
233 -
234 -src_compile() {
235 - cmake_src_compile
236 -
237 - use doc && cmake_src_compile doc
238 -}
239 -
240 -src_install() {
241 - cmake_src_install
242 -
243 - python_optimize "${ED}"/usr
244 -}