From df15f72820566c4344909481a6e53dee41a23ee6 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 10 Nov 2017 18:17:55 +0100 Subject: dev-ml/onanomsg: add transitive := dep on sexplib. Package-Manager: Portage-2.3.13, Repoman-2.3.4 --- dev-ml/onanomsg/onanomsg-1.0-r1.ebuild | 50 --------------------------------- dev-ml/onanomsg/onanomsg-1.0-r2.ebuild | 51 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 50 deletions(-) delete mode 100644 dev-ml/onanomsg/onanomsg-1.0-r1.ebuild create mode 100644 dev-ml/onanomsg/onanomsg-1.0-r2.ebuild (limited to 'dev-ml') diff --git a/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild b/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild deleted file mode 100644 index 7e74c530acf2..000000000000 --- a/dev-ml/onanomsg/onanomsg-1.0-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit opam eutils - -DESCRIPTION="nanomsg bindings for OCaml" -HOMEPAGE="https://github.com/rgrinberg/onanomsg" -SRC_URI="https://github.com/rgrinberg/onanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="WTFPL-2" -SLOT="0/${PV}-bigstring" -KEYWORDS="~amd64" -IUSE="+lwt +ocamlopt test" - -RDEPEND=" - dev-libs/nanomsg:= - dev-lang/ocaml:=[ocamlopt?] - dev-ml/ocaml-ctypes:= - dev-ml/ocaml-ipaddr:=[ocamlopt?] - dev-ml/ppx_deriving:=[ocamlopt?] - dev-ml/ocaml-containers:=[ocamlopt?] - dev-ml/ocaml-bigstring:= - lwt? ( dev-ml/lwt:=[ocamlopt(+)?] ) -" -DEPEND="${RDEPEND} - test? ( dev-ml/ounit ) -" - -src_prepare() { - epatch "${FILESDIR}/bigstring.patch" \ - "${FILESDIR}/tests.patch" \ - "${FILESDIR}/testrun.patch" - default -} - -src_compile() { - ocaml pkg/build.ml \ - native=$(usex ocamlopt true false) \ - native-dynlink=$(usex ocamlopt true false) \ - lwt=$(usex lwt true false) \ - ounit=$(usex test true false) \ - || die -} - -src_install() { - opam_src_install nanomsg - dodoc CHANGES README.md -} diff --git a/dev-ml/onanomsg/onanomsg-1.0-r2.ebuild b/dev-ml/onanomsg/onanomsg-1.0-r2.ebuild new file mode 100644 index 000000000000..d67ffaa0a2ce --- /dev/null +++ b/dev-ml/onanomsg/onanomsg-1.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit opam eutils + +DESCRIPTION="nanomsg bindings for OCaml" +HOMEPAGE="https://github.com/rgrinberg/onanomsg" +SRC_URI="https://github.com/rgrinberg/onanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0/${PV}-bigstring" +KEYWORDS="~amd64" +IUSE="+lwt +ocamlopt test" + +RDEPEND=" + dev-libs/nanomsg:= + dev-lang/ocaml:=[ocamlopt?] + dev-ml/ocaml-ctypes:= + dev-ml/ocaml-ipaddr:=[ocamlopt?] + dev-ml/sexplib:= + dev-ml/ppx_deriving:=[ocamlopt?] + dev-ml/ocaml-containers:=[ocamlopt?] + dev-ml/ocaml-bigstring:= + lwt? ( dev-ml/lwt:=[ocamlopt(+)?] ) +" +DEPEND="${RDEPEND} + test? ( dev-ml/ounit ) +" + +src_prepare() { + epatch "${FILESDIR}/bigstring.patch" \ + "${FILESDIR}/tests.patch" \ + "${FILESDIR}/testrun.patch" + default +} + +src_compile() { + ocaml pkg/build.ml \ + native=$(usex ocamlopt true false) \ + native-dynlink=$(usex ocamlopt true false) \ + lwt=$(usex lwt true false) \ + ounit=$(usex test true false) \ + || die +} + +src_install() { + opam_src_install nanomsg + dodoc CHANGES README.md +} -- cgit v1.2.3-65-gdbad