From: Alexis Ballier Date: Fri, 17 Mar 2017 08:11:33 +0000 (+0100) Subject: dev-ml/xmlm: Bump to 1.3.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c37ab582f8bcea416c580aef4f18173e08522921;p=gentoo.git dev-ml/xmlm: Bump to 1.3.0 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- diff --git a/dev-ml/xmlm/Manifest b/dev-ml/xmlm/Manifest index bb9bae2724c0..034594bccffd 100644 --- a/dev-ml/xmlm/Manifest +++ b/dev-ml/xmlm/Manifest @@ -1 +1,2 @@ DIST xmlm-1.2.0.tbz 38181 SHA256 d012018af5d1948f65404e1cc811ae0eab563b23006416f79b6ffc627966dccb SHA512 75b605db1c56c133b7ba69b1f241435184dcfe73f4200c68f23532e0943e09f5652e8c2b6385311ea84c41446bf9bede902d51787f4299c625841469fb522942 WHIRLPOOL 01e6fca06047b11ffdcf61a50c2b947c1bb6b0f003a97ae2ca8c23cd1289f47d40ca285903504d577dab4f1cb72c169b60417eced1b989b0f384b61145b73ab1 +DIST xmlm-1.3.0.tbz 25176 SHA256 1675f0c39d39130e7778aeadb162ef7badee71832bf9ab5ec5ea2738cbeb2de7 SHA512 fd3b9ba8cd12321fd8d56e9ce829a7c8b121bff11cbf7ede58fa0280302fe0ba64f510360ff5b5182591faef660792db66db36e45f6355e3d22bb521f8e308fe WHIRLPOOL 1330ab62add98f63407b4e44937e18a237d69f3b761555e64f6d520dd3c824028eea3535d0bfb1edca269e5d76c422ef8b978c7cbee3aaa5835265d8bfd58b15 diff --git a/dev-ml/xmlm/xmlm-1.3.0.ebuild b/dev-ml/xmlm/xmlm-1.3.0.ebuild new file mode 100644 index 000000000000..b77154a1eeec --- /dev/null +++ b/dev-ml/xmlm/xmlm-1.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Ocaml XML manipulation module" +HOMEPAGE="http://erratique.ch/software/xmlm https://github.com/dbuenzli/xmlm" +SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=">=dev-lang/ocaml-3.12:=" +DEPEND="${RDEPEND} + dev-ml/findlib + dev-ml/opam + >=dev-ml/topkg-0.9 +" + +src_compile() { + ocaml pkg/pkg.ml build \ + --tests $(usex test 'true' 'false') \ + || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + || die + dodoc CHANGES.md README.md +}