commit: 8b8a0bbb4dc6e8e53b261d9f7c116a24a421e6ee Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Mon Jul 8 13:54:09 2024 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Tue Jul 9 14:52:15 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8a0bbb
sys-apps/azure-nvme-utils: Bump to 0.2.0, drop old 0.1.3 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> sys-apps/azure-nvme-utils/Manifest | 2 +- ...-0.1.3.ebuild => azure-nvme-utils-0.2.0.ebuild} | 11 +------- .../files/azure-nvme-utils-werror.patch | 31 ---------------------- 3 files changed, 2 insertions(+), 42 deletions(-) diff --git a/sys-apps/azure-nvme-utils/Manifest b/sys-apps/azure-nvme-utils/Manifest index d89ee9e88c4f..b22e463a9e90 100644 --- a/sys-apps/azure-nvme-utils/Manifest +++ b/sys-apps/azure-nvme-utils/Manifest @@ -1 +1 @@ -DIST azure-nvme-utils-0.1.3.tar.gz 11365 BLAKE2B 97b040a6cdacdd1e8eede89b16722a8e870c6027f0318ce0700ce4087f93fb2df7b25ab3154567548a1704cd9585a4f0cda3cf2bdde408990a715b96639225b4 SHA512 42b6ada9ec2db9d53e4b7f9b4a4dc581a06af2954c0da94a5851ed88b66cc2d349c3b6b3a7d4bcf73a68094620df4cd9d480dde31edaf9b80d5235129b634fa8 +DIST azure-nvme-utils-0.2.0.tar.gz 13177 BLAKE2B 5c486d035422ea6547e2886324e0b6e2537d11089bc0b3dfd550130e82ab8de8cc9a5be8e3bfd0722cb71c17a66c261f0cfd021e4a48e5568de01dd0c052fbbc SHA512 4ef2de641839bfbcc2e1a084cec218d1105550366770d731bb7a3e5d4b4e45a47b21ccf9a3a8069f469389e1d27e485bfed235a55d398930bddc8829eebc2708 diff --git a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild similarity index 77% rename from sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild rename to sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild index 5f4359903bf0..5d3421905581 100644 --- a/sys-apps/azure-nvme-utils/azure-nvme-utils-0.1.3.ebuild +++ b/sys-apps/azure-nvme-utils/azure-nvme-utils-0.2.0.ebuild @@ -11,21 +11,12 @@ SRC_URI="https://github.com/Azure/${PN}/archive/refs/tags/v${PV}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" -IUSE="doc +lun-fallback" - -BDEPEND=" - doc? ( virtual/pandoc ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-werror.patch -) +IUSE="+lun-fallback" src_configure() { local mycmakeargs=( -DAZURE_LUN_CALCULATION_BY_NSID_ENABLED=$(usex lun-fallback) -DUDEV_RULES_INSTALL_DIR="$(get_udevdir)/rules.d" - -DPANDOC_EXECUTABLE="$(usex doc "${BROOT}"/usr/bin/pandoc no)" ) cmake_src_configure } diff --git a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch b/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch deleted file mode 100644 index 928dcb099e4e..000000000000 --- a/sys-apps/azure-nvme-utils/files/azure-nvme-utils-werror.patch +++ /dev/null @@ -1,31 +0,0 @@ -From d4afc19a9432e1b7c25269732d18143263f87404 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot <[email protected]> -Date: Fri, 3 May 2024 12:52:04 +0100 -Subject: [PATCH] cmake: Only enable -Werror for debug builds - --Werror is very unhelpful for distributions and end users as different -(usually newer) compilers will raise warnings that the maintainers may -not see. The warnings should get reported upstream, but they shouldn't -block users from using the software. - -Signed-off-by: James Le Cuirot <[email protected]> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3d3cd4b..75db578 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -17,7 +17,7 @@ include(cmake/doc.cmake) - include(CTest) - enable_testing() - --add_compile_options(-Wextra -Wall -Werror -std=gnu11 -D_GNU_SOURCE=1) -+add_compile_options(-Wextra -Wall $<$<CONFIG:Debug>:-Werror> -std=gnu11 -D_GNU_SOURCE=1) - add_executable(azure-nvme-id src/main.c) - - set(AZURE_NVME_ID_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/sbin") --- -2.44.0 -
