commit:     09f59ad97f844aa1cbaf5ae32ad339bff4b2e292
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 23 09:08:47 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 09:27:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f59ad9

dev-ml/atd: new package; add 2.10.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-ml/atd/Manifest          |  1 +
 dev-ml/atd/atd-2.10.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 dev-ml/atd/metadata.xml      | 18 ++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-ml/atd/Manifest b/dev-ml/atd/Manifest
new file mode 100644
index 000000000000..2450df1409c8
--- /dev/null
+++ b/dev-ml/atd/Manifest
@@ -0,0 +1 @@
+DIST atd-2.10.0.tar.gz 3294787 BLAKE2B 
7ef136e795a567eddc064986e1b78f3bbccf0433485c75742a989e7f48ca91b55444f01def67210c55de74f9283ee0316e6de0d38fc6d40a5ff499f16f0cbd63
 SHA512 
1f5ccd44cb5d7f41745d6399517f6b61c4dfc698a70f24594805ac07e0be240e2a44c1d992ad48622ed85a23384ecaab111b78e76e8e050d25d857356c3bf45b

diff --git a/dev-ml/atd/atd-2.10.0.ebuild b/dev-ml/atd/atd-2.10.0.ebuild
new file mode 100644
index 000000000000..9cbb64e8703c
--- /dev/null
+++ b/dev-ml/atd/atd-2.10.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Static types for JSON APIs"
+HOMEPAGE="https://github.com/ahrefs/atd/";
+SRC_URI="https://github.com/ahrefs/atd/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+RESTRICT="test"
+
+RDEPEND="
+       >=dev-lang/ocaml-4.08:=[ocamlopt?]
+       >=dev-ml/cmdliner-1.1.1:=
+       dev-ml/biniou:=
+       dev-ml/easy-format:=
+       dev-ml/menhir:=
+       dev-ml/re:=
+       dev-ml/yojson:=
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       dune-install atd                            \
+                                atdgen                         \
+                                atdgen-codec-runtime           \
+                                atdgen-runtime                 \
+                                atdj                           \
+                                atdpy                          \
+                                atds                           \
+                                atdts
+       dodoc CHANGES.md CONTRIBUTING.md README.md
+}

diff --git a/dev-ml/atd/metadata.xml b/dev-ml/atd/metadata.xml
new file mode 100644
index 000000000000..870e84707bdb
--- /dev/null
+++ b/dev-ml/atd/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>ML</name>
+  </maintainer>
+  <longdescription>
+    ATD stands for Adaptable Type Definitions. It is a syntax for defining
+    cross-language data types. It is used as input to generate efficient and
+    type-safe serializers, deserializers and validators.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/ahrefs/atd/issues/</bugs-to>
+    <remote-id type="github">ahrefs/atd</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to