Сравнение libblockdev-2.28-r1 с libblockdev-3.0.2-r1

/usr/portage/sys-libs/libblockdev/libblockdev-3.0.2-r1.ebuild 2023-10-09 14:52:35.548368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
7
inherit autotools python-single-r1 xdg-utils
6
PYTHON_COMPAT=( python3_{10..11} )
7
inherit autotools python-single-r1 toolchain-funcs xdg-utils
8 8

  
9 9
DESCRIPTION="A library for manipulating block devices"
10 10
HOMEPAGE="https://github.com/storaged-project/libblockdev"
......
17 17
else
18 18
	MY_PV="${PV}-1"
19 19
	SRC_URI="https://github.com/storaged-project/${PN}/releases/download/${MY_PV}/${P}.tar.gz"
20
	KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
20
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
21 21
fi
22 22
LICENSE="LGPL-2+"
23
SLOT="0/2"	# subslot is SOVERSION
24
IUSE="bcache +cryptsetup device-mapper dmraid escrow gtk-doc introspection lvm kbd test +tools vdo"
23
SLOT="0/3"	# subslot is SOVERSION
24
IUSE="+cryptsetup device-mapper escrow gtk-doc introspection lvm +nvme test +tools"
25 25
# Tests require root. In a future release, we may be able to run a smaller
26 26
# subset with new run_tests.py arguments.
27 27
RESTRICT="!test? ( test ) test"
......
29 29
RDEPEND="
30 30
	>=dev-libs/glib-2.42.2
31 31
	dev-libs/libbytesize
32
	sys-apps/gptfdisk
32 33
	>=sys-apps/kmod-19
33 34
	>=sys-apps/util-linux-2.27
34 35
	>=sys-block/parted-3.1
......
37 38
			>=dev-libs/nss-3.18.0
38 39
			dev-libs/volume_key
39 40
		)
40
		>=sys-fs/cryptsetup-1.6.7:=
41
		>=sys-apps/keyutils-1.5.0:=
42
		>=sys-fs/cryptsetup-2.3.0:=
41 43
	)
42 44
	device-mapper? ( sys-fs/lvm2 )
43
	dmraid? (
44
		sys-fs/dmraid
45
		sys-fs/lvm2
46
	)
47 45
	lvm? (
48 46
		sys-fs/lvm2
49 47
		virtual/udev
50 48
	)
51
	vdo? ( dev-libs/libyaml )
49
	nvme? ( sys-libs/libnvme )
52 50
	${PYTHON_DEPS}
51
	$(python_gen_cond_dep '
52
		dev-python/pygobject:3[${PYTHON_USEDEP}]
53
	')
53 54
"
54 55

  
55 56
DEPEND="
56 57
	${RDEPEND}
57 58
"
58 59

  
59
# TODO: relax libbytesize condition once it has gained py3.11 support
60 60
BDEPEND+="
61 61
	dev-util/gtk-doc-am
62 62
	gtk-doc? ( dev-util/gtk-doc )
......
64 64
	test? (
65 65
		$(python_gen_cond_dep '
66 66
			dev-libs/libbytesize[python,${PYTHON_USEDEP}]
67
		' python3_{9..10} )
67
		')
68 68
		sys-block/targetcli-fb
69 69
	)
70 70
"
......
72 72
REQUIRED_USE="${PYTHON_REQUIRED_USE}
73 73
		escrow? ( cryptsetup )"
74 74

  
75
PATCHES=(
76
	"${FILESDIR}"/${PN}-2.28-sh_tests.patch
77
)
78

  
79 75
pkg_setup() {
80 76
	python-single-r1_pkg_setup
81 77
}
......
92 88
}
93 89

  
94 90
src_configure() {
91
	# Bug #910487
92
	if tc-ld-is-lld; then
93
		tc-ld-force-bfd
94
	fi
95

  
95 96
	local myeconfargs=(
96 97
		--with-btrfs
97 98
		--with-fs
......
99 100
		--with-python3
100 101
		--without-mpath
101 102
		--without-nvdimm
102
		--without-python2
103 103
		$(use_enable introspection)
104 104
		$(use_enable test tests)
105
		$(use_with bcache)
106 105
		$(use_with cryptsetup crypto)
107 106
		$(use_with device-mapper dm)
108
		$(use_with dmraid)
109 107
		$(use_with escrow)
110 108
		$(use_with gtk-doc)
111
		$(use_with kbd)
112 109
		$(use_with lvm lvm)
113 110
		$(use_with lvm lvm-dbus)
111
		$(use_with nvme)
114 112
		$(use_with tools)
115
		$(use_with vdo)
116 113
	)
117 114
	econf "${myeconfargs[@]}"
118 115
}
Спасибо!