dev-ml/ptime: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-02 20:13:01 +02:00
parent a935491bb6
commit 616003f4d5
3 changed files with 44 additions and 0 deletions

1
dev-ml/ptime/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ptime-1.0.0.tbz 33749 BLAKE2B 6765924f624a92c69495883accd47c66294f49e2d2841fafc66444369b97b9dceaecac0c00a14cba2e8e710bf85c6d5759f419e83d4d0a7bee56c197d06bb000 SHA512 df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534

12
dev-ml/ptime/metadata.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">dbuenzli/ptime</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit opam findlib
DESCRIPTION="POSIX time for OCaml"
HOMEPAGE="
http://erratique.ch/software/ptime
https://github.com/dbuenzli/ptime
"
SRC_URI="http://erratique.ch/software/ptime/releases/${P}.tbz"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=""
DEPEND="
${RDEPEND}
dev-ml/topkg
"
BDEPEND="dev-ml/ocamlbuild"
OPAM_FILE=opam
src_compile() {
ocaml pkg/pkg.ml build || die
}