diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-04 15:34:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-04 15:34:41 +0100 |
commit | bb8c9132545ddf1e366b0b478c0dc89c56cf6dcd (patch) | |
tree | c121c55dcca2400955023c5c77b1f677c9b17eec /sci-mathematics/alt-ergo | |
parent | 13b130894803eda558b74353eda3bf7504615b38 (diff) |
gentoo auto-resync : 04:06:2023 - 15:34:41
Diffstat (limited to 'sci-mathematics/alt-ergo')
-rw-r--r-- | sci-mathematics/alt-ergo/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/alt-ergo/alt-ergo-2.4.3.ebuild | 76 | ||||
-rw-r--r-- | sci-mathematics/alt-ergo/alt-ergo-9999.ebuild | 76 | ||||
-rw-r--r-- | sci-mathematics/alt-ergo/files/alt-ergo-2.4.3-dune.patch | 10 |
4 files changed, 166 insertions, 0 deletions
diff --git a/sci-mathematics/alt-ergo/Manifest b/sci-mathematics/alt-ergo/Manifest index efb10db9d024..9d5320f0749a 100644 --- a/sci-mathematics/alt-ergo/Manifest +++ b/sci-mathematics/alt-ergo/Manifest @@ -1,6 +1,10 @@ AUX alt-ergo-2.4.2-dune.patch 366 BLAKE2B 4235894eac0760eb6d866a203a80c6c69d8bc6a1b4b70f67b865833f53391ca995a777c4e6e0ac64e918073e101eb35bf4f06824df7018e9630eaa75621dbcdf SHA512 64938a2f79889d67ca22d8153eaa3167ee752d13bfd0b9b6690293962a9170b208fa7f4f7375cb356d75e665cf9aa3cbf0c9d48247b9eb99573ba704b81a6a40 +AUX alt-ergo-2.4.3-dune.patch 136 BLAKE2B 7a8740fd14531be7dc595dd3dc3eef119c39943fbec98c9784f6a25dcc1947ebefacd079bcc95a48b07f8d94641ad66261e06efd18edc5cfe59783626b6bcf4d SHA512 016d80dc17436e469746822f62a1748a661a74e5ec2009a0f297a75a763b645cb95e564727ba03434602c494bf866f563adf558ff24f915d50fe198f9c9fe3c1 DIST alt-ergo-2.4.1.tar.gz 2883046 BLAKE2B 6930080f7735f043e33d02b7fa0990c53992848796c0a5cf6ea4d7122eb6b9e5d6ac7ce420a4a19da35fa0ce5ff431bc228f2314a6f709f27a16bc7481bbacd5 SHA512 c3eee41d3c588ca89c2a1eebe9f10914ef647743b58fb562b682172cf6b6bdeb0920ebbba8a850820c0cb53bad0260f11b82fe71f00830ea9b33f5bb5d4fd048 DIST alt-ergo-2.4.2.tar.gz 2884553 BLAKE2B 95392625a6b17b3a2e41070a7f70ba124a95d99294f295d7c5a636a3327e6dac6b2153d1c90be4d24b72ce5ad22be5e174f6ae1c37663b093218a76ec1ada29a SHA512 61ae181ccd60a49f833ea79bbd5184a46f8eef24e7fe1169b15e905ed86584bdbe993ef86c203d5bfc3d79961024f96af0e4e623dc15479aa9538648291c9a75 +DIST alt-ergo-2.4.3.tar.gz 2902450 BLAKE2B bb8931dc512e3745496c1801fe959ac0fc4758b03049462506689021508a4ea364f0aae8679c776d8154c9f86a09080801c9b822d23355c572a24bd8b0e38210 SHA512 88a26b138e41997516085dbbf279e1ce11d03c18c0464ba80d5403dc80ff0f8cb5cbd4ad1489a60ff2a3b9539f9c55e4274008b14eed47b6fd057ce0a94ef98f EBUILD alt-ergo-2.4.1-r2.ebuild 1003 BLAKE2B 5adc8d1899e50c29fe46cbd404ea52b543acec152a0445bc858903bf01976fe19ca27c1cb5fff78c4f0cd18656d1533b4ac1fad04c2873e5a45f9290b429b6a8 SHA512 2f7d5a3aa6706254fa55c80dedb1ec5022d57d39b38bdeeb9f19f75bcdb8428ff5857a57f5dcdd6b2aed0b8fb6f5f6c65a8d13776d6c988e1f202bad5bc62b49 EBUILD alt-ergo-2.4.2-r1.ebuild 1114 BLAKE2B fd5c641a87131c346c00d7d5b982c4a325fd21dbd60aee5958037502f0e72cfed5e99fffc4695ea6a27ecfb65d4c3dc8efd9c8a9985fc4eab9d7d39d681242be SHA512 331339fdff053d018af9e8a5fc20e69707617ceb65f876c2705109b70cde9794cfb03ed888a91af2bffc74dabc318bf2591fa1cee5585fbdb60357c44420bb32 +EBUILD alt-ergo-2.4.3.ebuild 1382 BLAKE2B 9111155de5276042880f9ef4fa10f9374da2cd603e3ce4e999dc8a388507337e306e9cdf0bc76245b8a4aeebfc6057965f02e637071d9be1e0a3dab4167c2570 SHA512 471d147251a3edb665a72a09f15f33b60eabd67b68411a48cc3e9cfd0ca9e7d7fd6d0dfcc033060e5f4c69a66c100019e2be5946d493748b836861647d2dc6d1 +EBUILD alt-ergo-9999.ebuild 1382 BLAKE2B 9111155de5276042880f9ef4fa10f9374da2cd603e3ce4e999dc8a388507337e306e9cdf0bc76245b8a4aeebfc6057965f02e637071d9be1e0a3dab4167c2570 SHA512 471d147251a3edb665a72a09f15f33b60eabd67b68411a48cc3e9cfd0ca9e7d7fd6d0dfcc033060e5f4c69a66c100019e2be5946d493748b836861647d2dc6d1 MISC metadata.xml 957 BLAKE2B 2ac1b5428ee88fa81b3898a351b770b9a3b4e91ad049e7ab2b5b62e3ddcef635e2f19f801ef1c067b51c2f30f513b40a82e968a314be10e7a5ff795df24dd6d5 SHA512 bcbe312badeb5f3d6c243d620ec5744ac6bf3c23e6bc7b6327c7a1a72b42f2cc68cd4326b065a3fca3c2a9c7c1670e2a84ca1ca2e7bf423a274025010a6735f4 diff --git a/sci-mathematics/alt-ergo/alt-ergo-2.4.3.ebuild b/sci-mathematics/alt-ergo/alt-ergo-2.4.3.ebuild new file mode 100644 index 000000000000..1ba42319bb6c --- /dev/null +++ b/sci-mathematics/alt-ergo/alt-ergo-2.4.3.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 +} 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 +} diff --git a/sci-mathematics/alt-ergo/files/alt-ergo-2.4.3-dune.patch b/sci-mathematics/alt-ergo/files/alt-ergo-2.4.3-dune.patch new file mode 100644 index 000000000000..eea143fdd38a --- /dev/null +++ b/sci-mathematics/alt-ergo/files/alt-ergo-2.4.3-dune.patch @@ -0,0 +1,10 @@ +--- a/src/lib/dune ++++ b/src/lib/dune +@@ -21,7 +21,6 @@ + + ; external dependencies + (libraries +- seq + unix + num + str |