Diff tevent-0.13.0 with a tevent-0.14.0
/usr/portage/sys-libs/tevent/tevent-0.14.0.ebuild 2023-10-09 14:52:35.564368503 +0300 | ||
---|---|---|
19 | 19 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
20 | 20 |
RESTRICT="test !test? ( test )" |
21 | 21 | |
22 |
TALLOC_VERSION="2.3.4" |
|
22 |
TALLOC_VERSION="2.4.0" |
|
23 | 23 | |
24 | 24 |
RDEPEND=" |
25 | 25 |
dev-libs/libbsd[${MULTILIB_USEDEP}] |
... | ... | |
44 | 44 | |
45 | 45 |
WAF_BINARY="${S}/buildtools/bin/waf" |
46 | 46 | |
47 |
pkg_setup() { |
|
48 |
python-single-r1_pkg_setup |
|
49 |
export PYTHONHASHSEED=1 |
|
50 |
} |
|
51 | ||
52 | 47 |
check_samba_dep_versions() { |
53 | 48 |
actual_talloc_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/talloc/wscript || die) |
54 | 49 |
if [[ ${actual_talloc_version} != ${TALLOC_VERSION} ]] ; then |
... | ... | |
60 | 55 | |
61 | 56 |
src_prepare() { |
62 | 57 |
default |
63 | ||
64 | 58 |
check_samba_dep_versions |
65 | ||
66 | 59 |
multilib_copy_sources |
67 | 60 |
} |
68 | 61 | |
69 | 62 |
multilib_src_configure() { |
63 |
MAKEOPTS+=" -j1" |
|
64 | ||
70 | 65 |
# When specifying libs for samba build you must append NONE to the end to |
71 | 66 |
# stop it automatically including things |
72 | 67 |
local bundled_libs="NONE" |
... | ... | |
79 | 74 |
fi |
80 | 75 | |
81 | 76 |
waf-utils_src_configure \ |
77 |
--libdir="${EPREFIX}/usr/$(get_libdir)" \ |
|
78 |
--disable-dependency-tracking \ |
|
79 |
--disable-warnings-as-errors \ |
|
82 | 80 |
--bundled-libraries="${bundled_libs}" \ |
83 | 81 |
--builtin-libraries=NONE \ |
84 | 82 |
$(multilib_native_usex python '' '--disable-python') |
85 | 83 |
} |
86 | 84 | |
87 | 85 |
multilib_src_compile() { |
88 |
# Need to avoid parallel building, this looks like the |
|
89 |
# best way with waf-utils/multiprocessing eclasses |
|
90 |
unset MAKEOPTS |
|
91 | 86 |
waf-utils_src_compile |
92 | 87 |
} |
93 | 88 |