Diff file-5.36 with a file-5.37-r1

/usr/portage/sys-apps/file/file-5.37-r1.ebuild 2019-12-02 17:39:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
6
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy )
7 7
DISTUTILS_OPTIONAL=1
8 8

  
9 9
inherit distutils-r1 libtool toolchain-funcs multilib-minimal
......
13 13
	inherit autotools git-r3
14 14
else
15 15
	SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz"
16
	KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16
	KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17 17
fi
18 18

  
19 19
DESCRIPTION="identify a file's format by scanning binary data for patterns"
......
33 33
RDEPEND="${DEPEND}
34 34
	python? ( !dev-python/python-magic )"
35 35

  
36
PATCHES=( "${FILESDIR}"/${P}-CVE-2019-18218.patch )
37

  
36 38
src_prepare() {
37 39
	default
38 40

  
......
122 124
		cd python || die
123 125
		distutils-r1_src_install
124 126
	fi
125
	find "${ED}" -name "*.la" -delete || die
127
	find "${ED}" -type f -name "*.la" -delete || die
126 128
}
Thank you!