From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 5FE8B158074 for ; Sat, 28 Jun 2025 02:16:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 45D28341030 for ; Sat, 28 Jun 2025 02:16:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F23D111055B; Sat, 28 Jun 2025 02:16:15 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id ECB8A11055B for ; Sat, 28 Jun 2025 02:16:15 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3086340E5B for ; Sat, 28 Jun 2025 02:16:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 273982A0D for ; Sat, 28 Jun 2025 02:16:14 +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: <1751076859.01b03088b7f2a28ce82bb16c5b8966ea0c8184ba.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnbd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libnbd/libnbd-1.22.2.ebuild sys-libs/libnbd/libnbd-1.23.4.ebuild sys-libs/libnbd/metadata.xml X-VCS-Directories: sys-libs/libnbd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 01b03088b7f2a28ce82bb16c5b8966ea0c8184ba X-VCS-Branch: master Date: Sat, 28 Jun 2025 02:16:14 +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: 06aaa91e-ae53-49d3-86a0-c941778205a6 X-Archives-Hash: 6ad51f52b74a9bc39d90bf0de520b023 commit: 01b03088b7f2a28ce82bb16c5b8966ea0c8184ba Author: Christopher Byrne gmail com> AuthorDate: Sat Jun 28 00:29:03 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 28 02:14:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b03088 sys-libs/libnbd: Remove rust bindings Rust doesn't support native system shared libraries so it can't work Closes: https://bugs.gentoo.org/959135 Signed-off-by: Christopher Byrne gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42782 Closes: https://github.com/gentoo/gentoo/pull/42782 Signed-off-by: Sam James gentoo.org> sys-libs/libnbd/libnbd-1.22.2.ebuild | 14 ++++---------- sys-libs/libnbd/libnbd-1.23.4.ebuild | 14 ++++---------- sys-libs/libnbd/metadata.xml | 3 --- 3 files changed, 8 insertions(+), 23 deletions(-) diff --git a/sys-libs/libnbd/libnbd-1.22.2.ebuild b/sys-libs/libnbd/libnbd-1.22.2.ebuild index 1aa213a6484b..645dd03f5c77 100644 --- a/sys-libs/libnbd/libnbd-1.22.2.ebuild +++ b/sys-libs/libnbd/libnbd-1.22.2.ebuild @@ -3,11 +3,9 @@ EAPI=8 -RUST_OPTIONAL=1 -RUST_REQ_USE="rustfmt" PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools bash-completion-r1 python-single-r1 rust +inherit autotools bash-completion-r1 python-single-r1 MY_PV_1="$(ver_cut 1-2)" MY_PV_2="$(ver_cut 2)" @@ -20,7 +18,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/${MY_PV_1}-${SD}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" -IUSE="examples fuse gnutls go ocaml python rust test" +IUSE="examples fuse gnutls go ocaml python test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -43,8 +41,7 @@ DEPEND=" ocaml? ( dev-ml/findlib[ocamlopt] ) ) " -BDEPEND="dev-lang/perl - rust? ( ${RUST_DEPEND} )" +BDEPEND="dev-lang/perl" PATCHES=( "${FILESDIR}/${PN}-1.22.2-build-Remove-automagic-compiling-of-examples.patch" @@ -52,9 +49,6 @@ PATCHES=( ) pkg_setup() { - if use rust; then - rust_pkg_setup - fi if use python; then python_setup fi @@ -79,8 +73,8 @@ src_configure() { $(use_enable go golang) $(use_enable ocaml) $(use_enable python) - $(use_enable rust) $(use_with gnutls) + --disable-rust --disable-ublk # Not in portage --with-libxml2 ) diff --git a/sys-libs/libnbd/libnbd-1.23.4.ebuild b/sys-libs/libnbd/libnbd-1.23.4.ebuild index 1aa213a6484b..645dd03f5c77 100644 --- a/sys-libs/libnbd/libnbd-1.23.4.ebuild +++ b/sys-libs/libnbd/libnbd-1.23.4.ebuild @@ -3,11 +3,9 @@ EAPI=8 -RUST_OPTIONAL=1 -RUST_REQ_USE="rustfmt" PYTHON_COMPAT=( python3_{10..13} ) -inherit autotools bash-completion-r1 python-single-r1 rust +inherit autotools bash-completion-r1 python-single-r1 MY_PV_1="$(ver_cut 1-2)" MY_PV_2="$(ver_cut 2)" @@ -20,7 +18,7 @@ SRC_URI="https://download.libguestfs.org/libnbd/${MY_PV_1}-${SD}/${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~sparc ~x86" -IUSE="examples fuse gnutls go ocaml python rust test" +IUSE="examples fuse gnutls go ocaml python test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -43,8 +41,7 @@ DEPEND=" ocaml? ( dev-ml/findlib[ocamlopt] ) ) " -BDEPEND="dev-lang/perl - rust? ( ${RUST_DEPEND} )" +BDEPEND="dev-lang/perl" PATCHES=( "${FILESDIR}/${PN}-1.22.2-build-Remove-automagic-compiling-of-examples.patch" @@ -52,9 +49,6 @@ PATCHES=( ) pkg_setup() { - if use rust; then - rust_pkg_setup - fi if use python; then python_setup fi @@ -79,8 +73,8 @@ src_configure() { $(use_enable go golang) $(use_enable ocaml) $(use_enable python) - $(use_enable rust) $(use_with gnutls) + --disable-rust --disable-ublk # Not in portage --with-libxml2 ) diff --git a/sys-libs/libnbd/metadata.xml b/sys-libs/libnbd/metadata.xml index 7f4fe7c56247..67433ebdc158 100644 --- a/sys-libs/libnbd/metadata.xml +++ b/sys-libs/libnbd/metadata.xml @@ -15,8 +15,5 @@ Build bindings for dev-lang/go - - Build bindings for dev-lang/rust -