summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-11 19:48:33 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-11 19:48:33 +0100
commit73f69304c65ee2549f1ab6332e8d4fa5fe565a5d (patch)
tree3eb2f4c78d566f1743e6ab6702fb499867c3f1f7 /dev-ml/markup/markup-1.0.0.ebuild
parentwww-client/opera-developer: remove old (diff)
downloadgentoo-73f69304c65ee2549f1ab6332e8d4fa5fe565a5d.tar.gz
gentoo-73f69304c65ee2549f1ab6332e8d4fa5fe565a5d.tar.bz2
gentoo-73f69304c65ee2549f1ab6332e8d4fa5fe565a5d.zip
dev-ml/markup: version bump to 1.0.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/markup/markup-1.0.0.ebuild')
-rw-r--r--dev-ml/markup/markup-1.0.0.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ml/markup/markup-1.0.0.ebuild b/dev-ml/markup/markup-1.0.0.ebuild
new file mode 100644
index 00000000000..be349d21561
--- /dev/null
+++ b/dev-ml/markup/markup-1.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit opam multiprocessing
+
+DESCRIPTION="Error-recovering streaming HTML5 and XML parsers"
+HOMEPAGE="https://github.com/aantron/markup.ml"
+SRC_URI="https://github.com/aantron/markup.ml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-lang/ocaml:="
+BDEPEND=">=dev-ml/dune-2.7
+ dev-lang/ocaml"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}.ml-${PV}"
+
+src_compile() {
+ dune build -p "${PN}" -j $(makeopts_jobs) @install || die
+}
+
+src_test() {
+ dune runtest -p "${PN}" -j $(makeopts_jobs) || die
+}