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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CFCA41382C5 for ; Sat, 27 Feb 2021 01:00:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27EA8E084E; Sat, 27 Feb 2021 01:00:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 078D7E084A for ; Sat, 27 Feb 2021 01:00:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B622D33E830 for ; Sat, 27 Feb 2021 01:00:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 039F346B for ; Sat, 27 Feb 2021 01:00:28 +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: <1614387601.5f350f10332cca48ef19b5abe78504935ffd6019.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/bitset/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/bitset/bitset-2.8.4-r1.ebuild X-VCS-Directories: dev-libs/bitset/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5f350f10332cca48ef19b5abe78504935ffd6019 X-VCS-Branch: master Date: Sat, 27 Feb 2021 01:00:28 +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: 487b68da-b166-40a6-bbe7-a66dad63f261 X-Archives-Hash: 25e5d0e495945b3e28da1713e4f1757f commit: 5f350f10332cca48ef19b5abe78504935ffd6019 Author: Sam James gentoo org> AuthorDate: Fri Feb 26 23:18:02 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Feb 27 01:00:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f350f10 dev-libs/bitset: port to EAPI 7 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-libs/bitset/bitset-2.8.4-r1.ebuild | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/dev-libs/bitset/bitset-2.8.4-r1.ebuild b/dev-libs/bitset/bitset-2.8.4-r1.ebuild index 420af9b499c..74a48300b7f 100644 --- a/dev-libs/bitset/bitset-2.8.4-r1.ebuild +++ b/dev-libs/bitset/bitset-2.8.4-r1.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI=7 -AUTOTOOLS_AUTORECONF=1 -inherit autotools-utils +inherit autotools DESCRIPTION="A compressed bitset with supporting data structures and algorithms" HOMEPAGE="https://github.com/chriso/bitset" @@ -15,21 +14,37 @@ SLOT="0" IUSE="jemalloc static-libs tcmalloc" KEYWORDS="amd64 ~arm x86" -RDEPEND="tcmalloc? ( dev-util/google-perftools:= ) - jemalloc? ( >=dev-libs/jemalloc-3.2 )" +RDEPEND=" + tcmalloc? ( dev-util/google-perftools:= ) + jemalloc? ( >=dev-libs/jemalloc-3.2 ) +" DEPEND="${RDEPEND}" REQUIRED_USE="?? ( jemalloc tcmalloc )" DOCS=( README.md ) +src_prepare() { + default + eautoreconf +} + src_configure() { local tcmalloc_lib_name='tcmalloc' + has_version dev-util/google-perftools[minimal] && tcmalloc_lib_name='tcmalloc_minimal' + local myeconfargs=( $(use_with jemalloc) \ $(use_with tcmalloc) \ $(use_with tcmalloc tcmalloc-lib "${tcmalloc_lib_name}") ) - autotools-utils_src_configure + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die }