From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8696C158086 for ; Sat, 11 Dec 2021 14:41:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B22192BC001; Sat, 11 Dec 2021 14:41:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1AEB72BC001 for ; Sat, 11 Dec 2021 14:41:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B754E342C21 for ; Sat, 11 Dec 2021 14:41:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97D631AE for ; Sat, 11 Dec 2021 14:41:12 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1639233670.44429a0128b114f807d95827b5eb509b065cc90f.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/vampire/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/vampire/Manifest sci-mathematics/vampire/metadata.xml sci-mathematics/vampire/vampire-4.6.1.ebuild X-VCS-Directories: sci-mathematics/vampire/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 44429a0128b114f807d95827b5eb509b065cc90f X-VCS-Branch: master Date: Sat, 11 Dec 2021 14:41:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a84bb73b-5eeb-46ff-b486-d169de6f3581 X-Archives-Hash: 972ef7a45047b9ddd3c936e2661909a5 commit: 44429a0128b114f807d95827b5eb509b065cc90f Author: Maciej Barć gentoo org> AuthorDate: Sat Dec 11 14:40:09 2021 +0000 Commit: Maciej Barć gentoo org> CommitDate: Sat Dec 11 14:41:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44429a01 sci-mathematics/vampire: new package; add version 4.6.1 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> sci-mathematics/vampire/Manifest | 1 + sci-mathematics/vampire/metadata.xml | 25 +++++++++++++ sci-mathematics/vampire/vampire-4.6.1.ebuild | 53 ++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) diff --git a/sci-mathematics/vampire/Manifest b/sci-mathematics/vampire/Manifest new file mode 100644 index 000000000000..fc80f8c57360 --- /dev/null +++ b/sci-mathematics/vampire/Manifest @@ -0,0 +1 @@ +DIST vampire-4.6.1.tar.gz 1511760 BLAKE2B 52ede8ac009379b15bc57b2ffe45965cbaf772f0e90bc619d859b85b77ce81eadbdd7ddae7c5e0e9cc69564a07f0abefa17109f7192e6afe634a5a929817fe92 SHA512 7ffeee64e9e4666344c0f9155c7e980920666813388416062cee89e43003fef5a8a54b8656cc42d2fa58b6fb3b87ef7f2c671bfc6787075df4058dcc3a1d46e1 diff --git a/sci-mathematics/vampire/metadata.xml b/sci-mathematics/vampire/metadata.xml new file mode 100644 index 000000000000..4785a01c9b05 --- /dev/null +++ b/sci-mathematics/vampire/metadata.xml @@ -0,0 +1,25 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + Vampire is a theorem prover, that is, a system able to prove theorems — + although now it can do much more! Its main focus is in proving theorems in + first-order logic but it can also prove non-theorems and build finite + models, as well as reasoning in combinations of theories, such as + arithmetic, arrays, and datatypes, and with higher-order logic. + The development of Vampire began in 1994 and has survived a number of + rewritings. + + + https://github.com/vprover/vampire/issues/ + vprover/vampire + + + Enable support for sci-mathematics/z3 + + diff --git a/sci-mathematics/vampire/vampire-4.6.1.ebuild b/sci-mathematics/vampire/vampire-4.6.1.ebuild new file mode 100644 index 000000000000..6c99ffab7e31 --- /dev/null +++ b/sci-mathematics/vampire/vampire-4.6.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="The Vampire Prover, theorem prover for first-order logic" +HOMEPAGE="https://vprover.github.io" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vprover/${PN}.git" + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/vprover/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="debug +z3" +# debug mode needs to be enabled for tests +# https://github.com/vprover/vampire/blob/8197e1d2d86a0b276b5fcb6c02d8122f66b7277e/CMakeLists.txt#L38 +RESTRICT="!debug? ( test )" + +RDEPEND=" + z3? ( + dev-libs/gmp:= + sci-mathematics/z3:= + ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local CMAKE_BUILD_TYPE + if use debug; then + CMAKE_BUILD_TYPE=Debug + else + CMAKE_BUILD_TYPE=Release + fi + + local mycmakeargs=( -DZ3_DIR=$(usex z3 "/usr/$(get_libdir)/cmake/z3/" "") ) + cmake_src_configure +} + +src_install() { + local bin_name=$(find "${BUILD_DIR}"/bin/ -type f -name "${PN}*") + dobin "${bin_name}" + dosym $(basename "${bin_name}") /usr/bin/${PN} + + einstalldocs +}