Diff libnbd-1.14.1 with a libnbd-1.16.1-r1

/usr/portage/sys-libs/libnbd/libnbd-1.16.1-r1.ebuild 2023-10-09 14:52:35.552368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit bash-completion-r1
6
PYTHON_COMPAT=( python3_{8..11} )
7
inherit bash-completion-r1 python-single-r1
7 8

  
8 9
DESCRIPTION="NBD client library in userspace"
9 10
HOMEPAGE="https://gitlab.com/nbdkit/libnbd"
......
11 12

  
12 13
LICENSE="LGPL-2.1+"
13 14
SLOT="0"
14
KEYWORDS="amd64 ~sparc ~x86"
15
IUSE="fuse gnutls uri-support test"
15
KEYWORDS="~amd64 ~sparc ~x86"
16
IUSE="fuse gnutls go ocaml python test"
16 17

  
18
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
17 19
RESTRICT="!test? ( test )"
18 20

  
21
# libxml2 - URI support
19 22
RDEPEND="
23
	dev-libs/libxml2
20 24
	fuse? ( sys-fs/fuse:3 )
21 25
	gnutls? ( net-libs/gnutls:= )
22
	uri-support? ( dev-libs/libxml2 )
26
	python? ( ${PYTHON_DEPS} )
27
	go? ( dev-lang/go )
28
	ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
23 29
"
24 30
DEPEND="
25 31
	${RDEPEND}
26
	test? ( sys-block/nbd[gnutls?] )
32
	test? (
33
		sys-block/nbd[gnutls?]
34
		sys-block/nbdkit[gnutls?]
35
	)
27 36
"
28 37
BDEPEND="dev-lang/perl"
29 38

  
......
40 49
			requires false
41 50
		}
42 51
	EOF
52

  
53
	# Broken under sandbox.
54
	cat <<-EOF > lib/test-fork-safe-execvpe.sh || die
55
	#!/bin/sh
56
	:
57
	EOF
43 58
}
44 59

  
45 60
src_configure() {
46 61
	local myeconfargs=(
47 62
		$(use_enable fuse)
63
		$(use_enable go golang)
64
		$(use_enable ocaml)
65
		$(use_enable python)
48 66
		$(use_with gnutls)
49
		$(use_with uri-support libxml2)
50
		--disable-ocaml
51
		--disable-python
52
		--disable-golang
67
		--with-libxml2
53 68
	)
54 69

  
55 70
	export bashcompdir="$(get_bashcompdir)"
......
61 76
	default
62 77

  
63 78
	find "${ED}" -name '*.la' -delete || die
79
	use python && python_optimize
64 80
}
Thank you!