From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 679B5158086 for ; Thu, 6 Jan 2022 21:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 024712BC006; Thu, 6 Jan 2022 21:14:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ADB1E077C for ; Thu, 6 Jan 2022 21:14:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F0E7342EBD for ; Thu, 6 Jan 2022 21:14:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB047275 for ; Thu, 6 Jan 2022 21:14:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1641503669.d46502e794948afa85e33f86d575456c62ff8859.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/userspace-rcu/files/, dev-libs/userspace-rcu/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/userspace-rcu/Manifest dev-libs/userspace-rcu/files/userspace-rcu-0.13.1-tests-no-benchmark.patch dev-libs/userspace-rcu/metadata.xml dev-libs/userspace-rcu/userspace-rcu-0.13.1.ebuild X-VCS-Directories: dev-libs/userspace-rcu/ dev-libs/userspace-rcu/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d46502e794948afa85e33f86d575456c62ff8859 X-VCS-Branch: master Date: Thu, 6 Jan 2022 21:14:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c2d6656b-d2b4-417f-a351-47feddfb58c9 X-Archives-Hash: 6134eb1dd4a397fee8c248c18531cd91 commit: d46502e794948afa85e33f86d575456c62ff8859 Author: Sam James gentoo org> AuthorDate: Thu Jan 6 21:11:31 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 6 21:14:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46502e7 dev-libs/userspace-rcu: add 0.13.1 Signed-off-by: Sam James gentoo.org> dev-libs/userspace-rcu/Manifest | 1 + .../userspace-rcu-0.13.1-tests-no-benchmark.patch | 13 ++++++ dev-libs/userspace-rcu/metadata.xml | 14 +++--- dev-libs/userspace-rcu/userspace-rcu-0.13.1.ebuild | 50 ++++++++++++++++++++++ 4 files changed, 71 insertions(+), 7 deletions(-) diff --git a/dev-libs/userspace-rcu/Manifest b/dev-libs/userspace-rcu/Manifest index 24eedb824689..f20d5a0e4e87 100644 --- a/dev-libs/userspace-rcu/Manifest +++ b/dev-libs/userspace-rcu/Manifest @@ -1 +1,2 @@ DIST userspace-rcu-0.13.0.tar.bz2 608434 BLAKE2B 11b5d13f4e1a577cc33ad430eb387b26cc2db2ba9ff32c7a09f9cb6c8a418548cd87c198ab4b63be3df884d8e3878046ba817106ff2f07cbab86dd60c9bb1d34 SHA512 7288b5a4a2dca6a75ecaa8553b942b9e7be9cae25776d2448fb0b0c950af9919c369791839607c6c1e6cbd32bbd1e1cafc18ee753f0e3bdc2ed7b65488612580 +DIST userspace-rcu-0.13.1.tar.bz2 609961 BLAKE2B 96581fb3e90764870d2eb3eff6999e3c20bf206e3a0d5c910acfe693d55e0cb389fa5126a74d175f3c46655e740ecf1c1426c367eb3c28f3ef3a634848e51e83 SHA512 c86f2eb260cccb3cb6bd54ddbc0b46e60083fc99423e9403242ebed7f39a2a49c68af933ea6f373e2a9d4f9dc56f5befe030740891e28cf2fabe927a48ff8182 diff --git a/dev-libs/userspace-rcu/files/userspace-rcu-0.13.1-tests-no-benchmark.patch b/dev-libs/userspace-rcu/files/userspace-rcu-0.13.1-tests-no-benchmark.patch new file mode 100644 index 000000000000..ecbe3e01e0a8 --- /dev/null +++ b/dev-libs/userspace-rcu/files/userspace-rcu-0.13.1-tests-no-benchmark.patch @@ -0,0 +1,13 @@ +Fedora: https://src.fedoraproject.org/rpms/userspace-rcu/raw/rawhide/f/regtest-without-bench.patch + +"Remove the benchmarks from the regtest target, they timeout on the buildds." +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -8,7 +8,6 @@ + cd benchmark && $(MAKE) $(AM_MAKEFLAGS) long_bench + regtest: + cd regression && $(MAKE) $(AM_MAKEFLAGS) regtest +- cd benchmark && $(MAKE) $(AM_MAKEFLAGS) regtest + + check-loop: + while [ 0 ]; do \ diff --git a/dev-libs/userspace-rcu/metadata.xml b/dev-libs/userspace-rcu/metadata.xml index 4123f2f05874..dce48a4a9489 100644 --- a/dev-libs/userspace-rcu/metadata.xml +++ b/dev-libs/userspace-rcu/metadata.xml @@ -1,11 +1,11 @@ - -base-system@gentoo.org -Gentoo Base System - - -Run regression tests (requires FEATURES=test) - + + base-system@gentoo.org + Gentoo Base System + + + Run regression tests (requires FEATURES=test) + diff --git a/dev-libs/userspace-rcu/userspace-rcu-0.13.1.ebuild b/dev-libs/userspace-rcu/userspace-rcu-0.13.1.ebuild new file mode 100644 index 000000000000..434c0ba25a9e --- /dev/null +++ b/dev-libs/userspace-rcu/userspace-rcu-0.13.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Userspace RCU (read-copy-update) library" +HOMEPAGE="https://liburcu.org/" +SRC_URI="https://lttng.org/files/urcu/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/8" # subslot = soname version +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( sys-process/time )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.13.1-tests-no-benchmark.patch +) + +src_prepare() { + default + + # Needed for tests patch + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-shared + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + default + + emake -C tests/regression regtest +} + +src_install() { + default + + find "${ED}" -type f -name "*.la" -delete || die +}