commit: 853c852bfb8ae0840f27cfaec85f6a653aeea1ce Author: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> AuthorDate: Wed Jul 24 03:48:32 2024 +0000 Commit: Hiroki Tokunaga <tokusan441 <AT> gmail <DOT> com> CommitDate: Wed Jul 24 03:48:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=853c852b
dev-ml/fpath: new package, add 0.7.3 Signed-off-by: Hiroki Tokunaga <tokusan441 <AT> gmail.com> dev-ml/fpath/Manifest | 1 + dev-ml/fpath/fpath-0.7.3.ebuild | 31 +++++++++++++++++++++++++++++++ dev-ml/fpath/metadata.xml | 14 ++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/dev-ml/fpath/Manifest b/dev-ml/fpath/Manifest new file mode 100644 index 000000000..94c90105b --- /dev/null +++ b/dev-ml/fpath/Manifest @@ -0,0 +1 @@ +DIST fpath-0.7.3.tar.gz 28553 BLAKE2B 49be899a29dc09a6b7f47c57d96babea1e0afd614a22427dff54530276c8da6ffd60e1c943e6eb38fbbf80a78618ef406cadb6b023be7b4560bfd055410d4366 SHA512 7b97008e6b2dfb37caac4db34edc88b64856755a7f982aec4dbbff7ea3c4410a8ca99ecefaf0cde93a09d4459b663b5071bea185c2762a3384153f7cd1aa6510 diff --git a/dev-ml/fpath/fpath-0.7.3.ebuild b/dev-ml/fpath/fpath-0.7.3.ebuild new file mode 100644 index 000000000..f1bb46efe --- /dev/null +++ b/dev-ml/fpath/fpath-0.7.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib opam + +DESCRIPTION="File paths for OCaml" +HOMEPAGE=" + https://erratique.ch/software/fpath + https://github.com/dbuenzli/fpath +" +SRC_URI="https://github.com/dbuenzli/fpath/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-ml/topkg" +BDEPEND="dev-ml/ocamlbuild" + +RESTRICT="!test? ( test )" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} diff --git a/dev-ml/fpath/metadata.xml b/dev-ml/fpath/metadata.xml new file mode 100644 index 000000000..984f808ab --- /dev/null +++ b/dev-ml/fpath/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tokusan...@gmail.com</email> + <name>Hiroki Tokunaga</name> + </maintainer> + <longdescription lang="en">Fpath is an OCaml module for handling file system paths with POSIX or Windows conventions. Fpath processes paths without accessing the file system and is independent from any system library.</longdescription> + <upstream> + <doc>https://erratique.ch/software/fpath/doc/</doc> + <bugs-to>https://github.com/dbuenzli/fpath/issues</bugs-to> + <remote-id type="github">dbuenzli/fpath</remote-id> + </upstream> +</pkgmetadata>