commit:     ac77c9ed0831a94922b584b16b11d8b3d55d3a88
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 18 19:12:22 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 19:13:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac77c9ed

dev-ml/pcre2-ocaml: new package, add 8.0.3

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/pcre2-ocaml/Manifest                 |  1 +
 dev-ml/pcre2-ocaml/metadata.xml             | 11 +++++++++++
 dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3.ebuild | 21 +++++++++++++++++++++
 3 files changed, 33 insertions(+)

diff --git a/dev-ml/pcre2-ocaml/Manifest b/dev-ml/pcre2-ocaml/Manifest
new file mode 100644
index 000000000000..52b3d46cac93
--- /dev/null
+++ b/dev-ml/pcre2-ocaml/Manifest
@@ -0,0 +1 @@
+DIST pcre2-ocaml-8.0.3.tar.gz 44400 BLAKE2B 
d3a7b01af49f81d59c89d8a96b4f32da1baecae388bed29a6c53f050b66f381aa22ba7245be1a4480a649ecce97e924efe5f91938029ea838cc18c2cfb31ee43
 SHA512 
614bd7d44460ea7c35a61dcff14546e16eb7bbb959be02cf77463d4448c01e2462f10656ca8b1f21fead752a148ce94943de99dff8106a50eef1468e1d2f99f9

diff --git a/dev-ml/pcre2-ocaml/metadata.xml b/dev-ml/pcre2-ocaml/metadata.xml
new file mode 100644
index 000000000000..c5d01205160d
--- /dev/null
+++ b/dev-ml/pcre2-ocaml/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>ML</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">camlp5/pcre2-ocaml</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3.ebuild 
b/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3.ebuild
new file mode 100644
index 000000000000..f0b30515246a
--- /dev/null
+++ b/dev-ml/pcre2-ocaml/pcre2-ocaml-8.0.3.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DUNE_PKG_NAME=pcre2
+inherit dune
+
+DESCRIPTION="OCaml bindings to PCRE (Perl Compatibility Regular Expressions)"
+HOMEPAGE="https://github.com/camlp5/pcre2-ocaml";
+SRC_URI="https://github.com/camlp5/${PN}/archive/refs/tags/${PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-ml/dune-configurator:=[ocamlopt?]"
+BDEPEND="test? ( dev-ml/ounit2 )"

Reply via email to