summaryrefslogtreecommitdiff
path: root/dev-ml/re
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ml/re
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-ml/re')
-rw-r--r--dev-ml/re/Manifest5
-rw-r--r--dev-ml/re/files/ounit2.patch11
-rw-r--r--dev-ml/re/files/re-1.13.0-noSeq.patch9
-rw-r--r--dev-ml/re/metadata.xml9
-rw-r--r--dev-ml/re/re-1.11.0-r1.ebuild44
-rw-r--r--dev-ml/re/re-1.12.0.ebuild43
-rw-r--r--dev-ml/re/re-1.13.0-r2.ebuild48
-rw-r--r--dev-ml/re/re-1.13.3-r2.ebuild51
-rw-r--r--dev-ml/re/re-1.14.0.ebuild47
9 files changed, 267 insertions, 0 deletions
diff --git a/dev-ml/re/Manifest b/dev-ml/re/Manifest
new file mode 100644
index 000000000000..76b451b4b420
--- /dev/null
+++ b/dev-ml/re/Manifest
@@ -0,0 +1,5 @@
+DIST ocaml-re-1.11.0.tar.gz 93319 BLAKE2B ccfba746e39d379c862576372694b9ce27f365996cad6c041b14e0a39514663cfb9bf32319ec67207cc5c8a65cd6278d0e111d2f15508bda54f7e0d89d528e8d SHA512 92096672833defba1b92b23bc4ce78cffb2501a21aca0dee264da1c8f35b5995154108d5f47318b9e37933537144359a742dce7825734c68dbd7d3d8ad4bc5b1
+DIST ocaml-re-1.12.0.tar.gz 91945 BLAKE2B 2694ae75589484570d7eff17cf76e9cd6ac1869c4579964fa6a335d9d43dc3f5127141ea285661e9f16d706c8e8d5a861de566e9e0ae4e602de5c6fb29a3f4df SHA512 679a23d86e9ee21f2c451623b04e990beeedabdd5e6c460827292044804f7f7790c3c6a918c02cd6723a3885a7acf3c349b7529c6d4d7e03b9bc53767a3b7ae4
+DIST ocaml-re-1.13.0.tar.gz 98675 BLAKE2B dd5a2dabdb73d5c5079cc36b7d82ea829b25fcd19625098b14de6c78abe4e4e1832f35865b3ab76cc8d09c5d59ad697f5086bddc58b0963716c965d22d3cbcae SHA512 f6105787f318cfda72e4dedda085d44d6e95ca1ca98d2a3d0d4b877464c8aa50c816fd1592d9e23e7493b67734b7362748c17fe490cf31e2dba2c07381cd0b2a
+DIST ocaml-re-1.13.3.gh.tar.gz 98392 BLAKE2B 931ed420b211f69411969ac920815390a5f8f6ed1a190cf33adff3a7c942af303b47ee0e8b82f80e175b3812c395aa85a585d0026e9341279adc9fe9640d35ab SHA512 868960c89d3ab9264c883b9e2dac911ad6c3625df0b18e240dd2467051a5477de40abce691a0c76af91c7cda39ecf1e6275e58f2271657092b039d3ad3d066e0
+DIST ocaml-re-1.14.0.gh.tar.gz 110936 BLAKE2B 4a56bb894126eb8be1b123aba7a95c261a353ad70f237ef1083a81d9db4b8fecbafa7d0b7df7233a621bc8311b584d67112170108d65408f1827b4b7cb52cd7d SHA512 cd2cc39f951ca6b7be631bbb5531ed13bc040e629842671bf6fef3911b20ef1653fa9a1f0aa23b094d252cffc9a9efe7ffca69e50d362ab935bc0cc447548124
diff --git a/dev-ml/re/files/ounit2.patch b/dev-ml/re/files/ounit2.patch
new file mode 100644
index 000000000000..1210491bc142
--- /dev/null
+++ b/dev-ml/re/files/ounit2.patch
@@ -0,0 +1,11 @@
+Index: ocaml-re-1.9.0/lib_test/fort_unit/dune
+===================================================================
+--- ocaml-re-1.9.0.orig/lib_test/fort_unit/dune
++++ ocaml-re-1.9.0/lib_test/fort_unit/dune
+@@ -3,4 +3,4 @@
+ (library
+ (name fort_unit)
+ (wrapped false)
+- (libraries re oUnit))
+\ No newline at end of file
++ (libraries re ounit2))
diff --git a/dev-ml/re/files/re-1.13.0-noSeq.patch b/dev-ml/re/files/re-1.13.0-noSeq.patch
new file mode 100644
index 000000000000..07171df838ed
--- /dev/null
+++ b/dev-ml/re/files/re-1.13.0-noSeq.patch
@@ -0,0 +1,9 @@
+--- a/lib_test/expect/dune 2024-11-02 16:53:56.144246101 +0100
++++ b/lib_test/expect/dune 2024-11-02 16:54:33.130770522 +0100
+@@ -20,5 +20,5 @@
+ private_re
+ (library
+ (name re_private)
+- (libraries seq))
++ )
+ (copy_files %{project_root}/lib/*.{ml,mli}))
diff --git a/dev-ml/re/metadata.xml b/dev-ml/re/metadata.xml
new file mode 100644
index 000000000000..3a6d48cde411
--- /dev/null
+++ b/dev-ml/re/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-ml/re/re-1.11.0-r1.ebuild b/dev-ml/re/re-1.11.0-r1.ebuild
new file mode 100644
index 000000000000..95df91f8f22c
--- /dev/null
+++ b/dev-ml/re/re-1.11.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git"
+else
+ SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz
+ -> ocaml-${P}.tar.gz"
+ S="${WORKDIR}/ocaml-${P}"
+
+ KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
+fi
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ !<dev-ml/seq-0.3
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ test? ( dev-ml/ounit2 )
+"
+
+PATCHES=( "${FILESDIR}/ounit2.patch" )
+
+src_prepare() {
+ default
+
+ sed -i lib/dune -e "/(libraries seq)/d" || die
+}
diff --git a/dev-ml/re/re-1.12.0.ebuild b/dev-ml/re/re-1.12.0.ebuild
new file mode 100644
index 000000000000..045394dd3ea7
--- /dev/null
+++ b/dev-ml/re/re-1.12.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git"
+else
+ SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz
+ -> ocaml-${P}.tar.gz"
+ S="${WORKDIR}/ocaml-${P}"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ !<dev-ml/seq-0.3
+ >=dev-lang/ocaml-4.12
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ test? ( dev-ml/ounit2 )
+"
+
+src_prepare() {
+ default
+
+ sed -i lib/dune -e "/(libraries seq)/d" || die
+}
diff --git a/dev-ml/re/re-1.13.0-r2.ebuild b/dev-ml/re/re-1.13.0-r2.ebuild
new file mode 100644
index 000000000000..585a98ca1f0b
--- /dev/null
+++ b/dev-ml/re/re-1.13.0-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git"
+else
+ SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz
+ -> ocaml-${P}.tar.gz"
+ S="${WORKDIR}/ocaml-${P}"
+
+ KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
+fi
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.12
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ >=dev-ml/dune-3.12
+ test? (
+ dev-ml/ounit2
+ dev-ml/ppx_expect
+ )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-noSeq.patch )
+
+src_prepare() {
+ default
+
+ sed -i lib/dune -e "/(libraries seq)/d" || die
+}
diff --git a/dev-ml/re/re-1.13.3-r2.ebuild b/dev-ml/re/re-1.13.3-r2.ebuild
new file mode 100644
index 000000000000..0f09f8adc825
--- /dev/null
+++ b/dev-ml/re/re-1.13.3-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git"
+else
+ SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz
+ -> ocaml-${P}.gh.tar.gz"
+ S="${WORKDIR}/ocaml-${P}"
+
+ KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
+fi
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.14
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ >=dev-ml/dune-3.12
+ test? (
+ dev-ml/ounit2
+ dev-ml/ppx_expect
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.13.0-noSeq.patch" )
+
+src_prepare() {
+ default
+
+ sed -i lib/dune -e "/(libraries seq)/d" || die
+
+ # "expect" tests fail.
+ rm -r lib_test/expect || die
+}
diff --git a/dev-ml/re/re-1.14.0.ebuild b/dev-ml/re/re-1.14.0.ebuild
new file mode 100644
index 000000000000..12a9d1ed7ab6
--- /dev/null
+++ b/dev-ml/re/re-1.14.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Regular expression library for OCaml"
+HOMEPAGE="https://github.com/ocaml/ocaml-re/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git"
+else
+ SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz
+ -> ocaml-${P}.gh.tar.gz"
+ S="${WORKDIR}/ocaml-${P}"
+
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.13
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ >=dev-ml/dune-3.17
+ test? (
+ dev-ml/ounit2
+ dev-ml/ppx_expect
+ )
+"
+
+src_prepare() {
+ default
+
+ # "expect" tests fail.
+ rm -r lib_test/expect || die
+}