Сравнение talloc-2.3.4 с talloc-2.4.0
/usr/portage/sys-libs/talloc/talloc-2.4.0.ebuild 2023-10-09 14:52:35.564368503 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
PYTHON_COMPAT=( python3_{9..11} ) |
7 | 7 |
PYTHON_REQ_USE="threads(+)" |
... | ... | |
14 | 14 |
LICENSE="GPL-3 LGPL-3+ LGPL-2" |
15 | 15 |
SLOT="0" |
16 | 16 |
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 |
IUSE="compat +python" |
|
17 |
IUSE="compat +python valgrind" |
|
18 | 18 | |
19 | 19 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
20 | 20 |
RESTRICT="test" |
... | ... | |
27 | 27 |
) |
28 | 28 |
python? ( ${PYTHON_DEPS} ) |
29 | 29 |
" |
30 |
DEPEND="${RDEPEND}" |
|
31 |
BDEPEND="${PYTHON_DEPS} |
|
30 |
# Valgrind is automagic here but it's a build-only dep so it's not so bad. |
|
31 |
DEPEND=" |
|
32 |
${RDEPEND} |
|
33 |
valgrind? ( dev-util/valgrind ) |
|
34 |
" |
|
35 |
BDEPEND=" |
|
36 |
${PYTHON_DEPS} |
|
32 | 37 |
dev-libs/libxslt |
33 | 38 |
sys-devel/gettext |
34 | 39 |
" |
... | ... | |
44 | 49 |
# try to turn off distcc and ccache for people that have a problem with it |
45 | 50 |
export DISTCC_DISABLE=1 |
46 | 51 |
export CCACHE_DISABLE=1 |
47 |
export PYTHONHASHSEED=1 |
|
48 | 52 | |
49 | 53 |
python-single-r1_pkg_setup |
50 | 54 |
} |
... | ... | |
65 | 69 | |
66 | 70 |
multilib_src_configure() { |
67 | 71 |
local extra_opts=( |
68 |
$(usex compat --enable-talloc-compat1 '') |
|
72 |
--libdir="${EPREFIX}/usr/$(get_libdir)" |
|
73 |
--disable-dependency-tracking |
|
74 |
--disable-warnings-as-errors |
|
75 | ||
76 |
$(usev compat --enable-talloc-compat1) |
|
69 | 77 |
$(multilib_native_usex python '' --disable-python) |
70 | 78 |
$([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') |
71 | 79 |
) |
80 | ||
72 | 81 |
waf-utils_src_configure "${extra_opts[@]}" |
73 | 82 |
} |
74 | 83 |