commit: e27f3e8b522b77b41f3b4f3c3be794d9d897c1ba Author: Rafael Kitover <rkitover <AT> gmail <DOT> com> AuthorDate: Sun Jan 17 19:30:30 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jan 22 03:33:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27f3e8b
dev-ml/ocaml-gettext-camomile: New ebuild. Part of the ocaml-gettext distribution. Bug: https://bugs.gentoo.org/762613 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-ml/ocaml-gettext-camomile/Manifest | 1 + dev-ml/ocaml-gettext-camomile/metadata.xml | 21 ++++++++++++++ .../ocaml-gettext-camomile-0.4.2.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-ml/ocaml-gettext-camomile/Manifest b/dev-ml/ocaml-gettext-camomile/Manifest new file mode 100644 index 00000000000..839e7295801 --- /dev/null +++ b/dev-ml/ocaml-gettext-camomile/Manifest @@ -0,0 +1 @@ +DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec diff --git a/dev-ml/ocaml-gettext-camomile/metadata.xml b/dev-ml/ocaml-gettext-camomile/metadata.xml new file mode 100644 index 00000000000..4014d3ca4a8 --- /dev/null +++ b/dev-ml/ocaml-gettext-camomile/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Rafael Kitover</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">gildor478/ocaml-gettext</remote-id> + </upstream> + <use> + <flag name="ocamlopt"> + Whether the OCaml native code compiler is used. Must be set globally and + match dev-lang/ocaml. + </flag> + </use> +</pkgmetadata> diff --git a/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild new file mode 100644 index 00000000000..2959342481f --- /dev/null +++ b/dev-ml/ocaml-gettext-camomile/ocaml-gettext-camomile-0.4.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=${PN/-camomile/} +MY_P=${P/-camomile/} +DUNE_PKG_NAME="gettext-camomile" +inherit dune + +DESCRIPTION="Support for internationalization of OCaml programs using the Camomile library" +HOMEPAGE="https://github.com/gildor478/ocaml-gettext" +SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-ml/cppo-1.6.6 + dev-ml/dune-configurator +" +RDEPEND=" + dev-ml/ocaml-gettext:= +" +DEPEND=" + ${RDEPEND} + test? ( dev-ml/ounit ) +" + +S="${WORKDIR}/${MY_PN}-${PV}"
