dev-ml/qmp: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-09 11:56:35 +02:00
parent 0e99d4434c
commit 5bc0d9ac2b
3 changed files with 42 additions and 0 deletions

1
dev-ml/qmp/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST qmp-0.17.0.tar.gz 24131 BLAKE2B bcf594c77cdcc4d6810008a841db25240bca350a2e6bd2e71919207aa6c96d7649836a916c3e38b262607dc17312ac79dce1ff97e6b5d45efb155808ff756bd1 SHA512 b8e295cb0664b6e74a5c3c536132e71185c484d008d319b0eb802959d1e11322c958739e73cf24809a323fdf8b55a9b01431d8f4d1b1e95d5d42f38645ad8892

11
dev-ml/qmp/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">xapi-project/ocaml-qmp</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="A Qemu Message Protocol (QMP) client in OCaml"
HOMEPAGE="https://github.com/xapi-project/ocaml-qmp"
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
DEPEND="
dev-ml/base-unix
dev-ml/yojson
dev-ml/cmdliner
"
RDEPEND="
${DEPEND}
test? ( dev-ml/ounit )
"
RESTRICT="!test? ( test )"