summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-09 22:38:13 +0000
committerSam James <sam@gentoo.org>2021-02-09 22:47:42 +0000
commite3a60bcc11deed78b7ff2987aff3ae48773b3c90 (patch)
treee470ce58db370d34662d28b4346796f76dd9fdff /dev-ml/duration
parentdev-ml/mirage-clock: new package (dev-ml/alcotest dep) (diff)
downloadgentoo-e3a60bcc11deed78b7ff2987aff3ae48773b3c90.tar.gz
gentoo-e3a60bcc11deed78b7ff2987aff3ae48773b3c90.tar.bz2
gentoo-e3a60bcc11deed78b7ff2987aff3ae48773b3c90.zip
dev-ml/duration: new package (dev-ml/alcotest dep)
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/duration')
-rw-r--r--dev-ml/duration/Manifest1
-rw-r--r--dev-ml/duration/duration-0.1.3.ebuild18
-rw-r--r--dev-ml/duration/metadata.xml8
3 files changed, 27 insertions, 0 deletions
diff --git a/dev-ml/duration/Manifest b/dev-ml/duration/Manifest
new file mode 100644
index 000000000000..4826df0bf3d6
--- /dev/null
+++ b/dev-ml/duration/Manifest
@@ -0,0 +1 @@
+DIST duration-0.1.3.tar.gz 4295 BLAKE2B 1bcf0d457e76c6dfe05308dbbdcd02e534abecb621d30d4d031e2218da48515e1086c0c71c3c91ea84350143dc3255ae368d66ba43ec9fb763932efbb3654128 SHA512 eeb219821e65d5cdee0b1038afd856b58f21633498e8cae37a7195d2a045cd0b11c4c817a6518d20c5a6c5f8c7ebfa9b84dae16bb847a658a8dc1aae5a9be5ab
diff --git a/dev-ml/duration/duration-0.1.3.ebuild b/dev-ml/duration/duration-0.1.3.ebuild
new file mode 100644
index 000000000000..185471de3aee
--- /dev/null
+++ b/dev-ml/duration/duration-0.1.3.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Duration - conversions to various time units"
+HOMEPAGE="https://github.com/hannesm/duration"
+SRC_URI="https://github.com/hannesm/duration/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-ml/alcotest )"
diff --git a/dev-ml/duration/metadata.xml b/dev-ml/duration/metadata.xml
new file mode 100644
index 000000000000..b73d0d4e9531
--- /dev/null
+++ b/dev-ml/duration/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">mirage/alcotest</remote-id>
+ </upstream>
+</pkgmetadata>