diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-06-03 17:06:19 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-06-03 17:51:03 +0200 |
commit | 6ec1818c0ac62fbd8831dc569f8be7bd64cd067e (patch) | |
tree | a0f4707aefefa4112fa65c7cfde1d651c05aa866 /dev-ml/zmq | |
parent | media-gfx/libimagequant: Stabilize 4.2.0 sparc, #907768 (diff) | |
download | gentoo-6ec1818c0ac62fbd8831dc569f8be7bd64cd067e.tar.gz gentoo-6ec1818c0ac62fbd8831dc569f8be7bd64cd067e.tar.bz2 gentoo-6ec1818c0ac62fbd8831dc569f8be7bd64cd067e.zip |
dev-ml/zmq: new package; add 5.2.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml/zmq')
-rw-r--r-- | dev-ml/zmq/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/zmq/metadata.xml | 13 | ||||
-rw-r--r-- | dev-ml/zmq/zmq-5.2.1.ebuild | 41 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ml/zmq/Manifest b/dev-ml/zmq/Manifest new file mode 100644 index 000000000000..df4e516c7a95 --- /dev/null +++ b/dev-ml/zmq/Manifest @@ -0,0 +1 @@ +DIST ocaml-zmq-5.2.1.tar.gz 33027 BLAKE2B 935468c29394abaac36fdea922f82b525f0cdaf35365b893a0186cc54e9b0a4e3fa25a9d8362addad52e89a3b930d36974590c481647c19a55fca8fdfef68bf3 SHA512 85d1b16f8e9d6abc24e175b7dd3574585f4d854f5355bb67797f8651eea3f0835ade03a28d5d9e8dbd5cb5573f517e271854099ee91a79835c2d84076983dff4 diff --git a/dev-ml/zmq/metadata.xml b/dev-ml/zmq/metadata.xml new file mode 100644 index 000000000000..e367ac09da1c --- /dev/null +++ b/dev-ml/zmq/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/issuu/ocaml-zmq/</bugs-to> + <remote-id type="github">issuu/ocaml-zmq</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ml/zmq/zmq-5.2.1.ebuild b/dev-ml/zmq/zmq-5.2.1.ebuild new file mode 100644 index 000000000000..4dbb21fa9cd7 --- /dev/null +++ b/dev-ml/zmq/zmq-5.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="OCaml bindings for ZeroMQ 4.x" +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=" + 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} +} |