Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/userspace-rcu/
Date: Thu, 17 Jun 2021 23:20:40
Message-Id: 1623972009.169a40cfa8950499fb9f558ea782295ad90ec6ec.whissi@gentoo
1 commit: 169a40cfa8950499fb9f558ea782295ad90ec6ec
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 17 23:05:49 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 17 23:20:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169a40cf
7
8 dev-libs/userspace-rcu: bump to v0.13.0
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-libs/userspace-rcu/Manifest | 1 +
14 dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild | 36 ++++++++++++++++++++++
15 2 files changed, 37 insertions(+)
16
17 diff --git a/dev-libs/userspace-rcu/Manifest b/dev-libs/userspace-rcu/Manifest
18 index 64f1a14be39..b7c46f30a9f 100644
19 --- a/dev-libs/userspace-rcu/Manifest
20 +++ b/dev-libs/userspace-rcu/Manifest
21 @@ -1 +1,2 @@
22 DIST userspace-rcu-0.12.2.tar.bz2 529440 BLAKE2B 808cc088e0c16098e1b99bad00f599a01ed9b4a02ffccfe5b8020f56a616fc9af3e0c830f788c44d6c89fc1acdb444659ea6ac713736d38d226bdc5a1170f511 SHA512 97031a0b5fe30e75e54f50d2170fdb2618e6d9b526aa5f6fa53e59251a548dee95e85c909aafb3989175c7306a32fa9e104beb12adf0710f5f1eec924fa177aa
23 +DIST userspace-rcu-0.13.0.tar.bz2 608434 BLAKE2B 11b5d13f4e1a577cc33ad430eb387b26cc2db2ba9ff32c7a09f9cb6c8a418548cd87c198ab4b63be3df884d8e3878046ba817106ff2f07cbab86dd60c9bb1d34 SHA512 7288b5a4a2dca6a75ecaa8553b942b9e7be9cae25776d2448fb0b0c950af9919c369791839607c6c1e6cbd32bbd1e1cafc18ee753f0e3bdc2ed7b65488612580
24
25 diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild
26 new file mode 100644
27 index 00000000000..d5a84522a54
28 --- /dev/null
29 +++ b/dev-libs/userspace-rcu/userspace-rcu-0.13.0.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="userspace RCU (read-copy-update) library"
37 +HOMEPAGE="https://liburcu.org/"
38 +SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2"
39 +
40 +LICENSE="LGPL-2.1"
41 +SLOT="0/8" # subslot = soname version
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
43 +IUSE="static-libs regression-test test"
44 +RESTRICT="!test? ( test )"
45 +
46 +DEPEND="test? ( sys-process/time )"
47 +
48 +src_configure() {
49 + local myeconfargs=(
50 + --enable-shared
51 + $(use_enable static-libs static)
52 + )
53 + econf "${myeconfargs[@]}"
54 +}
55 +
56 +src_install() {
57 + default
58 + find "${ED}" -type f -name "*.la" -delete || die
59 +}
60 +
61 +src_test() {
62 + default
63 + if use regression-test ; then
64 + emake -C tests/regression regtest
65 + fi
66 +}