commit:     3ce2483ef24ae28d56dcaff9054a7409c99a1d5d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 21:37:06 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 01:20:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce2483e

dev-ml/re: bump to 1.11.0

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

 dev-ml/re/Manifest         |  1 +
 dev-ml/re/re-1.11.0.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-ml/re/Manifest b/dev-ml/re/Manifest
index 895b276c05cb..3e9df29c5276 100644
--- a/dev-ml/re/Manifest
+++ b/dev-ml/re/Manifest
@@ -1 +1,2 @@
 DIST ocaml-re-1.10.4.tar.gz 90379 BLAKE2B 
411786bd89c712db0a7fba071abd303895621f0353b52e33dffeba146994cf145ea7f5199435d5b4c4738eedafa5bb00b430c92fe072f13fe455bb30a0b29998
 SHA512 
1bef38154f856b48985a0dfa975dc8539f146d0308d7c2af01078f5e998683fd635c7ae4a888e95c1a4dc4df9539dcd5dc506a5ef8718386cf0073947507f91a
+DIST ocaml-re-1.11.0.tar.gz 93319 BLAKE2B 
ccfba746e39d379c862576372694b9ce27f365996cad6c041b14e0a39514663cfb9bf32319ec67207cc5c8a65cd6278d0e111d2f15508bda54f7e0d89d528e8d
 SHA512 
92096672833defba1b92b23bc4ce78cffb2501a21aca0dee264da1c8f35b5995154108d5f47318b9e37933537144359a742dce7825734c68dbd7d3d8ad4bc5b1

diff --git a/dev-ml/re/re-1.11.0.ebuild b/dev-ml/re/re-1.11.0.ebuild
new file mode 100644
index 000000000000..d47b8882c4b2
--- /dev/null
+++ b/dev-ml/re/re-1.11.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 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/ocaml-re
+       !<dev-ml/seq-0.3
+       >=dev-lang/ocaml-4.09
+"
+DEPEND="
+       ${RDEPEND}
+"
+BDEPEND="
+       test? ( dev-ml/ounit2 )
+"
+
+PATCHES=( "${FILESDIR}/ounit2.patch" )
+
+src_prepare() {
+       default
+
+       sed -i lib/dune -e "/(libraries seq)/d" || die
+}

Reply via email to