1 |
commit: 047311eee03f21459e4d9641bb91c7372bffdb2b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 13:11:00 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 13:51:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047311ee |
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 | 1 - |
13 |
sci-mathematics/z3/z3-4.9.1-r1.ebuild | 107 ---------------------------------- |
14 |
2 files changed, 108 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/z3/Manifest b/sci-mathematics/z3/Manifest |
17 |
index 8df326aea8d6..c773e99400fa 100644 |
18 |
--- a/sci-mathematics/z3/Manifest |
19 |
+++ b/sci-mathematics/z3/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
DIST z3-4.11.2.tar.gz 5428273 BLAKE2B 85fe5b94c5bfaeaca5b1dfe42fe9763a278c414955a9aed45abbb3e60c366a86bcdcd7c3bdcf27cc67bc10c76700069d548cb1e27ccf3286c8c6eccfa9d492d1 SHA512 be2573d38c0e50b46fcb025d50335e016769fdeab3c26f5dc2a13102fae889d23039258ea8d38de3f53daa4cf073704d8639ac291e781a74633194adedaae21a |
22 |
-DIST z3-4.9.1.tar.gz 5358020 BLAKE2B b707084424b615a43dcefbc395d6cf0519f3d6ea3ab1cc8b34b1810d5eb241afa22eae694e4dfc756fff42179a5dabe10052f88aab02953154ada8334f7e0b64 SHA512 0c44e10d039c3bf16591a7b94e3a3209bc334635106ac7ae4afda95541d13d4fc39214646662683c26b4874846e0d83813215e189ce5422d13f8ce7c2ac4db51 |
23 |
|
24 |
diff --git a/sci-mathematics/z3/z3-4.9.1-r1.ebuild b/sci-mathematics/z3/z3-4.9.1-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 25e2b9ca2cb8..000000000000 |
27 |
--- a/sci-mathematics/z3/z3-4.9.1-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,107 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{8..10} ) |
36 |
- |
37 |
-inherit cmake-multilib java-pkg-opt-2 python-single-r1 |
38 |
- |
39 |
-DESCRIPTION="An efficient theorem prover" |
40 |
-HOMEPAGE="https://github.com/Z3Prover/z3/" |
41 |
-SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz" |
42 |
-S=${WORKDIR}/z3-${P} |
43 |
- |
44 |
-SLOT="0/$(ver_cut 1-2)" |
45 |
-LICENSE="MIT" |
46 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
47 |
-IUSE="doc examples gmp isabelle java python" |
48 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- ${PYTHON_DEPS} |
52 |
- gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] ) |
53 |
-" |
54 |
-DEPEND=" |
55 |
- ${RDEPEND} |
56 |
- java? ( >=virtual/jdk-1.8 ) |
57 |
-" |
58 |
-BDEPEND=" |
59 |
- doc? ( app-doc/doxygen[dot] ) |
60 |
-" |
61 |
- |
62 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
63 |
- |
64 |
-src_prepare() { |
65 |
- cmake_src_prepare |
66 |
- java-pkg-opt-2_src_prepare |
67 |
-} |
68 |
- |
69 |
-multilib_src_configure() { |
70 |
- local mycmakeargs=( |
71 |
- -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
72 |
- -DZ3_USE_LIB_GMP=$(usex gmp) |
73 |
- -DZ3_ENABLE_EXAMPLE_TARGETS=OFF |
74 |
- -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc) |
75 |
- -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python) |
76 |
- -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java) |
77 |
- -DZ3_INCLUDE_GIT_DESCRIBE=OFF |
78 |
- -DZ3_INCLUDE_GIT_HASH=OFF |
79 |
- ) |
80 |
- |
81 |
- multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" ) |
82 |
- |
83 |
- cmake_src_configure |
84 |
-} |
85 |
- |
86 |
-multilib_src_test() { |
87 |
- cmake_build test-z3 |
88 |
- set -- "${BUILD_DIR}"/test-z3 /a |
89 |
- echo "${@}" >&2 |
90 |
- "${@}" || die |
91 |
-} |
92 |
- |
93 |
-multilib_src_install_all() { |
94 |
- dodoc README.md |
95 |
- use examples && dodoc -r examples |
96 |
- use python && python_optimize |
97 |
- |
98 |
- if use isabelle; then |
99 |
- insinto /usr/share/Isabelle/contrib/${P}/etc |
100 |
- newins - settings <<-EOF |
101 |
- Z3_COMPONENT="\$COMPONENT" |
102 |
- Z3_HOME="${EPREFIX}/usr/bin" |
103 |
- Z3_SOLVER="${EPREFIX}/usr/bin/z3" |
104 |
- Z3_REMOTE_SOLVER="z3" |
105 |
- Z3_VERSION="${PV}" |
106 |
- Z3_INSTALLED="yes" |
107 |
- Z3_NON_COMMERCIAL="yes" |
108 |
- EOF |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-pkg_postinst() { |
113 |
- if use isabelle; then |
114 |
- if [[ -f ${ROOT}/etc/isabelle/components ]]; then |
115 |
- sed -e "/contrib\/${PN}-[0-9.]*/d" \ |
116 |
- -i "${ROOT}/etc/isabelle/components" || die |
117 |
- cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die |
118 |
- contrib/${P} |
119 |
- EOF |
120 |
- fi |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-pkg_postrm() { |
125 |
- if use isabelle; then |
126 |
- if [[ ! ${REPLACING_VERSIONS} ]]; then |
127 |
- if [[ -f "${ROOT}/etc/isabelle/components" ]]; then |
128 |
- # Note: this sed should only match the version of this ebuild |
129 |
- # Which is what we want as we do not want to remove the line |
130 |
- # of a new Isabelle component being installed during an upgrade. |
131 |
- sed -e "/contrib\/${P}/d" \ |
132 |
- -i "${ROOT}/etc/isabelle/components" || die |
133 |
- fi |
134 |
- fi |
135 |
- fi |
136 |
-} |