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 AEC2A158090 for ; Sat, 7 May 2022 13:43:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B75ACE077F; Sat, 7 May 2022 13:43:08 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C2A1E077F for ; Sat, 7 May 2022 13:43:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 9B27C34182F for ; Sat, 7 May 2022 13:43:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAD2544F for ; Sat, 7 May 2022 13:43:05 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1651930976.0a8cce2edf5a98c571862f722a7717b79d26f3f3.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libblockdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libblockdev/libblockdev-9999.ebuild sys-libs/libblockdev/metadata.xml X-VCS-Directories: sys-libs/libblockdev/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 0a8cce2edf5a98c571862f722a7717b79d26f3f3 X-VCS-Branch: master Date: Sat, 7 May 2022 13:43:05 +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: 44ca9bc9-486b-4eb0-ac74-73419eaa2d64 X-Archives-Hash: 086c20e5aacfb61c0dd0f7c6059a9ab7 commit: 0a8cce2edf5a98c571862f722a7717b79d26f3f3 Author: Lars Wendler gentoo org> AuthorDate: Sat May 7 13:33:50 2022 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat May 7 13:42:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8cce2e sys-libs/libblockdev: live ebuild adjustments Signed-off-by: Lars Wendler gentoo.org> sys-libs/libblockdev/libblockdev-9999.ebuild | 17 ++++++++--------- sys-libs/libblockdev/metadata.xml | 1 + 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys-libs/libblockdev/libblockdev-9999.ebuild b/sys-libs/libblockdev/libblockdev-9999.ebuild index 0682b4b778eb..caa2065daf93 100644 --- a/sys-libs/libblockdev/libblockdev-9999.ebuild +++ b/sys-libs/libblockdev/libblockdev-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit autotools python-single-r1 xdg-utils DESCRIPTION="A library for manipulating block devices" @@ -24,7 +24,7 @@ else fi LICENSE="LGPL-2+" SLOT="0" -IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo" +IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd +nvme test +tools" # Tests require root. In a future release, we may be able to run a smaller # subset with new run_tests.py arguments. RESTRICT="!test? ( test ) test" @@ -51,7 +51,7 @@ RDEPEND=" sys-fs/lvm2 virtual/udev ) - vdo? ( dev-libs/libyaml ) + nvme? ( sys-libs/libnvme ) ${PYTHON_DEPS} " @@ -88,6 +88,7 @@ src_configure() { --with-btrfs --with-fs --with-part + --with-python3 --without-mpath --without-nvdimm $(use_enable introspection) @@ -101,10 +102,8 @@ src_configure() { $(use_with kbd) $(use_with lvm lvm) $(use_with lvm lvm-dbus) + $(use_with nvme) $(use_with tools) - $(use_with vdo) - --without-python2 - --with-python3 ) econf "${myeconfargs[@]}" } @@ -121,7 +120,7 @@ src_install() { find "${ED}" -type f -name "*.la" -delete || die # This is installed even with USE=-lvm, but libbd_lvm are omitted so it # doesn't work at all. - if ! use lvm; then + if ! use lvm ; then rm -f "${ED}"/usr/bin/lvm-cache-stats || die fi python_optimize #718576 diff --git a/sys-libs/libblockdev/metadata.xml b/sys-libs/libblockdev/metadata.xml index 981e2c38015b..5d09531b8a88 100644 --- a/sys-libs/libblockdev/metadata.xml +++ b/sys-libs/libblockdev/metadata.xml @@ -13,6 +13,7 @@ Support for building crypto plugin with escrow device support Enable kernel block device support. Enable support for Logical Volume Management via sys-fs/lvm2. + Add nvme support via sys-libs/libnvme Build tools Enable Virtual Data Optimizer support.