diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-11 01:49:36 +0000 |
commit | cf7807d7aea23a99a144afceaba961cfed652b5f (patch) | |
tree | ffd2c781c27e0b7e72152a685a04938a2b7966f0 /sys-libs | |
parent | 7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff) |
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/Manifest.gz | bin | 13737 -> 13727 bytes | |||
-rw-r--r-- | sys-libs/libblockdev/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-2.28-r1.ebuild | 136 | ||||
-rw-r--r-- | sys-libs/libblockdev/libblockdev-3.1.1.ebuild | 2 | ||||
-rw-r--r-- | sys-libs/libnvme/Manifest | 7 | ||||
-rw-r--r-- | sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch | 59 | ||||
-rw-r--r-- | sys-libs/libnvme/libnvme-1.10.ebuild | 76 | ||||
-rw-r--r-- | sys-libs/libnvme/libnvme-1.11.ebuild | 76 | ||||
-rw-r--r-- | sys-libs/libnvme/libnvme-1.9.ebuild | 80 |
9 files changed, 2 insertions, 438 deletions
diff --git a/sys-libs/Manifest.gz b/sys-libs/Manifest.gz Binary files differindex d23cec6da589..b52b8d4e21e3 100644 --- a/sys-libs/Manifest.gz +++ b/sys-libs/Manifest.gz diff --git a/sys-libs/libblockdev/Manifest b/sys-libs/libblockdev/Manifest index 417dc6a99cdb..2e581fe507ae 100644 --- a/sys-libs/libblockdev/Manifest +++ b/sys-libs/libblockdev/Manifest @@ -1,9 +1,7 @@ AUX libblockdev-2.28-sh_tests.patch 1552 BLAKE2B 3b26cf271a0cb2a0f51ecffe51c9caf9a0ac1c65aecb5adc845a2721f3ac7178df7c994b7647b4fa1bbfd27baf072325bffedf723555c39e164f7d7645163090 SHA512 11fc498db4ed1d3a9e5a9288e1137d64f7581cc7b2d265292f7a3899ef5cfc6d63138fef7f87695abd9d518fa1c74a8bd98ebb54038211eeb0afe7964d85c6c4 AUX libblockdev-3.0.4-add-non-systemd-method-for-distro-info.patch 1081 BLAKE2B f2b259d7a0fc120d900c244b8cb20dd4b69199e7e9f2c033b2c4242766529bef4f1190fd529ee612e54ed4d9456c0cb16b361669e64748d3399cefd39faeafb9 SHA512 315f404ee6a4f32cc71c71e59e49d901c082e387f49751e9caf52ff19dc3aa90099b2a8e5921e9ba1dd7f1d78b8ca3cac8e0dd8a58b6133e88cefaee8d35038d -DIST libblockdev-2.28.tar.gz 925698 BLAKE2B 63ac7ab5bd02c1ef1848d0b252e09fe721cfe86258f063b7bab616766cbc56311707dcb2dd3a1fadf0e0840187f121aa178fd5959500cd590b846238a9d3e36e SHA512 9e01c41db4f728c8e81e710c6bb4725bbe34b3a7de25ff7f57b7b88ca6b7b5debbe858947585d314770036b2c3c533f9f8ff3d038b7ca50eee3d18f9fbe0d392 DIST libblockdev-2.29.tar.gz 935117 BLAKE2B 774062459602a6f3730ac6e694b3f535daf0258cc5f509ff138bb8c15f44ff46bdc08e32ae1957909b51a191726cf5e9cb418c0317e5178300687947704cf5e0 SHA512 0d9637800b189f3824483010d2ff079da11b15ed0b42c578352a0d3cd9c35dab4e5945a3cc31c17ea6f88637548151fc7cf237ac8e9c98edfc7b7bce1a756e01 DIST libblockdev-3.1.1.tar.gz 1056270 BLAKE2B b3dbdc7226524d544193b609ced8a9fee725268ba2201b639c22103fcae6d047c94fb1b848e489525300242cb235d688934193894a06279a4dc0e0b33dff6e96 SHA512 44628d9e68a467f8a5d5e65e12d5d6ffb4d9b953c846acd9f6da257eab5ccd79309651d6b20092fa700fb4340f1f718ceef11141203da676d088824aa9d03481 -EBUILD libblockdev-2.28-r1.ebuild 3021 BLAKE2B c69a116e356da22fecc5c6c6306df6032d8cfd011b4df8f928d96cdcab6cd3bebb947844cedc0aa78e2ea67083960b18647c256c7272298b150e45535af69d71 SHA512 a1ba02748dfb044e770473e89d5cac59ed4822db3dd9f76bf655c4597f1341f456b34a047aed7c13a867de166be1baf8eb59f83974ca060cf5433ab9a5fc97c7 EBUILD libblockdev-2.29.ebuild 2940 BLAKE2B 05b8117e03fabdf77be75432e1185f301d93625d382af0a6a2854e07080fd299678d0d2af154081cffead017de4ff469b957586d5030b3fe8653fc199ed0a63c SHA512 3557c08061abae2b92b444dd06347f45cf6c98c0603d092c21de0f4ace387d9e6c341148796deb84d4e2d8e6c2d395b56acbb96989c4f02cd8df58759f80f43d -EBUILD libblockdev-3.1.1.ebuild 3019 BLAKE2B 0a025af987042503d1a0911e065c7cdd47cc44b8f19ad1a3e3df3876eb196e30c71bb6bbc1df8a85cabe04f34e6467e04c1826bdc6a4d3de8120b105abe77cd1 SHA512 63e4d7b0b05c3ddc7ed48848dd93e724c28a562165d27400ef1406c2f5476d52971efb6e7d9ff4576b275d9561130f655a105f57c4f6fd437d0baa96f7b9f6fb +EBUILD libblockdev-3.1.1.ebuild 3020 BLAKE2B 5a51d93ac2adb6f7cb1e1a96ba936557abf9435a519a444da83e548863b86526d5216402af5da40214898e671602fdb9ec64252e8f456a9ea92495d8aadaa81a SHA512 4bc38a0feb0c05c0e9633eaf81b2877b43aaf01b2b839dc6953fc5a29eaf30b202f6b7db77835b3570edb54140c48be4983434bde4ed14c9d1a0380839eb1e91 MISC metadata.xml 1042 BLAKE2B 9e4d219b1a7d795d3a0b04647fb34acf1f9361271fa8fb8c8b125da384b9e52c31413fd3a64cd2a36bd1d9e4cbbf65b513862affa520b44b5d3eeb9c71cce9f3 SHA512 d902068c1060027a5f3ab4379c2a42a2621d415aaa3737f800ba84b862eb96d32b2e900b6c39c7217f48322457218f74044eac68d95409254d9debf0d154c312 diff --git a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild b/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild deleted file mode 100644 index f584e52cc4c6..000000000000 --- a/sys-libs/libblockdev/libblockdev-2.28-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -inherit autotools python-single-r1 xdg-utils - -DESCRIPTION="A library for manipulating block devices" -HOMEPAGE="https://github.com/storaged-project/libblockdev" -if [[ "${PV}" == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/storaged-project/libblockdev.git" - BDEPEND=" - dev-build/autoconf-archive - " -else - MY_PV="${PV}-1" - SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" -fi -LICENSE="LGPL-2+" -SLOT="0/2" # subslot is SOVERSION -IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo" -# 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" - -RDEPEND=" - >=dev-libs/glib-2.42.2 - dev-libs/libbytesize - >=sys-apps/kmod-19 - >=sys-apps/util-linux-2.27 - >=sys-block/parted-3.1 - cryptsetup? ( - escrow? ( - >=dev-libs/nss-3.18.0 - dev-libs/volume_key - ) - >=sys-fs/cryptsetup-1.6.7:= - ) - device-mapper? ( sys-fs/lvm2 ) - dmraid? ( - sys-fs/dmraid - sys-fs/lvm2 - ) - lvm? ( - sys-fs/lvm2 - virtual/udev - ) - vdo? ( dev-libs/libyaml ) - ${PYTHON_DEPS} -" - -DEPEND=" - ${RDEPEND} -" - -# TODO: relax libbytesize condition once it has gained py3.11 support -BDEPEND+=" - dev-build/gtk-doc-am - gtk-doc? ( dev-util/gtk-doc ) - introspection? ( >=dev-libs/gobject-introspection-1.3.0 ) - test? ( - $(python_gen_cond_dep ' - dev-libs/libbytesize[python,${PYTHON_USEDEP}] - ' python3_{9..10} ) - sys-block/targetcli-fb - ) -" - -REQUIRED_USE="${PYTHON_REQUIRED_USE} - escrow? ( cryptsetup )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.28-sh_tests.patch -) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - xdg_environment_reset #623992 - default - - # https://bugs.gentoo.org/744289 - find -type f \( -name "Makefile.am" -o -name "configure.ac" \) -print0 \ - | xargs --null sed "s@ -Werror@@" -i || die - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --with-btrfs - --with-fs - --with-part - --with-python3 - --without-mpath - --without-nvdimm - --without-python2 - $(use_enable introspection) - $(use_enable test tests) - $(use_with bcache) - $(use_with cryptsetup crypto) - $(use_with device-mapper dm) - $(use_with dmraid) - $(use_with escrow) - $(use_with gtk-doc) - $(use_with kbd) - $(use_with lvm lvm) - $(use_with lvm lvm-dbus) - $(use_with tools) - $(use_with vdo) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # See http://storaged.org/libblockdev/ch03.html - # The 'check' target just does Pylint. - # ... but it needs root. - emake test -} - -src_install() { - default - 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 - rm -f "${ED}"/usr/bin/lvm-cache-stats || die - fi - python_optimize #718576 -} diff --git a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild index 506d379f6bba..bc2ca1e9bfbb 100644 --- a/sys-libs/libblockdev/libblockdev-3.1.1.ebuild +++ b/sys-libs/libblockdev/libblockdev-3.1.1.ebuild @@ -17,7 +17,7 @@ if [[ "${PV}" == *9999 ]] ; then else MY_PV="${PV}-1" SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi LICENSE="LGPL-2+" SLOT="0/3" # subslot is SOVERSION diff --git a/sys-libs/libnvme/Manifest b/sys-libs/libnvme/Manifest index 65e184ad4d33..633f0bacf2a2 100644 --- a/sys-libs/libnvme/Manifest +++ b/sys-libs/libnvme/Manifest @@ -1,10 +1,3 @@ -AUX libnvme-1.9-musl-stdint.patch 1873 BLAKE2B 44be4e9068286f32c8f4e9fc32f02fae7c70df4043db1418b1f889cccaa57d66769d3aa41b30e824a988e5635179be7a2a02676ce385b33dca877b0ff472c29b SHA512 5eb38bae6c38a97f108dff7be8a8c914392b1f3d4a2e26debd00fb62551101061824220b64c3aa791bb980185decf0a0fbc6d228b16c9cdcce6199d121764789 -DIST libnvme-1.10.gh.tar.gz 720737 BLAKE2B eb5941cbdec1ccf5782c3e438b55dd09ddd2c3b9ac1079d5642896d0d80d75ece3149ebe9d965c2783a5ae2ddfad64ae0051f9c63822a739108d53eb44a583db SHA512 44e8a407c9fda8c296163832c14ba167caab53eab315bd2dee94275458532429f12a35e0adef1356420d83127e658a354ce65ac946acaa53bef2d46a8189054c DIST libnvme-1.11.1.gh.tar.gz 740327 BLAKE2B eb9a731ce4886e7a76170d4be916e850548710dbbc135bbe94c5ff0c2f3da5e2cb162a6c8ea857d6b9b609ffafba34487cd3419fc4981e9e549419c2bb757568 SHA512 8720f2907a3d13af44fb3deec883cd6eb247d5861c4459b5fe0e67ff9ecfb565462a5faf39d43e08b5284f3e8ca8e72d41b333984beaa45d3287b1a258f3e59d -DIST libnvme-1.11.gh.tar.gz 740365 BLAKE2B c4d5950b0d0769f1aaddc6d82364ad14ae3b1b6e2b5d16225c8599833e51516c14b8802b77562b08cbb54c15b8e5814d7f5b059939c197b87375afba899ffe3d SHA512 5c1d00fe57ff699be01c326e24612da25e1772578928e2c70fb5f67e8a9fe0fa4c95e18f58d4abefa0e163e99c9e37b1109298e805e174b033e749d19865336b -DIST libnvme-1.9.tar.gz 657952 BLAKE2B e9d655709770f7c1d9c916cc9539b8ea096b0d5bf6b12079c2db494f070c98b6c388e2a79ed27a4932994a00d44da93fa3119ee224c48d40347a483548397349 SHA512 39a3346805143f93a17d00cfcb6fb75f82154658db6079134c09dfa989995ac5de79b1ce1ac091b4e997523d3216829ce9eac44110c9f59f9fd21636529c8b25 -EBUILD libnvme-1.10.ebuild 1490 BLAKE2B 1744ecfb30382f9b30bf0f7b90fc18474544a470513289fee0a833b0f9ffa2a0366b33d27148b3082ebc59a2f6a92ae14e3f72c132377559c979a9d06daa02e8 SHA512 41d68a137d48e334108bec901e92be84748a1b4839bea7d5ac7d402645557c9e31e66922f26e598ebdaf253dea851b5fd70a8a1c46f57d0154d376303db5fafa EBUILD libnvme-1.11.1.ebuild 1501 BLAKE2B f0367115bc0f88172f8dd2f42f9c08c6bb61b515405a3ac733180539c1accf53b819743ddf4ec927d56418c65c401c337d0d47719b71f6d27f6baf51ec5da461 SHA512 21365a349790ef17cd084ceb5511b4c73898ca9de93cdfe3556c6e6097e1bd85e6ef65156f12aac7dc3b7156d7c682a6df7dbea988325a1408a48117433226ca -EBUILD libnvme-1.11.ebuild 1506 BLAKE2B 4e336a13aa73c8a5a5ca2aa9b5b491b225c15b151b37db1c180844d13b0aa946b4a9f07d32b52a4de1e3a62541d7a80a065a1a5a3d503d3ab723a416da6e506c SHA512 579a144261b0674de182216e95e8d8fa60290b1be647014aefad2c94ed601cc5cef282b1d841fda3c564c4113d2f0a77d6383f6bf73bd7920a6f3cac374187be -EBUILD libnvme-1.9.ebuild 1544 BLAKE2B 070f4b4216a6fd02ff2af13c23cc9f2ceeee9f4f9c68b778e19c587ae91269f3359a92cacf9cf8587f89b6c552b844923ff5c43fd3cd4b4419d8374e0f68ccd7 SHA512 869382f8717e50df15706a339528e5bd35e481f8e848d959d2499364a9f94c8cb0d0be51af4fe67d982fc8c2e15d0f8da0d9a7510cc3901be2f8b7911ea33e0b MISC metadata.xml 585 BLAKE2B 6163419190adb903fdbdef99ad53f8b14ffbc08ac3c8b56f820049468010af2a58ac204ded1b53c767759e9ac864bf85dbc3b723cd7113cb919194dd9ceaaac3 SHA512 2f5268b41676d2a61d5415de3ec62149cda53613970a1af6aface937cc635d26866c88205a6d9fcf7efd7df0c7f45308ecf5b29b6cea937966b765a222edb8f7 diff --git a/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch b/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch deleted file mode 100644 index c2319b72bc96..000000000000 --- a/sys-libs/libnvme/files/libnvme-1.9-musl-stdint.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://github.com/linux-nvme/libnvme/pull/838 - -From b3ca2923affce631bc302f0fdce565093ffe1b5b Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sat, 4 May 2024 10:59:16 +0100 -Subject: [PATCH] Use C99 types for uint32_t - -<stdint.h> provides `uint32_t`, while `u_int_32` is an unofficial/internal -typedef that glibc happens to provide. This fixes the build on musl. - -Bug: https://bugs.gentoo.org/931194 - -Signed-off-by: Sam James <sam@gentoo.org> ---- a/src/nvme/base64.c -+++ b/src/nvme/base64.c -@@ -7,6 +7,7 @@ - * Author: Hannes Reinecke <hare@suse.de> - */ - -+#include <stdint.h> - #include <stdlib.h> - #include <string.h> - #include <errno.h> -@@ -29,7 +30,7 @@ static const char base64_table[65] = - int base64_encode(const unsigned char *src, int srclen, char *dst) - { - int i, bits = 0; -- u_int32_t ac = 0; -+ uint32_t ac = 0; - char *cp = dst; - - for (i = 0; i < srclen; i++) { -@@ -64,7 +65,7 @@ int base64_encode(const unsigned char *src, int srclen, char *dst) - */ - int base64_decode(const char *src, int srclen, unsigned char *dst) - { -- u_int32_t ac = 0; -+ uint32_t ac = 0; - int i, bits = 0; - unsigned char *bp = dst; - ---- a/src/nvme/linux.c -+++ b/src/nvme/linux.c -@@ -1513,10 +1513,10 @@ unsigned char *nvme_import_tls_key(const char *encoded_key, int *key_len, - return NULL; - } - crc = crc32(crc, decoded_key, decoded_len); -- key_crc = ((u_int32_t)decoded_key[decoded_len]) | -- ((u_int32_t)decoded_key[decoded_len + 1] << 8) | -- ((u_int32_t)decoded_key[decoded_len + 2] << 16) | -- ((u_int32_t)decoded_key[decoded_len + 3] << 24); -+ key_crc = ((uint32_t)decoded_key[decoded_len]) | -+ ((uint32_t)decoded_key[decoded_len + 1] << 8) | -+ ((uint32_t)decoded_key[decoded_len + 2] << 16) | -+ ((uint32_t)decoded_key[decoded_len + 3] << 24); - if (key_crc != crc) { - nvme_msg(NULL, LOG_ERR, "CRC mismatch (key %08x, crc %08x)", - key_crc, crc); - diff --git a/sys-libs/libnvme/libnvme-1.10.ebuild b/sys-libs/libnvme/libnvme-1.10.ebuild deleted file mode 100644 index 183c72198792..000000000000 --- a/sys-libs/libnvme/libnvme-1.10.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="dbus +json keyutils python ssl test +uuid" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sys-libs/libnvme/libnvme-1.11.ebuild b/sys-libs/libnvme/libnvme-1.11.ebuild deleted file mode 100644 index 3561f1c9e5d9..000000000000 --- a/sys-libs/libnvme/libnvme-1.11.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} python3_13t ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha ~amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="dbus +json keyutils python ssl test +uuid" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sys-libs/libnvme/libnvme-1.9.ebuild b/sys-libs/libnvme/libnvme-1.9.ebuild deleted file mode 100644 index 5e8a103a659f..000000000000 --- a/sys-libs/libnvme/libnvme-1.9.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86" -IUSE="dbus +json keyutils python ssl test +uuid" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-lang/swig -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.9-musl-stdint.patch -) - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} |