Diff kmod-27-r3 with a kmod-28

/usr/portage/sys-apps/kmod/kmod-28.ebuild 2021-04-29 22:39:00.000000000 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python3_{6,7,8} )
6
PYTHON_COMPAT=( python3_{7..9} )
7 7

  
8 8
inherit autotools bash-completion-r1 multilib python-r1
9 9

  
......
12 12
	inherit git-r3
13 13
else
14 14
	SRC_URI="https://www.kernel.org/pub/linux/utils/kernel/kmod/${P}.tar.xz"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
15
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
16 16
	#inherit libtool
17 17
fi
18 18

  
......
21 21

  
22 22
LICENSE="LGPL-2"
23 23
SLOT="0"
24
IUSE="debug doc libressl +lzma pkcs7 python static-libs +tools +zlib +zstd"
24
IUSE="debug doc +lzma pkcs7 python static-libs +tools +zlib zstd"
25 25

  
26 26
# Upstream does not support running the test suite with custom configure flags.
27 27
# I was also told that the test suite is intended for kmod developers.
......
29 29
# See bug #408915.
30 30
RESTRICT="test"
31 31

  
32
# >=zlib-1.2.6 required because of bug #427130
32 33
# Block systemd below 217 for -static-nodes-indicate-that-creation-of-static-nodes-.patch
33 34
RDEPEND="!sys-apps/module-init-tools
34 35
	!sys-apps/modutils
35 36
	!<sys-apps/openrc-0.13.8
36 37
	!<sys-apps/systemd-216-r3
37 38
	lzma? ( >=app-arch/xz-utils-5.0.4-r1 )
38
	zstd? ( >=app-arch/zstd-1.4.0 )
39 39
	python? ( ${PYTHON_DEPS} )
40
	pkcs7? (
41
		!libressl? ( >=dev-libs/openssl-1.1.0:0= )
42
		libressl? ( dev-libs/libressl:0= )
43
	)
44
	zlib? ( >=sys-libs/zlib-1.2.6 )" #427130
40
	pkcs7? ( >=dev-libs/openssl-1.1.0:0= )
41
	zlib? ( >=sys-libs/zlib-1.2.6 )
42
	zstd? ( >=app-arch/zstd-1.4.4 )"
45 43
DEPEND="${RDEPEND}"
46 44
BDEPEND="
47 45
	doc? (
......
64 62

  
65 63
DOCS="NEWS README TODO"
66 64

  
67
PATCHES=( "${FILESDIR}"/${P}-depmod-do-not-output-.bin-to-stdout.patch
68
	"${FILESDIR}"/zstd-support-27.patch
69
)
70

  
71 65
src_prepare() {
72 66
	default
73 67

  
74 68
	if [[ ! -e configure ]] || use doc ; then
75 69
		if use doc; then
76
			cp "${EROOT}"/usr/share/aclocal/gtk-doc.m4 m4 || die
70
			cp "${BROOT}"/usr/share/aclocal/gtk-doc.m4 m4 || die
77 71
			gtkdocize --copy --docdir libkmod/docs || die
78 72
		else
79 73
			touch libkmod/docs/gtk-doc.make
Thank you!