* [gentoo-commits] repo/gentoo:master commit in: dev-ml/facile/files/, dev-ml/facile/
@ 2023-01-30 20:37 Alfredo Tupone
0 siblings, 0 replies; only message in thread
From: Alfredo Tupone @ 2023-01-30 20:37 UTC (permalink / raw
To: gentoo-commits
commit: b418632d46c6b67f90e56eae45fa41e86da2ae4d
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 20:35:27 2023 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 20:37:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b418632d
dev-ml/facile: add 1.1.4
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ml/facile/Manifest | 1 +
dev-ml/facile/facile-1.1.4.ebuild | 21 +++++++++++++++
dev-ml/facile/files/facile-1.1.4-dune.patch | 42 +++++++++++++++++++++++++++++
3 files changed, 64 insertions(+)
diff --git a/dev-ml/facile/Manifest b/dev-ml/facile/Manifest
index 65406b20bc00..8d6cbde9bf91 100644
--- a/dev-ml/facile/Manifest
+++ b/dev-ml/facile/Manifest
@@ -1 +1,2 @@
DIST facile-1.1.3.tar.gz 99656 BLAKE2B 19d81c48c39b96083628cc40eb9aca7e8ad7dea4ae81c884bfb22daa56135ac411698d57b68f3112829a1fc53d29612627809901c6e30eb4672776508eee57b2 SHA512 78d315188e661245eb7306b645e9baaca94db0b9511112b57dbc8597bf2f75cab5604c8f4cf850209464e802c636f592552c8b492730cb28896d2acd7f413346
+DIST facile-1.1.4.tbz 83874 BLAKE2B a0921615425124b6f1ba51a939bd4c89bcab71a0341e5b866f2c44d89863c077c42f269fcee2a8e302c580ce618c4e765f826fd9c4855f9e992c35cbdc8660db SHA512 b4484275ebf7f0bd271d865c6745bd1784e2260060470f64f86a18833a9663efbf56b089ae668c51f57bc8473281af4e92d461b87eefb2c62162fa7da60838f9
diff --git a/dev-ml/facile/facile-1.1.4.ebuild b/dev-ml/facile/facile-1.1.4.ebuild
new file mode 100644
index 000000000000..d3e4a42f5a4d
--- /dev/null
+++ b/dev-ml/facile/facile-1.1.4.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="OCaml constraint programming library on integer & integer set finite domains"
+HOMEPAGE="http://opti.recherche.enac.fr/"
+SRC_URI="https://github.com/Emmanuel-PLF/${PN}/releases/download/${PV}/${P}.tbz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${P}-dune.patch )
diff --git a/dev-ml/facile/files/facile-1.1.4-dune.patch b/dev-ml/facile/files/facile-1.1.4-dune.patch
new file mode 100644
index 000000000000..f9c667cabb1d
--- /dev/null
+++ b/dev-ml/facile/files/facile-1.1.4-dune.patch
@@ -0,0 +1,42 @@
+diff --git a/dune-project b/dune-project
+new file mode 100644
+index 0000000..7d8f2ba
+--- /dev/null
++++ b/dune-project
+@@ -0,0 +1,2 @@
++(lang dune 2.9)
++(name facile)
+diff --git a/examples/dune b/examples/dune
+new file mode 100644
+index 0000000..b804a36
+--- /dev/null
++++ b/examples/dune
+@@ -0,0 +1,4 @@
++(executables
++ (libraries facile)
++ (names coins golf golomb jobshop magic marriage prolog seven_eleven tiles)
++)
+diff --git a/lib/dune b/lib/dune
+new file mode 100644
+index 0000000..d28179f
+--- /dev/null
++++ b/lib/dune
+@@ -0,0 +1,5 @@
++(library
++ (public_name facile)
++ (libraries stdlib-shims)
++ (ocamlopt_flags (-unsafe -noassert -inline 10))
++)
+diff --git a/lib_test/dune b/lib_test/dune
+new file mode 100644
+index 0000000..e8993ee
+--- /dev/null
++++ b/lib_test/dune
+@@ -0,0 +1,7 @@
++(executable
++ (libraries facile)
++ (name queens))
++
++(rule
++ (alias runtest)
++ (action (run ./queens.exe 8)))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-30 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30 20:37 [gentoo-commits] repo/gentoo:master commit in: dev-ml/facile/files/, dev-ml/facile/ Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox