3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
6 |
# Keep an eye on both of these after releases for patches:
|
|
7 |
# * https://www.boost.org/patches/
|
|
8 |
# * https://www.boost.org/users/history/version_${MY_PV}.html
|
|
9 |
# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
|
|
10 |
# Note that the latter may sometimes feature patches not on the former too.
|
|
11 |
|
|
12 |
PYTHON_COMPAT=( python3_{10..12} )
|
7 |
13 |
|
8 |
14 |
inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
|
9 |
15 |
|
... | ... | |
16 |
22 |
|
17 |
23 |
LICENSE="Boost-1.0"
|
18 |
24 |
SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
|
19 |
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
20 |
|
IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
|
|
25 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
|
26 |
IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace tools zlib zstd"
|
21 |
27 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
22 |
28 |
# the tests will never fail because these are not intended as sanity
|
23 |
29 |
# tests at all. They are more a way for upstream to check their own code
|
... | ... | |
47 |
53 |
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
|
48 |
54 |
# Boost.MPI's __init__.py doesn't work on Py3
|
49 |
55 |
"${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
|
50 |
|
"${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
|
51 |
56 |
"${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
|
52 |
|
|
53 |
|
# (upstreamed)
|
54 |
|
"${FILESDIR}"/${PN}-1.82.0-context-arm64.patch
|
55 |
57 |
)
|
56 |
58 |
|
57 |
59 |
python_bindings_needed() {
|
... | ... | |
166 |
168 |
$(usev !mpi --without-mpi)
|
167 |
169 |
$(usev !nls --without-locale)
|
168 |
170 |
$(usev !context '--without-context --without-coroutine --without-fiber')
|
169 |
|
--without-stacktrace
|
|
171 |
$(usev !stacktrace --without-stacktrace)
|
170 |
172 |
--boost-build="${BROOT}"/usr/share/b2/src
|
171 |
173 |
--layout=system
|
172 |
174 |
# building with threading=single is currently not possible
|