Diff brotli-1.0.9-r6 with a brotli-1.1.0
/usr/portage/app-arch/brotli/brotli-1.1.0.ebuild 2023-10-09 14:52:28.180368317 +0300 | ||
---|---|---|
6 | 6 |
DISTUTILS_EXT=1 |
7 | 7 |
DISTUTILS_OPTIONAL="1" |
8 | 8 |
DISTUTILS_USE_PEP517=setuptools |
9 |
PYTHON_COMPAT=( python3_{10..12} pypy3 ) |
|
9 |
PYTHON_COMPAT=( python3_{10..12} ) |
|
10 | 10 | |
11 | 11 |
inherit cmake-multilib distutils-r1 flag-o-matic |
12 | 12 | |
... | ... | |
14 | 14 |
EGIT_REPO_URI="https://github.com/google/${PN}.git" |
15 | 15 |
inherit git-r3 |
16 | 16 |
else |
17 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
|
18 | 18 |
SRC_URI=" |
19 | 19 |
https://github.com/google/${PN}/archive/v${PV}.tar.gz |
20 | 20 |
-> ${P}.tar.gz |
21 |
test? ( |
|
22 |
https://dev.gentoo.org/~mgorny/dist/${P}.testdata.tar.xz |
|
23 |
) |
|
24 | 21 |
" |
25 | 22 |
fi |
26 | 23 | |
... | ... | |
29 | 26 | |
30 | 27 |
LICENSE="MIT python? ( Apache-2.0 )" |
31 | 28 |
SLOT="0/$(ver_cut 1)" |
32 |
IUSE="python static-libs test" |
|
29 |
IUSE="python test" |
|
33 | 30 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
34 | 31 |
RESTRICT="!test? ( test )" |
35 | 32 | |
... | ... | |
52 | 49 | |
53 | 50 |
DOCS=( README.md CONTRIBUTING.md ) |
54 | 51 | |
55 |
PATCHES=( "${FILESDIR}/${PV}-linker.patch" ) |
|
56 | ||
57 | 52 |
src_prepare() { |
58 | 53 |
cmake_src_prepare |
59 | 54 |
use python && distutils-r1_src_prepare |
... | ... | |
89 | 84 | |
90 | 85 |
multilib_src_install() { |
91 | 86 |
cmake_src_install |
92 |
if ! use static-libs; then |
|
93 |
rm "${ED}"/usr/$(get_libdir)/*.a || die |
|
94 |
fi |
|
95 | 87 |
} |
96 | 88 | |
97 | 89 |
multilib_src_install_all() { |