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/xapi-stdext/
Date: Sun, 03 Apr 2022 23:49:47
Message-Id: 1649029567.b757bc38565c237089df454046f794d870f72969.Alessandro-Barbieri@gentoo
1 commit: b757bc38565c237089df454046f794d870f72969
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 2 22:58:21 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Apr 3 23:46:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b757bc38
7
8 dev-ml/xapi-stdext: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-ml/xapi-stdext/Manifest | 1 +
13 dev-ml/xapi-stdext/metadata.xml | 11 ++++++++
14 dev-ml/xapi-stdext/xapi-stdext-4.18.0.ebuild | 39 ++++++++++++++++++++++++++++
15 3 files changed, 51 insertions(+)
16
17 diff --git a/dev-ml/xapi-stdext/Manifest b/dev-ml/xapi-stdext/Manifest
18 new file mode 100644
19 index 000000000..f4e06be83
20 --- /dev/null
21 +++ b/dev-ml/xapi-stdext/Manifest
22 @@ -0,0 +1 @@
23 +DIST xapi-stdext-4.18.0.tar.gz 52297 BLAKE2B f0f4e0f2453b9d98a0fcbd90437cc173771164f18dca3dcc7a05afe1ddccb14a08f192184ab9bddbcfca14f8687cd935000c0ad26ea4adceece51df712cf5579 SHA512 11267f9adc7676724ef7e0a0e1eb670c7234216d45d9566eb09fafe09728c9da5d1ac065afa5aec73895c81d6e62f1c16cabc48c7c6473002e0d58fd7dbc97ee
24
25 diff --git a/dev-ml/xapi-stdext/metadata.xml b/dev-ml/xapi-stdext/metadata.xml
26 new file mode 100644
27 index 000000000..2b8c3392c
28 --- /dev/null
29 +++ b/dev-ml/xapi-stdext/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">xapi-project/stdext</remote-id>
40 + </upstream>
41 +</pkgmetadata>
42
43 diff --git a/dev-ml/xapi-stdext/xapi-stdext-4.18.0.ebuild b/dev-ml/xapi-stdext/xapi-stdext-4.18.0.ebuild
44 new file mode 100644
45 index 000000000..79e88891d
46 --- /dev/null
47 +++ b/dev-ml/xapi-stdext/xapi-stdext-4.18.0.ebuild
48 @@ -0,0 +1,39 @@
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 +DESCRIPTION="Citrix's (deprecated) extensions to the ocaml standard library"
57 +HOMEPAGE="
58 + https://xapi-project.github.io/stdext/
59 + https://github.com/xapi-project/stdext
60 +"
61 +SRC_URI="https://github.com/xapi-project/stdext/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
62 +S="${WORKDIR}/stdext-${PV}"
63 +
64 +LICENSE="LGPL-2.1-with-linking-exception"
65 +SLOT="0/${PV}"
66 +KEYWORDS="~amd64"
67 +IUSE="ocamlopt"
68 +
69 +DEPEND="
70 + <dev-lang/ocaml-4.14.0
71 + dev-ml/astring
72 + dev-ml/fd-send-recv
73 + dev-ml/logs
74 + dev-ml/ptime
75 + dev-ml/xapi-backtrace
76 +"
77 +RDEPEND="${DEPEND}"
78 +
79 +src_install() {
80 + dune_src_install xapi-stdext-date
81 + dune_src_install xapi-stdext-encodings
82 + dune_src_install xapi-stdext-pervasives
83 + dune_src_install xapi-stdext-std
84 + dune_src_install xapi-stdext-threads
85 + dune_src_install xapi-stdext-unix
86 + dune_src_install xapi-stdext-zerocheck
87 +}