From 1f709ed82b8014b4c156f87c66cee7d0d1d3905d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Nov 2022 03:13:19 +0000 Subject: gentoo auto-resync : 04:11:2022 - 03:13:18 --- sys-libs/libnvme/Manifest | 2 +- sys-libs/libnvme/libnvme-1.2-r1.ebuild | 67 ++++++++++++++++++++++++++++++++++ sys-libs/libnvme/libnvme-1.2.ebuild | 61 ------------------------------- 3 files changed, 68 insertions(+), 62 deletions(-) create mode 100644 sys-libs/libnvme/libnvme-1.2-r1.ebuild delete mode 100644 sys-libs/libnvme/libnvme-1.2.ebuild (limited to 'sys-libs/libnvme') diff --git a/sys-libs/libnvme/Manifest b/sys-libs/libnvme/Manifest index 4d288ff98dd5..8801410f8fc4 100644 --- a/sys-libs/libnvme/Manifest +++ b/sys-libs/libnvme/Manifest @@ -3,5 +3,5 @@ DIST libnvme-1.1.tar.gz 449185 BLAKE2B 8914ded0dd3bcd39bef382ebe4f5d136ae20a3ebd DIST libnvme-1.2.tar.gz 484397 BLAKE2B ae6b1c3aa8f45594219470059cfc8982674433772f89faab1659811d860036f8af89bbcb383db37e96b763188935d2c1ecaa5176b8140bba50f8ea226e989a06 SHA512 f50517838cd1df3cdd123afdb67870633e9e484bf84dba70b784d7e86ecb355b96ba9d6a1cffb96b35444da7870dfe21c54b69701b5fe5b515319280db4a84e4 EBUILD libnvme-1.0.ebuild 635 BLAKE2B 1401b1c6fc3aa2133debd75fb29885ec51d28197e8b627e112f9843878e4fb20ffd60b0edb020775522ce8a44415940e940e322d3f5d9cf2136e4ed3b797a5d0 SHA512 2d86da3a07cbfe3f7fd448c43d6f840da75317c8fc49fa43cfef60cbdc4633d8f27b4a2de85f1abcd71225ae2a25cad6d6bd92c0acd820702d28e318807615f4 EBUILD libnvme-1.1.ebuild 635 BLAKE2B 1401b1c6fc3aa2133debd75fb29885ec51d28197e8b627e112f9843878e4fb20ffd60b0edb020775522ce8a44415940e940e322d3f5d9cf2136e4ed3b797a5d0 SHA512 2d86da3a07cbfe3f7fd448c43d6f840da75317c8fc49fa43cfef60cbdc4633d8f27b4a2de85f1abcd71225ae2a25cad6d6bd92c0acd820702d28e318807615f4 -EBUILD libnvme-1.2.ebuild 1157 BLAKE2B e6fc1e99c9c654d77842831a26cd091b3008ddebdafd17040b7de039c72f59798af89a8e4fb6bfcac500e655a1ae5ab65f34f1c0c5f66bba429acb51e21a94f3 SHA512 29c0464897f63f5d81d7eb5f88695507a7d240f895c3dc04c2207aeda2ca1197f1d0c76ec0f65a08896c47249c3e332cf13ee6c40c21a835d98928952494d01a +EBUILD libnvme-1.2-r1.ebuild 1212 BLAKE2B ac4760587de05238d6157bb68175427436c7ddcbd6a4b7de2bb2882e69a142ebd0a0b6d7a1c28932b75ec212f61f8c5315bf4ace6409c45f9edb1d39ea8a34bb SHA512 c91821594668e7a0454a64a1bcbebe739a642cf7fe6e6fe5e5f32ffeb027e81b55a8808cb5bb076a7f14531988d6bf1af8e20972aa324eb508715a5af6264bc5 MISC metadata.xml 606 BLAKE2B 21a2e71c2bfe19a55a0f0e0e831ba68e55265aff3b10b2052411398ac3c15c82244228c938f3a3cbe25fae5250b975b1ff887aa630d0fe4439cd90d6426a3945 SHA512 fd02dd36539f1ee1a3c27dc92ab208ec615f79b02f3e8a3275dd7acf9e9b674a76be941dac5fd2a177b803605fb027b987f9bbe8d374b2212023efe5e08b8338 diff --git a/sys-libs/libnvme/libnvme-1.2-r1.ebuild b/sys-libs/libnvme/libnvme-1.2-r1.ebuild new file mode 100644 index 000000000000..afe0173da916 --- /dev/null +++ b/sys-libs/libnvme/libnvme-1.2-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit python-utils-r1 python-r1 meson + +DESCRIPTION="C Library for NVM Express on Linux" +HOMEPAGE="https://github.com/linux-nvme/libnvme" +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="+json python ssl +uuid" + +SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + +DEPEND=" + json? ( dev-libs/json-c:= ) + python? ( ${PYTHON_DEPS} ) + ssl? ( >=dev-libs/openssl-1.1:= ) + uuid? ( sys-apps/util-linux:= ) +" +RDEPEND="${DEPEND}" + +BDEPEND=" + dev-lang/swig +" + +REQUIRED_USE=" + python? ( ${PYTHON_REQUIRED_USE} ) +" + +src_configure() { + local emesonargs=( + -Dpython=false + ) + meson_src_configure +} + +python_compile() { + local emesonargs=( + -Dpython=true + ) + 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.2.ebuild b/sys-libs/libnvme/libnvme-1.2.ebuild deleted file mode 100644 index ab243c0836c3..000000000000 --- a/sys-libs/libnvme/libnvme-1.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -inherit python-utils-r1 python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="+json python ssl +uuid" - -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" - -DEPEND=" - json? ( dev-libs/json-c:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND="${DEPEND}" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -src_configure() { - local emesonargs=( - -Dpython=false - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=true - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - python_copy_sources - - use python && python_foreach_impl python_compile -} - -python_install() { - meson_src_install - python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} -- cgit v1.2.3