public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnvme/
Date: Fri, 29 Sep 2023 07:05:15 +0000 (UTC)	[thread overview]
Message-ID: <1695970953.9002f16a585b190e0994ae7819da7d75d8d46722.chutzpah@gentoo> (raw)

commit:     9002f16a585b190e0994ae7819da7d75d8d46722
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 29 07:02:33 2023 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Sep 29 07:02:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9002f16a

sys-libs/libnvme: add 1.6

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 sys-libs/libnvme/Manifest           |  1 +
 sys-libs/libnvme/libnvme-1.6.ebuild | 75 +++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sys-libs/libnvme/Manifest b/sys-libs/libnvme/Manifest
index cc7d25a235af..f48655de8530 100644
--- a/sys-libs/libnvme/Manifest
+++ b/sys-libs/libnvme/Manifest
@@ -2,3 +2,4 @@ DIST libnvme-1.2.tar.gz 484397 BLAKE2B ae6b1c3aa8f45594219470059cfc8982674433772
 DIST libnvme-1.3.tar.gz 499870 BLAKE2B 5a019c12829890a0fe0b5e6aec5fbd009fc3bd6dfe7e81f61731292f4ea8b03044e7625491479350c399cc8cd5bc023e02cc9e93f1eba38f4c747667e84cfb24 SHA512 c874b29b73e55be842f71e74a226a76fcd50dfa72e2be100f0437bc83e740cd146b6d2f2cdaa940c11c3d8c48ff2c065ac0e8a83d4d0dde743edf4179f328670
 DIST libnvme-1.4.tar.gz 506101 BLAKE2B c1496c6258bf20ed4109710b06671fa7f0e27c7649520ad8ccf4021df00fffc45f80fea248d62d2b85eecc8b15b6afaf4a113d96d6737ae6772346c9d0bc1002 SHA512 cc4a0a78083471e912736d76e4faaa5c285e1149029560f212ff06254863e8f21b48fcb1638599bd68efcf888312a248fb748d23776af03574b39fbd9b2a418d
 DIST libnvme-1.5.tar.gz 566715 BLAKE2B 2111a6929bc17949f03c39fdb247420bba371641b38e30cc7bc4b61a859471d1bfaa27d0dd3bb41379a3a59bb493ff9ce9006460aaf0b900c7ce40410701c03b SHA512 0a19eca2dd7c48c9da3123767c3c789dfb7528d6f5b2b2dfdc8af7cd64e1d724fb81c6002b9821ce916cc7adb6b5e5e28253f1d73131188b0559c6d276a7d07c
+DIST libnvme-1.6.tar.gz 597676 BLAKE2B 8b47b268154574688a909d0664df55eda38d9f133373fabcffe987ede03e0c531f88126e0dc50204d74fb2fa665af6379aa5205757bfc5863926db8402fbab27 SHA512 ae6a95ed75bbdc6f8c5c5608eaad8bcaf60a08348ddff356bd47258da2bd2470bdaa45747cdb7ba24f10db093fc0ab95f8bda076a45cbb87e155e3158ef726f8

diff --git a/sys-libs/libnvme/libnvme-1.6.ebuild b/sys-libs/libnvme/libnvme-1.6.ebuild
new file mode 100644
index 000000000000..2ecf469e67da
--- /dev/null
+++ b/sys-libs/libnvme/libnvme-1.6.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 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="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="dbus +json keyutils python ssl +uuid"
+
+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=false
+		$(meson_feature json json-c)
+		$(meson_feature dbus libdbus)
+		$(meson_feature keyutils)
+		$(meson_feature ssl openssl)
+		$(meson_feature python)
+	)
+	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
+}


             reply	other threads:[~2023-09-29  7:05 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-29  7:05 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-16  0:57 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libnvme/ Patrick McLean
2024-10-31 20:37 Patrick McLean
2024-10-31 20:37 Patrick McLean
2024-09-23  8:18 Arthur Zamarin
2024-09-23  7:13 Arthur Zamarin
2024-09-23  0:32 Sam James
2024-08-05 18:50 Patrick McLean
2024-06-25  2:39 Sam James
2024-06-25  2:39 Sam James
2024-05-16 14:58 Arthur Zamarin
2024-05-03 21:57 Patrick McLean
2024-03-24 11:35 Sam James
2024-03-24 11:29 Sam James
2024-02-14 18:30 Patrick McLean
2024-02-06  5:36 Sam James
2024-02-06  3:05 Sam James
2024-02-06  2:56 Sam James
2024-02-03  6:56 Sam James
2024-02-02 17:51 Arthur Zamarin
2024-02-02 13:34 Arthur Zamarin
2024-02-02 12:38 Arthur Zamarin
2024-02-02  5:13 Sam James
2023-12-21  0:07 Ionen Wolkens
2023-12-20 11:08 Sam James
2023-12-10  1:38 Ionen Wolkens
2023-12-09  7:54 Arthur Zamarin
2023-11-24  9:31 Sam James
2023-11-08  5:35 Sam James
2023-11-08  5:35 Sam James
2023-11-08  1:50 Sam James
2023-11-08  1:50 Sam James
2023-11-08  1:50 Sam James
2023-11-04 10:52 Sam James
2023-11-02 14:41 Joonas Niilola
2023-10-26 13:04 Sam James
2023-09-13  5:38 Sam James
2023-08-19 15:37 Arthur Zamarin
2023-08-19  9:24 Sam James
2023-08-19  6:23 Sam James
2023-07-09  4:39 Sam James
2023-07-09  4:37 Sam James
2023-07-09  2:13 Sam James
2023-06-30 23:14 Patrick McLean
2023-05-29 20:18 Sam James
2023-05-27 10:57 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-05-23 15:16 Arthur Zamarin
2023-04-07  5:07 Sam James
2023-04-07  5:07 Sam James
2023-04-07  5:07 Sam James
2023-04-07  5:07 Sam James
2023-03-31 19:13 Patrick McLean
2023-01-31 23:06 Patrick McLean
2022-12-26  8:35 Sam James
2022-12-25 22:06 David Seifert
2022-11-25  6:02 Sam James
2022-11-25  5:16 Sam James
2022-11-25  5:16 Sam James
2022-11-25  5:16 Sam James
2022-11-14 22:15 Patrick McLean
2022-11-03 20:59 Patrick McLean
2022-10-31 18:07 Patrick McLean
2022-10-31 17:50 Patrick McLean
2022-08-01 18:56 Zac Medico
2022-07-28 13:59 Sam James
2022-05-19 11:24 WANG Xuerui
2022-04-09 19:48 Zac Medico

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1695970953.9002f16a585b190e0994ae7819da7d75d8d46722.chutzpah@gentoo \
    --to=chutzpah@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox