dev-ml/markup: bump to 0.7.4
authorAlexis Ballier <aballier@gentoo.org>
Tue, 13 Dec 2016 13:49:54 +0000 (14:49 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 13 Dec 2016 13:49:54 +0000 (14:49 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ml/markup/Manifest
dev-ml/markup/markup-0.7.4.ebuild [new file with mode: 0644]

index 29247e73873ea59ad4d8fece543c96b403ef1677..b5140de927f2ab43b8c1e8049357a617c1043793 100644 (file)
@@ -1 +1,2 @@
 DIST markup-0.7.3.tar.gz 275094 SHA256 e1eb3562e0d26ccc33aa5dbe802e4210dbd7c30a8e69b6098b825afb11bb6af1 SHA512 e4577e438241d58c728507c88f14b7f029dbc4aa6b9c5dbf78f03b6c083a430026158c3146a88c14c9cd90a242b1bb4ed838b150bb89433fb6a6f673e5d2bb66 WHIRLPOOL ad967738706d4c017f266ecdef7b0772ce0bc17f9bc7dda228ffabc9cccccc88cde69337e063577d1fcda1e93cf4a7f18bbbf09709ee82f0a4b8382f5e339d2e
+DIST markup-0.7.4.tar.gz 278855 SHA256 2d006e1cec3b46ef403051d88ba786d95c74b162f2e6d48e2d81ee17f2be357b SHA512 82f20274f6f83e994133403be900f8536c073d6dc8a7c3d02ac8bc4a07ec33ec8c8afe36d4ce0b79433d6ec346c85d1f5ab7b62292e5b092f4911693bb6876ef WHIRLPOOL 7ac847c98fa1afb3a9be5626dbccbd9ddeae15b68c74f7fa9d846e715839d1530cd3bf1abe68d33113ba0dee44698f9efd58bea562d8cd4bbca527b3c97c718b
diff --git a/dev-ml/markup/markup-0.7.4.ebuild b/dev-ml/markup/markup-0.7.4.ebuild
new file mode 100644 (file)
index 0000000..59f9e4e
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib eutils
+
+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}p1"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+DEPEND="
+       dev-lang/ocaml:=[ocamlopt]
+       dev-ml/lwt:=[ocamlopt]
+       >=dev-ml/uutf-1.0:=[ocamlopt]
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+       test? ( dev-ml/ounit )
+       dev-ml/ocamlbuild"
+S="${WORKDIR}/${PN}.ml-${PV}"
+
+src_compile() {
+       emake
+       use doc && emake docs
+}
+
+src_install() {
+       findlib_src_preinst
+       emake ocamlfind-install
+       dodoc README.md
+       use doc && dohtml doc/html/*
+}