summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-10-18 19:56:44 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-10-18 19:57:06 +0200
commit0a1ed889587eb302fa3ddabb50969c935a1b66e4 (patch)
treed6c3aa0b49258d599604a7ea700847ba4fe50137 /dev-ml/ptime
parentapp-shells/mksh: Restore live ebuild (diff)
downloadgentoo-0a1ed889587eb302fa3ddabb50969c935a1b66e4.tar.gz
gentoo-0a1ed889587eb302fa3ddabb50969c935a1b66e4.tar.bz2
gentoo-0a1ed889587eb302fa3ddabb50969c935a1b66e4.zip
dev-ml/ptime: add 1.2.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/ptime')
-rw-r--r--dev-ml/ptime/Manifest1
-rw-r--r--dev-ml/ptime/ptime-1.2.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ml/ptime/Manifest b/dev-ml/ptime/Manifest
index 3fcbaa0c7ed4..24f4308662c0 100644
--- a/dev-ml/ptime/Manifest
+++ b/dev-ml/ptime/Manifest
@@ -1,2 +1,3 @@
DIST ptime-1.0.0.tbz 33749 BLAKE2B 6765924f624a92c69495883accd47c66294f49e2d2841fafc66444369b97b9dceaecac0c00a14cba2e8e710bf85c6d5759f419e83d4d0a7bee56c197d06bb000 SHA512 df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534
DIST ptime-1.1.0.tbz 34641 BLAKE2B b4e4991921d348ffcaf9b3a6c822b5e668f0dfad804a2be56e0f1ce2ef775a892312b545d0d098c9c74c1ab6725ddcd63aa2424571f61107fe4f945c03de35b2 SHA512 309b8383f61b58840e58a82802ec8fbc61b7cc95a4590d38ad427e484cbaaf66f03fa8e6484b5b6855468a87e745aed103bf6f1041ec05062230a9fa5fb86cc6
+DIST ptime-1.2.0.tbz 30885 BLAKE2B 45b4f980fbd44af49c3e26a6cc94b7a6ccbaafb0ea72cd7b75f6864d7bfe002a84230d74368a6f1c33b894cd08faf4151559012678b60c91fe463f9cb833499e SHA512 b0c3240dd9e777a5e60b5269eb2e312fc644d29ef55e257d2f2538c03bf62274173ed36e13858c44d2dbee8fe375c9c483e705706e4aa5b3b5c4609ca6324a5c
diff --git a/dev-ml/ptime/ptime-1.2.0.ebuild b/dev-ml/ptime/ptime-1.2.0.ebuild
new file mode 100644
index 000000000000..82cca9a16c21
--- /dev/null
+++ b/dev-ml/ptime/ptime-1.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit opam findlib
+
+DESCRIPTION="POSIX time for OCaml"
+HOMEPAGE="
+ https://erratique.ch/software/ptime
+ https://github.com/dbuenzli/ptime
+ https://opam.ocaml.org/packages/ptime/
+"
+SRC_URI="https://erratique.ch/software/ptime/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-ml/topkg
+"
+BDEPEND="dev-ml/ocamlbuild"
+
+OPAM_FILE=opam
+
+src_compile() {
+ ocaml pkg/pkg.ml build || die
+}