From 478726065ae1ef60e2be07d311ed7022a7d297c7 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sat, 3 Jun 2023 17:25:29 +0200 Subject: dev-ml/zmq-lwt: new package; add 5.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-ml/zmq-lwt/Manifest | 1 + dev-ml/zmq-lwt/metadata.xml | 13 ++++++++++++ dev-ml/zmq-lwt/zmq-lwt-5.2.1.ebuild | 42 +++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-ml/zmq-lwt/Manifest create mode 100644 dev-ml/zmq-lwt/metadata.xml create mode 100644 dev-ml/zmq-lwt/zmq-lwt-5.2.1.ebuild (limited to 'dev-ml') diff --git a/dev-ml/zmq-lwt/Manifest b/dev-ml/zmq-lwt/Manifest new file mode 100644 index 000000000000..df4e516c7a95 --- /dev/null +++ b/dev-ml/zmq-lwt/Manifest @@ -0,0 +1 @@ +DIST ocaml-zmq-5.2.1.tar.gz 33027 BLAKE2B 935468c29394abaac36fdea922f82b525f0cdaf35365b893a0186cc54e9b0a4e3fa25a9d8362addad52e89a3b930d36974590c481647c19a55fca8fdfef68bf3 SHA512 85d1b16f8e9d6abc24e175b7dd3574585f4d854f5355bb67797f8651eea3f0835ade03a28d5d9e8dbd5cb5573f517e271854099ee91a79835c2d84076983dff4 diff --git a/dev-ml/zmq-lwt/metadata.xml b/dev-ml/zmq-lwt/metadata.xml new file mode 100644 index 000000000000..e367ac09da1c --- /dev/null +++ b/dev-ml/zmq-lwt/metadata.xml @@ -0,0 +1,13 @@ + + + + + + ml@gentoo.org + ML + + + https://github.com/issuu/ocaml-zmq/ + issuu/ocaml-zmq + + diff --git a/dev-ml/zmq-lwt/zmq-lwt-5.2.1.ebuild b/dev-ml/zmq-lwt/zmq-lwt-5.2.1.ebuild new file mode 100644 index 000000000000..729eb085aacf --- /dev/null +++ b/dev-ml/zmq-lwt/zmq-lwt-5.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Lwt-aware bindings to ZMQ for OCaml" +HOMEPAGE="https://github.com/issuu/ocaml-zmq/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/issuu/ocaml-zmq.git" +else + SRC_URI="https://github.com/issuu/ocaml-zmq/archive/${PV}.tar.gz + -> ocaml-zmq-${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +S="${WORKDIR}"/ocaml-zmq-${PV} + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/lwt:= + net-libs/zeromq:= +" +DEPEND="${DEPEND}" +BDEPEND=" + dev-ml/dune-configurator + test? ( dev-ml/ounit2 ) +" + +src_compile() { + dune-compile ${DUNE_PKG_NAME} +} + +src_test() { + dune-test ${DUNE_PKG_NAME} +} -- cgit v1.2.3-65-gdbad