Diff libnvme-1.4 with a libnvme-1.5-r2

/usr/portage/sys-libs/libnvme/libnvme-1.5-r2.ebuild 2023-10-09 14:52:35.552368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{10..11} )
7 7
inherit python-r1 meson
8 8

  
9 9
DESCRIPTION="C Library for NVM Express on Linux"
10 10
HOMEPAGE="https://github.com/linux-nvme/libnvme"
11
SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
12

  
11 13
LICENSE="LGPL-2.1+"
12 14
SLOT="0/1"
15
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
13 16
IUSE="dbus +json keyutils python ssl +uuid"
14 17

  
15
SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
16
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv x86"
18
REQUIRED_USE="
19
	python? ( ${PYTHON_REQUIRED_USE} )
20
"
17 21

  
18 22
DEPEND="
19 23
	json? ( dev-libs/json-c:= )
......
24 28
	uuid? ( sys-apps/util-linux:= )
25 29
"
26 30
RDEPEND="${DEPEND}"
27

  
28 31
BDEPEND="
29 32
	dev-lang/swig
30 33
"
31 34

  
32
REQUIRED_USE="
33
	python? ( ${PYTHON_REQUIRED_USE} )
34
"
35
PATCHES=( "${FILESDIR}/${P}-free-segfault.patch" )
35 36

  
36 37
src_configure() {
37 38
	local emesonargs=(
38 39
		-Dpython=false
39 40
		$(meson_feature json json-c)
40 41
		$(meson_feature dbus libdbus)
42
		$(meson_feature keyutils)
41 43
		$(meson_feature ssl openssl)
42 44
		$(meson_feature python)
43 45
	)
Thank you!