From cbb308be9f9e203cd2a885f43e5f568fddc16cb1 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 23 Jul 2022 19:25:52 +0200 Subject: sci-mathematics/vampire: restrict z3 dep version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/860237 Signed-off-by: Maciej Barć --- sci-mathematics/vampire/vampire-4.6.1-r1.ebuild | 53 +++++++++++++++++++++++++ sci-mathematics/vampire/vampire-4.6.1.ebuild | 53 ------------------------- 2 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 sci-mathematics/vampire/vampire-4.6.1-r1.ebuild delete mode 100644 sci-mathematics/vampire/vampire-4.6.1.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/vampire/vampire-4.6.1-r1.ebuild b/sci-mathematics/vampire/vampire-4.6.1-r1.ebuild new file mode 100644 index 000000000000..2f7ceabc3b2c --- /dev/null +++ b/sci-mathematics/vampire/vampire-4.6.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 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:= +