commit: c43f5a0b4df3e58c7d77f0396a9f2d83b830984c Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Fri Mar 14 07:52:08 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Fri Mar 14 07:52:16 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43f5a0b
dev-ml/ocaml-gettext: add 0.5.0 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/ocaml-gettext/Manifest | 1 + dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild | 44 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ml/ocaml-gettext/Manifest b/dev-ml/ocaml-gettext/Manifest index 045151ba25a0..4534c0e78609 100644 --- a/dev-ml/ocaml-gettext/Manifest +++ b/dev-ml/ocaml-gettext/Manifest @@ -1,2 +1,3 @@ DIST ocaml-gettext-0.3.7.tar.gz 134316 BLAKE2B 9de6ef9e04afbb6001ddc5ef145a687ad88a20eef1c27d3a3e6136f81ad46100cc6496cb66e3edfbf0f7eacfa8abbccb44d846d2f676862c96b8ceb860d8f424 SHA512 1358320359b9d2f3fd97a47d69b2a619942a65605c1e5cbf25e33ef42a10273167b526bca15e6c9523b87d8ea9dfd3215334050ad8eb84a8c41d4feef880a27a DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec +DIST ocaml-gettext-0.5.0.tar.gz 113204 BLAKE2B c103e461da446eb65adbde33de2c37caf920d08cb334c4889364cbd54043fc88c366be67c424ad901819b6688d11c91f3d3a328fdb04ddf5cf0eab363512a412 SHA512 f55505bbe0da2a06053d94ee895a3e610a8d4ab5a2283ccff6a5a0c6a8ec011f5f286ab93e117cc340f55f056c7cdcb5752cc798e9d8e18fb5ab17f27f4a64c2 diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild b/dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild new file mode 100644 index 000000000000..97c3cde56c25 --- /dev/null +++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME="gettext" +inherit dune + +DESCRIPTION="Provides support for internationalization of OCaml program" +HOMEPAGE="https://github.com/gildor478/ocaml-gettext" +SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="test" # Tests fail + +BDEPEND=" + >=dev-ml/dune-3.17 + dev-ml/cppo + dev-ml/dune-configurator +" + +RDEPEND=" + dev-ml/ocaml-fileutils:=[ocamlopt?] + dev-ml/dune-site:=[ocamlopt?] + sys-devel/gettext +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/ounit2[ocamlopt=] + dev-ml/seq[ocamlopt=] + ) +" + +src_compile() { + dune-compile gettext-stub ${DUNE_PKG_NAME} +} + +src_test() { + dune-test gettext-stub ${DUNE_PKG_NAME} +}
