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: sci-mathematics/z3/
Date: Fri, 23 Sep 2022 10:05:22
Message-Id: 1663927500.61571227a2c6b1a87215f5eceb6865cedab8fa4c.mgorny@gentoo
1 commit: 61571227a2c6b1a87215f5eceb6865cedab8fa4c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 10:05:00 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 10:05:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61571227
7
8 sci-mathematics/z3: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sci-mathematics/z3/Manifest | 4 --
13 sci-mathematics/z3/z3-4.10.1.ebuild | 107 ------------------------------------
14 sci-mathematics/z3/z3-4.10.2.ebuild | 107 ------------------------------------
15 sci-mathematics/z3/z3-4.11.0.ebuild | 107 ------------------------------------
16 sci-mathematics/z3/z3-4.8.17.ebuild | 107 ------------------------------------
17 5 files changed, 432 deletions(-)
18
19 diff --git a/sci-mathematics/z3/Manifest b/sci-mathematics/z3/Manifest
20 index c688dbcecdac..8df326aea8d6 100644
21 --- a/sci-mathematics/z3/Manifest
22 +++ b/sci-mathematics/z3/Manifest
23 @@ -1,6 +1,2 @@
24 -DIST z3-4.10.1.tar.gz 5366092 BLAKE2B 2b857b7a1b3b71e0b7d2c55b8971fb27115f65b6995e0330786d24badfae563e4a63140790c197255ec566b78ff699c5f0aac99ffeb5eb45c05b2175f3395c20 SHA512 6c8e9f074d4b87f9388384d10dcde51fbdf0e1ee58cf2a5d321e3779ac5054a0ec7bfed3df4f8d3563c457ca7f5189ca310909656e500b6a8803f0df2c693baf
25 -DIST z3-4.10.2.tar.gz 5367336 BLAKE2B e710dd3ee34e6ef69a1858281f59e96acdea052fe8ee4f1f2e112189d9aac9323fb1d907b9eff22bd9c179846ce1fd98847bab63fe36a67b13c682108eae2019 SHA512 d0e54036d403d124a7bbf4cf8de9fd9159bab5151f875b546474563811dfb259bc46650df950802031a180375745fb589acbc79d0065944f0631df378dd6d0c3
26 -DIST z3-4.11.0.tar.gz 5392300 BLAKE2B 5b59efdf74d5d358daf23f877a090b240909eab14bebb9f23c68c7eb7fb7f2258afc049665061f61d10c1e092382f707f094f12c20f33c7e06c7939275b231d0 SHA512 a3fd7e013948de6683b16aca03641bb845d02187152bebdee8c62c2a3f80a7710a1d3b9aef9c1490c2340571bb225f457928ac57a2ed28c0084ced34bcf3e905
27 DIST z3-4.11.2.tar.gz 5428273 BLAKE2B 85fe5b94c5bfaeaca5b1dfe42fe9763a278c414955a9aed45abbb3e60c366a86bcdcd7c3bdcf27cc67bc10c76700069d548cb1e27ccf3286c8c6eccfa9d492d1 SHA512 be2573d38c0e50b46fcb025d50335e016769fdeab3c26f5dc2a13102fae889d23039258ea8d38de3f53daa4cf073704d8639ac291e781a74633194adedaae21a
28 -DIST z3-4.8.17.tar.gz 5232392 BLAKE2B 80dbb5d48811eb6022c0d0117d1e954bae7b27ff984f24cdfbc9158eb548349f817f30ea231d1119aadeedaec63765834bff6f6d21276d0bf61c30212444f224 SHA512 95517014ec1798c2552253dd5cde6f955896ab297a4f56294f4bc6f2c5428069015f513c6eb9a090a809cfcf4cb1cc38cc83818f19b5b1051e4e6c06f973747d
29 DIST z3-4.9.1.tar.gz 5358020 BLAKE2B b707084424b615a43dcefbc395d6cf0519f3d6ea3ab1cc8b34b1810d5eb241afa22eae694e4dfc756fff42179a5dabe10052f88aab02953154ada8334f7e0b64 SHA512 0c44e10d039c3bf16591a7b94e3a3209bc334635106ac7ae4afda95541d13d4fc39214646662683c26b4874846e0d83813215e189ce5422d13f8ce7c2ac4db51
30
31 diff --git a/sci-mathematics/z3/z3-4.10.1.ebuild b/sci-mathematics/z3/z3-4.10.1.ebuild
32 deleted file mode 100644
33 index 25e2b9ca2cb8..000000000000
34 --- a/sci-mathematics/z3/z3-4.10.1.ebuild
35 +++ /dev/null
36 @@ -1,107 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -PYTHON_COMPAT=( python3_{8..10} )
43 -
44 -inherit cmake-multilib java-pkg-opt-2 python-single-r1
45 -
46 -DESCRIPTION="An efficient theorem prover"
47 -HOMEPAGE="https://github.com/Z3Prover/z3/"
48 -SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz"
49 -S=${WORKDIR}/z3-${P}
50 -
51 -SLOT="0/$(ver_cut 1-2)"
52 -LICENSE="MIT"
53 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
54 -IUSE="doc examples gmp isabelle java python"
55 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
56 -
57 -RDEPEND="
58 - ${PYTHON_DEPS}
59 - gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] )
60 -"
61 -DEPEND="
62 - ${RDEPEND}
63 - java? ( >=virtual/jdk-1.8 )
64 -"
65 -BDEPEND="
66 - doc? ( app-doc/doxygen[dot] )
67 -"
68 -
69 -CMAKE_BUILD_TYPE=RelWithDebInfo
70 -
71 -src_prepare() {
72 - cmake_src_prepare
73 - java-pkg-opt-2_src_prepare
74 -}
75 -
76 -multilib_src_configure() {
77 - local mycmakeargs=(
78 - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
79 - -DZ3_USE_LIB_GMP=$(usex gmp)
80 - -DZ3_ENABLE_EXAMPLE_TARGETS=OFF
81 - -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc)
82 - -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python)
83 - -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java)
84 - -DZ3_INCLUDE_GIT_DESCRIBE=OFF
85 - -DZ3_INCLUDE_GIT_HASH=OFF
86 - )
87 -
88 - multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" )
89 -
90 - cmake_src_configure
91 -}
92 -
93 -multilib_src_test() {
94 - cmake_build test-z3
95 - set -- "${BUILD_DIR}"/test-z3 /a
96 - echo "${@}" >&2
97 - "${@}" || die
98 -}
99 -
100 -multilib_src_install_all() {
101 - dodoc README.md
102 - use examples && dodoc -r examples
103 - use python && python_optimize
104 -
105 - if use isabelle; then
106 - insinto /usr/share/Isabelle/contrib/${P}/etc
107 - newins - settings <<-EOF
108 - Z3_COMPONENT="\$COMPONENT"
109 - Z3_HOME="${EPREFIX}/usr/bin"
110 - Z3_SOLVER="${EPREFIX}/usr/bin/z3"
111 - Z3_REMOTE_SOLVER="z3"
112 - Z3_VERSION="${PV}"
113 - Z3_INSTALLED="yes"
114 - Z3_NON_COMMERCIAL="yes"
115 - EOF
116 - fi
117 -}
118 -
119 -pkg_postinst() {
120 - if use isabelle; then
121 - if [[ -f ${ROOT}/etc/isabelle/components ]]; then
122 - sed -e "/contrib\/${PN}-[0-9.]*/d" \
123 - -i "${ROOT}/etc/isabelle/components" || die
124 - cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die
125 - contrib/${P}
126 - EOF
127 - fi
128 - fi
129 -}
130 -
131 -pkg_postrm() {
132 - if use isabelle; then
133 - if [[ ! ${REPLACING_VERSIONS} ]]; then
134 - if [[ -f "${ROOT}/etc/isabelle/components" ]]; then
135 - # Note: this sed should only match the version of this ebuild
136 - # Which is what we want as we do not want to remove the line
137 - # of a new Isabelle component being installed during an upgrade.
138 - sed -e "/contrib\/${P}/d" \
139 - -i "${ROOT}/etc/isabelle/components" || die
140 - fi
141 - fi
142 - fi
143 -}
144
145 diff --git a/sci-mathematics/z3/z3-4.10.2.ebuild b/sci-mathematics/z3/z3-4.10.2.ebuild
146 deleted file mode 100644
147 index 16e3a209e6d1..000000000000
148 --- a/sci-mathematics/z3/z3-4.10.2.ebuild
149 +++ /dev/null
150 @@ -1,107 +0,0 @@
151 -# Copyright 1999-2022 Gentoo Authors
152 -# Distributed under the terms of the GNU General Public License v2
153 -
154 -EAPI=8
155 -
156 -PYTHON_COMPAT=( python3_{8..10} )
157 -
158 -inherit cmake-multilib java-pkg-opt-2 python-single-r1
159 -
160 -DESCRIPTION="An efficient theorem prover"
161 -HOMEPAGE="https://github.com/Z3Prover/z3/"
162 -SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz"
163 -S=${WORKDIR}/z3-${P}
164 -
165 -SLOT="0/$(ver_cut 1-2)"
166 -LICENSE="MIT"
167 -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
168 -IUSE="doc examples gmp isabelle java python"
169 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
170 -
171 -RDEPEND="
172 - ${PYTHON_DEPS}
173 - gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] )
174 -"
175 -DEPEND="
176 - ${RDEPEND}
177 - java? ( >=virtual/jdk-1.8 )
178 -"
179 -BDEPEND="
180 - doc? ( app-doc/doxygen[dot] )
181 -"
182 -
183 -CMAKE_BUILD_TYPE=RelWithDebInfo
184 -
185 -src_prepare() {
186 - cmake_src_prepare
187 - java-pkg-opt-2_src_prepare
188 -}
189 -
190 -multilib_src_configure() {
191 - local mycmakeargs=(
192 - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
193 - -DZ3_USE_LIB_GMP=$(usex gmp)
194 - -DZ3_ENABLE_EXAMPLE_TARGETS=OFF
195 - -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc)
196 - -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python)
197 - -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java)
198 - -DZ3_INCLUDE_GIT_DESCRIBE=OFF
199 - -DZ3_INCLUDE_GIT_HASH=OFF
200 - )
201 -
202 - multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" )
203 -
204 - cmake_src_configure
205 -}
206 -
207 -multilib_src_test() {
208 - cmake_build test-z3
209 - set -- "${BUILD_DIR}"/test-z3 /a
210 - echo "${@}" >&2
211 - "${@}" || die
212 -}
213 -
214 -multilib_src_install_all() {
215 - dodoc README.md
216 - use examples && dodoc -r examples
217 - use python && python_optimize
218 -
219 - if use isabelle; then
220 - insinto /usr/share/Isabelle/contrib/${P}/etc
221 - newins - settings <<-EOF
222 - Z3_COMPONENT="\$COMPONENT"
223 - Z3_HOME="${EPREFIX}/usr/bin"
224 - Z3_SOLVER="${EPREFIX}/usr/bin/z3"
225 - Z3_REMOTE_SOLVER="z3"
226 - Z3_VERSION="${PV}"
227 - Z3_INSTALLED="yes"
228 - Z3_NON_COMMERCIAL="yes"
229 - EOF
230 - fi
231 -}
232 -
233 -pkg_postinst() {
234 - if use isabelle; then
235 - if [[ -f ${ROOT}/etc/isabelle/components ]]; then
236 - sed -e "/contrib\/${PN}-[0-9.]*/d" \
237 - -i "${ROOT}/etc/isabelle/components" || die
238 - cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die
239 - contrib/${P}
240 - EOF
241 - fi
242 - fi
243 -}
244 -
245 -pkg_postrm() {
246 - if use isabelle; then
247 - if [[ ! ${REPLACING_VERSIONS} ]]; then
248 - if [[ -f "${ROOT}/etc/isabelle/components" ]]; then
249 - # Note: this sed should only match the version of this ebuild
250 - # Which is what we want as we do not want to remove the line
251 - # of a new Isabelle component being installed during an upgrade.
252 - sed -e "/contrib\/${P}/d" \
253 - -i "${ROOT}/etc/isabelle/components" || die
254 - fi
255 - fi
256 - fi
257 -}
258
259 diff --git a/sci-mathematics/z3/z3-4.11.0.ebuild b/sci-mathematics/z3/z3-4.11.0.ebuild
260 deleted file mode 100644
261 index 4c7fa51d483e..000000000000
262 --- a/sci-mathematics/z3/z3-4.11.0.ebuild
263 +++ /dev/null
264 @@ -1,107 +0,0 @@
265 -# Copyright 1999-2022 Gentoo Authors
266 -# Distributed under the terms of the GNU General Public License v2
267 -
268 -EAPI=8
269 -
270 -PYTHON_COMPAT=( python3_{8..11} )
271 -
272 -inherit cmake-multilib java-pkg-opt-2 python-single-r1
273 -
274 -DESCRIPTION="An efficient theorem prover"
275 -HOMEPAGE="https://github.com/Z3Prover/z3/"
276 -SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz"
277 -S=${WORKDIR}/z3-${P}
278 -
279 -SLOT="0/$(ver_cut 1-2)"
280 -LICENSE="MIT"
281 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
282 -IUSE="doc examples gmp isabelle java python"
283 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
284 -
285 -RDEPEND="
286 - ${PYTHON_DEPS}
287 - gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] )
288 -"
289 -DEPEND="
290 - ${RDEPEND}
291 - java? ( >=virtual/jdk-1.8 )
292 -"
293 -BDEPEND="
294 - doc? ( app-doc/doxygen[dot] )
295 -"
296 -
297 -CMAKE_BUILD_TYPE=RelWithDebInfo
298 -
299 -src_prepare() {
300 - cmake_src_prepare
301 - java-pkg-opt-2_src_prepare
302 -}
303 -
304 -multilib_src_configure() {
305 - local mycmakeargs=(
306 - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
307 - -DZ3_USE_LIB_GMP=$(usex gmp)
308 - -DZ3_ENABLE_EXAMPLE_TARGETS=OFF
309 - -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc)
310 - -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python)
311 - -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java)
312 - -DZ3_INCLUDE_GIT_DESCRIBE=OFF
313 - -DZ3_INCLUDE_GIT_HASH=OFF
314 - )
315 -
316 - multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" )
317 -
318 - cmake_src_configure
319 -}
320 -
321 -multilib_src_test() {
322 - cmake_build test-z3
323 - set -- "${BUILD_DIR}"/test-z3 /a
324 - echo "${@}" >&2
325 - "${@}" || die
326 -}
327 -
328 -multilib_src_install_all() {
329 - dodoc README.md
330 - use examples && dodoc -r examples
331 - use python && python_optimize
332 -
333 - if use isabelle; then
334 - insinto /usr/share/Isabelle/contrib/${P}/etc
335 - newins - settings <<-EOF
336 - Z3_COMPONENT="\$COMPONENT"
337 - Z3_HOME="${EPREFIX}/usr/bin"
338 - Z3_SOLVER="${EPREFIX}/usr/bin/z3"
339 - Z3_REMOTE_SOLVER="z3"
340 - Z3_VERSION="${PV}"
341 - Z3_INSTALLED="yes"
342 - Z3_NON_COMMERCIAL="yes"
343 - EOF
344 - fi
345 -}
346 -
347 -pkg_postinst() {
348 - if use isabelle; then
349 - if [[ -f ${ROOT}/etc/isabelle/components ]]; then
350 - sed -e "/contrib\/${PN}-[0-9.]*/d" \
351 - -i "${ROOT}/etc/isabelle/components" || die
352 - cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die
353 - contrib/${P}
354 - EOF
355 - fi
356 - fi
357 -}
358 -
359 -pkg_postrm() {
360 - if use isabelle; then
361 - if [[ ! ${REPLACING_VERSIONS} ]]; then
362 - if [[ -f "${ROOT}/etc/isabelle/components" ]]; then
363 - # Note: this sed should only match the version of this ebuild
364 - # Which is what we want as we do not want to remove the line
365 - # of a new Isabelle component being installed during an upgrade.
366 - sed -e "/contrib\/${P}/d" \
367 - -i "${ROOT}/etc/isabelle/components" || die
368 - fi
369 - fi
370 - fi
371 -}
372
373 diff --git a/sci-mathematics/z3/z3-4.8.17.ebuild b/sci-mathematics/z3/z3-4.8.17.ebuild
374 deleted file mode 100644
375 index d3d41342bf18..000000000000
376 --- a/sci-mathematics/z3/z3-4.8.17.ebuild
377 +++ /dev/null
378 @@ -1,107 +0,0 @@
379 -# Copyright 1999-2022 Gentoo Authors
380 -# Distributed under the terms of the GNU General Public License v2
381 -
382 -EAPI=8
383 -
384 -PYTHON_COMPAT=( python3_{8..10} )
385 -
386 -inherit cmake-multilib java-pkg-opt-2 python-single-r1
387 -
388 -DESCRIPTION="An efficient theorem prover"
389 -HOMEPAGE="https://github.com/Z3Prover/z3/"
390 -SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz"
391 -S=${WORKDIR}/z3-${P}
392 -
393 -SLOT="0/4.8"
394 -LICENSE="MIT"
395 -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv sparc x86"
396 -IUSE="doc examples gmp isabelle java python"
397 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
398 -
399 -RDEPEND="
400 - ${PYTHON_DEPS}
401 - gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] )
402 -"
403 -DEPEND="
404 - ${RDEPEND}
405 - java? ( >=virtual/jdk-1.8 )
406 -"
407 -BDEPEND="
408 - doc? ( app-doc/doxygen[dot] )
409 -"
410 -
411 -CMAKE_BUILD_TYPE=RelWithDebInfo
412 -
413 -src_prepare() {
414 - cmake_src_prepare
415 - java-pkg-opt-2_src_prepare
416 -}
417 -
418 -multilib_src_configure() {
419 - local mycmakeargs=(
420 - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
421 - -DZ3_USE_LIB_GMP=$(usex gmp)
422 - -DZ3_ENABLE_EXAMPLE_TARGETS=OFF
423 - -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc)
424 - -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python)
425 - -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java)
426 - -DZ3_INCLUDE_GIT_DESCRIBE=OFF
427 - -DZ3_INCLUDE_GIT_HASH=OFF
428 - )
429 -
430 - multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" )
431 -
432 - cmake_src_configure
433 -}
434 -
435 -multilib_src_test() {
436 - cmake_build test-z3
437 - set -- "${BUILD_DIR}"/test-z3 /a
438 - echo "${@}" >&2
439 - "${@}" || die
440 -}
441 -
442 -multilib_src_install_all() {
443 - dodoc README.md RELEASE_NOTES
444 - use examples && dodoc -r examples
445 - use python && python_optimize
446 -
447 - if use isabelle; then
448 - insinto /usr/share/Isabelle/contrib/${P}/etc
449 - newins - settings <<-EOF
450 - Z3_COMPONENT="\$COMPONENT"
451 - Z3_HOME="${EPREFIX}/usr/bin"
452 - Z3_SOLVER="${EPREFIX}/usr/bin/z3"
453 - Z3_REMOTE_SOLVER="z3"
454 - Z3_VERSION="${PV}"
455 - Z3_INSTALLED="yes"
456 - Z3_NON_COMMERCIAL="yes"
457 - EOF
458 - fi
459 -}
460 -
461 -pkg_postinst() {
462 - if use isabelle; then
463 - if [[ -f ${ROOT}/etc/isabelle/components ]]; then
464 - sed -e "/contrib\/${PN}-[0-9.]*/d" \
465 - -i "${ROOT}/etc/isabelle/components" || die
466 - cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die
467 - contrib/${P}
468 - EOF
469 - fi
470 - fi
471 -}
472 -
473 -pkg_postrm() {
474 - if use isabelle; then
475 - if [[ ! ${REPLACING_VERSIONS} ]]; then
476 - if [[ -f "${ROOT}/etc/isabelle/components" ]]; then
477 - # Note: this sed should only match the version of this ebuild
478 - # Which is what we want as we do not want to remove the line
479 - # of a new Isabelle component being installed during an upgrade.
480 - sed -e "/contrib\/${P}/d" \
481 - -i "${ROOT}/etc/isabelle/components" || die
482 - fi
483 - fi
484 - fi
485 -}