diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 19:01:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 19:01:15 +0000 |
commit | 36fc50e36ed1a4686bb7202aeaff3170b2206124 (patch) | |
tree | 7b5feb28a3ad8ba78d57f64c93cc796cff95cd53 /sci-mathematics/z3 | |
parent | acc2dacf2ee9a5b03df96da670153f2e3a24d80c (diff) |
gentoo auto-resync : 23:03:2024 - 19:01:14
Diffstat (limited to 'sci-mathematics/z3')
-rw-r--r-- | sci-mathematics/z3/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/z3/z3-4.12.6.ebuild | 119 | ||||
-rw-r--r-- | sci-mathematics/z3/z3-4.13.0.ebuild | 2 |
3 files changed, 2 insertions, 123 deletions
diff --git a/sci-mathematics/z3/Manifest b/sci-mathematics/z3/Manifest index a565bc3e656d..57dd2c2f5826 100644 --- a/sci-mathematics/z3/Manifest +++ b/sci-mathematics/z3/Manifest @@ -1,5 +1,3 @@ -DIST z3-4.12.6.tar.gz 5492517 BLAKE2B 721db0881ec77112ca0461897fa01f2b7e9f8748976f54d1b0c36acc583f74c175d0002cf46261f87c15b2614832700c1e5f94a199767a945041950cc3d9048d SHA512 10883877d20adbd229ad4bf65a9b50660d93d85514f933865f06920efd697f51ce34e502fbe451d4c1b2251f13d597050b8277036d4011d9c0f196111d681f8f DIST z3-4.13.0.tar.gz 5520232 BLAKE2B 0889c03991311c46c361f269b85fb316c0b4be5cee84f1bb420ef640876058431fe5ec00f58a3dc9377ed3a2ea1cd908a8d9731f9575cf0e4a819fe1f50be670 SHA512 8503787fe0b18592b5a131bcec2cacfa5f5096d76386a1c4fda7a836e472924b154433306d27600ff0d0758ddb710c965901fbfc2e5605919b624b9d4d1bc4fd -EBUILD z3-4.12.6.ebuild 2858 BLAKE2B 09cbdc8fc592e03499d1d8108717b60424729a8f384ae48e954372a5da1a69b5d7f00b20537891ee449d64fd6f3419df21b73a8380774d0e869bf42492a4b87c SHA512 5710b3de087309c72d5e7b17f611eb3107962486c405ec4f78da5958564616123c904da8e8db48acc92dd5aa9614531b608623728455b88bb4ca147fe85f7c24 -EBUILD z3-4.13.0.ebuild 2601 BLAKE2B 4c39503c95374125664565b490985c765f39d0426e5949230d4cd671b8fa7bdd02f020332b9f9db80b4ef15bae539ca46cb8228582764bd9a3dd9ef54a1b4a72 SHA512 8db8468a69a23e92e8a373e22965ac19844955b447a9f70b7b048fd831d8a54b310a8cadc9759f749f16832d6e2edaec4a69714f1fe06b3d37dfe6ef717eadad +EBUILD z3-4.13.0.ebuild 2600 BLAKE2B e248e42bbafc75f2f028f1b31239bb9d091e0f12db7291e9fb111525a927600072ae1f20d1b970962d2c8ac97c2e924f778b8664f05ca526ad5f9456f2d86d00 SHA512 8608cc7c51fc342aca9cf1b574b69f1215e60dee5a5894973dd8c4813d5cd0e7cf59a9c8c47e4926b58dac7c8cf4e133be33ff4d6f0db120bc4994b0bdb89d0d MISC metadata.xml 1718 BLAKE2B a94783909c12aa7dd2d5fd1f9d2fc75e20ca91b6abffd6dc020f602e57ef698f7184acaf14def4b6e21bb659e595abd44956ba37a679134d11b523103b0461df SHA512 ed375986a8010a7ae1eadab3107342126194a5513cbb22ce2064ffeff42c7184ea94f4f69017204c73bd61236847475cd1f0d8b3ba369236b26630dc8b2f46a2 diff --git a/sci-mathematics/z3/z3-4.12.6.ebuild b/sci-mathematics/z3/z3-4.12.6.ebuild deleted file mode 100644 index 64ffaff192f5..000000000000 --- a/sci-mathematics/z3/z3-4.12.6.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake-multilib flag-o-matic java-pkg-opt-2 python-single-r1 - -DESCRIPTION="An efficient theorem prover" -HOMEPAGE="https://github.com/Z3Prover/z3/" -SRC_URI="https://github.com/Z3Prover/z3/archive/${P}.tar.gz" -S=${WORKDIR}/z3-${P} - -SLOT="0/$(ver_cut 1-2)" -LICENSE="MIT" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86" -IUSE="doc examples gmp isabelle java python" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - gmp? ( dev-libs/gmp:0=[cxx(+),${MULTILIB_USEDEP}] ) -" -DEPEND=" - ${RDEPEND} - java? ( >=virtual/jdk-1.8 ) -" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) -" - -CMAKE_BUILD_TYPE=RelWithDebInfo - -src_prepare() { - cmake_src_prepare - java-pkg-opt-2_src_prepare -} - -src_configure() { - # -Werror=strict-aliasing - # https://bugs.gentoo.org/879327 - # https://github.com/Z3Prover/z3/issues/7143 - # - # Do not trust it with LTO either. - append-flags -fno-strict-aliasing - filter-lto - - cmake-multilib_src_configure -} - -multilib_src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -DZ3_USE_LIB_GMP=$(usex gmp) - -DZ3_ENABLE_EXAMPLE_TARGETS=OFF - -DZ3_BUILD_DOCUMENTATION=$(multilib_native_usex doc) - -DZ3_BUILD_PYTHON_BINDINGS=$(multilib_native_usex python) - -DZ3_BUILD_JAVA_BINDINGS=$(multilib_native_usex java) - -DZ3_INCLUDE_GIT_DESCRIBE=OFF - -DZ3_INCLUDE_GIT_HASH=OFF - ) - - multilib_is_native_abi && use java && mycmakeargs+=( -DJAVA_HOME="$(java-config -g JAVA_HOME )" ) - - cmake_src_configure -} - -multilib_src_test() { - cmake_build test-z3 - set -- "${BUILD_DIR}"/test-z3 /a - echo "${@}" >&2 - "${@}" || die -} - -multilib_src_install_all() { - dodoc README.md - use examples && dodoc -r examples - use python && python_optimize - - if use isabelle; then - insinto /usr/share/Isabelle/contrib/${P}/etc - newins - settings <<-EOF - Z3_COMPONENT="\$COMPONENT" - Z3_HOME="${EPREFIX}/usr/bin" - Z3_SOLVER="${EPREFIX}/usr/bin/z3" - Z3_REMOTE_SOLVER="z3" - Z3_VERSION="${PV}" - Z3_INSTALLED="yes" - Z3_NON_COMMERCIAL="yes" - EOF - fi -} - -pkg_postinst() { - if use isabelle; then - if [[ -f ${ROOT}/etc/isabelle/components ]]; then - sed -e "/contrib\/${PN}-[0-9.]*/d" \ - -i "${ROOT}/etc/isabelle/components" || die - cat <<-EOF >> "${ROOT}/etc/isabelle/components" || die - contrib/${P} - EOF - fi - fi -} - -pkg_postrm() { - if use isabelle; then - if [[ ! ${REPLACING_VERSIONS} ]]; then - if [[ -f "${ROOT}/etc/isabelle/components" ]]; then - # Note: this sed should only match the version of this ebuild - # Which is what we want as we do not want to remove the line - # of a new Isabelle component being installed during an upgrade. - sed -e "/contrib\/${P}/d" \ - -i "${ROOT}/etc/isabelle/components" || die - fi - fi - fi -} diff --git a/sci-mathematics/z3/z3-4.13.0.ebuild b/sci-mathematics/z3/z3-4.13.0.ebuild index 3ebd68cb57a5..772a73d1b83b 100644 --- a/sci-mathematics/z3/z3-4.13.0.ebuild +++ b/sci-mathematics/z3/z3-4.13.0.ebuild @@ -14,7 +14,7 @@ S=${WORKDIR}/z3-${P} LICENSE="MIT" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv sparc x86" IUSE="doc examples gmp isabelle java python" REQUIRED_USE="${PYTHON_REQUIRED_USE}" |