Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/rpc/
Date: Sun, 03 Apr 2022 23:49:43
Message-Id: 1649029480.d56e5336d88c1dd132e802a3109d66a0dc73fed4.Alessandro-Barbieri@gentoo
1 commit: d56e5336d88c1dd132e802a3109d66a0dc73fed4
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 2 20:27:05 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Apr 3 23:44:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d56e5336
7
8 dev-ml/rpc new package
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-ml/rpc/Manifest | 1 +
13 dev-ml/rpc/metadata.xml | 11 +++++++++++
14 dev-ml/rpc/rpc-8.1.2.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++
15 3 files changed, 56 insertions(+)
16
17 diff --git a/dev-ml/rpc/Manifest b/dev-ml/rpc/Manifest
18 new file mode 100644
19 index 000000000..44eb54275
20 --- /dev/null
21 +++ b/dev-ml/rpc/Manifest
22 @@ -0,0 +1 @@
23 +DIST rpclib-8.1.2.tbz 73664 BLAKE2B c3a953fcc82dadcb4d2864bd044c32f9a74edadd351af8d4dc1a9c8d84964017e716415ca1831c1a5621dc28dc0a1db60a919f3e2f95d236b1d2d614ea6756a8 SHA512 ef75ec6032805b08bd49716d5e9a4ca888c1a581b50e4ad5cc1d003cd182a47cfc87c945e7564251c8e041fc3ffa1b11e0579597fc9806db88955b3e029ba4a3
24
25 diff --git a/dev-ml/rpc/metadata.xml b/dev-ml/rpc/metadata.xml
26 new file mode 100644
27 index 000000000..f926d92a9
28 --- /dev/null
29 +++ b/dev-ml/rpc/metadata.xml
30 @@ -0,0 +1,11 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>lssndrbarbieri@×××××.com</email>
36 + <name>Alessandro Barbieri</name>
37 + </maintainer>
38 + <upstream>
39 + <remote-id type="github">mirage/ocaml-rpc</remote-id>
40 + </upstream>
41 +</pkgmetadata>
42
43 diff --git a/dev-ml/rpc/rpc-8.1.2.ebuild b/dev-ml/rpc/rpc-8.1.2.ebuild
44 new file mode 100644
45 index 000000000..9f42f8ce1
46 --- /dev/null
47 +++ b/dev-ml/rpc/rpc-8.1.2.ebuild
48 @@ -0,0 +1,44 @@
49 +# Copyright 1999-2022 Gentoo Authors
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI=8
53 +
54 +inherit dune
55 +
56 +MY_P="rpclib-${PV}"
57 +
58 +DESCRIPTION="Light library to deal with RPCs in OCaml"
59 +HOMEPAGE="https://github.com/mirage/ocaml-rpc"
60 +SRC_URI="https://github.com/mirage/ocaml-${PN}/releases/download/${PV}/${MY_P}.tbz"
61 +S="${WORKDIR}/${MY_P}"
62 +
63 +LICENSE="ISC"
64 +SLOT="0/${PV}"
65 +KEYWORDS="~amd64"
66 +IUSE="ocamlopt"
67 +
68 +DEPEND="
69 + dev-ml/async
70 + dev-ml/ocaml-base64
71 + dev-ml/cmdliner
72 + dev-ml/cow
73 + dev-ml/js_of_ocaml
74 + dev-ml/lwt
75 + dev-ml/ppxlib
76 + dev-ml/result
77 + dev-ml/rresult
78 + dev-ml/xmlm
79 + dev-ml/yojson
80 +"
81 +RDEPEND="${DEPEND}"
82 +BDEPEND="app-text/md2mld"
83 +
84 +src_install() {
85 + dune_src_install ppx_deriving_rpc
86 + dune_src_install rpc
87 + dune_src_install rpclib-async
88 + dune_src_install rpclib-html
89 + dune_src_install rpclib-js
90 + dune_src_install rpclib-lwt
91 + dune_src_install rpclib
92 +}