public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/alt-ergo/
Date: Sun,  4 Jun 2023 13:39:44 +0000 (UTC)	[thread overview]
Message-ID: <1685885981.9403cd78844f9495e3feade4ae9348a95f8c718b.xgqt@gentoo> (raw)

commit:     9403cd78844f9495e3feade4ae9348a95f8c718b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 13:24:37 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 13:39:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9403cd78

sci-mathematics/alt-ergo: add live version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sci-mathematics/alt-ergo/alt-ergo-9999.ebuild | 76 +++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

diff --git a/sci-mathematics/alt-ergo/alt-ergo-9999.ebuild b/sci-mathematics/alt-ergo/alt-ergo-9999.ebuild
new file mode 100644
index 000000000000..1ba42319bb6c
--- /dev/null
+++ b/sci-mathematics/alt-ergo/alt-ergo-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Automatic theorem prover"
+HOMEPAGE="https://alt-ergo.ocamlpro.com
+	https://github.com/OCamlPro/alt-ergo/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/OCamlPro/${PN}.git"
+else
+	SRC_URI="https://github.com/OCamlPro/${PN}/archive/${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="CeCILL-C"
+SLOT="0/${PV}"
+IUSE="examples gui +ocamlopt"
+REQUIRED_USE="ocamlopt"
+
+RDEPEND="
+	>=dev-lang/ocaml-4.09.0:=[ocamlopt=]
+	>=sci-mathematics/psmt2-frontend-0.4.0:=
+
+	>=dev-ml/cmdliner-1.1.0:=
+	>=dev-ml/menhir-20181006:=
+	>=dev-ml/ocplib-simplex-0.4:=
+	dev-ml/camlzip:=
+	dev-ml/num:=
+	dev-ml/stdlib-shims:=
+	dev-ml/zarith:=
+	gui? (
+		dev-ml/lablgtk:3
+		dev-ml/lablgtk-sourceview:3
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-ml/dune-build-info
+	dev-ml/dune-configurator
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.4.3-dune.patch )
+
+OCAML_SUBPACKAGES=(
+	alt-ergo-lib
+	alt-ergo-parsers
+	alt-ergo
+)
+
+src_prepare() {
+	default
+
+	if use gui ; then
+		OCAML_SUBPACKAGES+=( altgr-ergo )
+	fi
+}
+
+src_configure() {
+	sh ./configure --prefix /usr --libdir=/usr/$(get_libdir) || die
+}
+
+src_compile() {
+	dune-compile ${OCAML_SUBPACKAGES[@]}
+}
+
+src_install() {
+	dune-install ${OCAML_SUBPACKAGES[@]}
+
+	use examples && dodoc -r examples
+}


             reply	other threads:[~2023-06-04 13:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04 13:39 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-25  6:03 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/alt-ergo/ Alfredo Tupone
2025-02-15 12:32 Alfredo Tupone
2024-07-17 15:46 Maciej Barć
2024-07-17 15:46 Maciej Barć
2024-07-15 22:15 Maciej Barć
2023-09-22 14:09 Maciej Barć
2023-09-22 14:09 Maciej Barć
2023-08-16  2:20 Sam James
2023-01-30 19:48 Andreas Sturmlechner
2023-01-30 13:09 Sam James
2022-09-23 23:52 Maciej Barć
2022-08-20 13:28 Maciej Barć
2022-06-29 18:05 Alfredo Tupone
2022-06-21  1:53 Sam James
2022-04-15 19:54 Maciej Barć
2022-04-15 19:33 Maciej Barć
2022-03-02  9:04 Agostino Sarubbo
2021-12-28 13:40 Maciej Barć
2021-12-27 23:47 Maciej Barć
2021-12-27 20:34 Maciej Barć
2021-01-17  4:10 Sam James
2021-01-17  4:10 Sam James
2021-01-17  4:10 Sam James
2021-01-17  4:10 Sam James
2020-12-05 18:26 Alfredo Tupone
2020-12-05  8:42 Alfredo Tupone
2020-05-27  5:47 Alfredo Tupone
2020-05-25 21:58 Thomas Deutschmann
2020-05-25 17:01 Alfredo Tupone
2020-03-10 21:38 Alfredo Tupone
2019-10-28 21:15 Alfredo Tupone
2019-10-21 18:32 Alfredo Tupone
2019-09-12  6:15 Alfredo Tupone
2019-09-07 14:39 Alfredo Tupone
2019-07-27 18:42 Alfredo Tupone
2019-07-25  6:18 Alfredo Tupone
2018-12-16  8:35 Alfredo Tupone
2018-06-02 22:38 Aaron Bauman
2017-10-14  6:59 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1685885981.9403cd78844f9495e3feade4ae9348a95f8c718b.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox