[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-04-22 Thread David Seifert
commit: fd657a3d66fbfe247ced315b8a9967c322943c1f
Author: David Seifert  gentoo  org>
AuthorDate: Mon Apr 22 15:11:07 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Apr 22 15:11:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd657a3d

dev-libs/boost: add 1.85.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.85.0.ebuild | 343 +
 2 files changed, 344 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 3d25ce0460ba..48f0e20f3193 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1 +1,2 @@
 DIST boost_1_84_0.tar.bz2 123110547 BLAKE2B 
a872ee00402be0383726020f4d13a7df6c2765c52eac2e09aab1604432931d26dd597503f5dcbbf788d7e7528d13c6d1dbfff1e85d22bf92c7828ef74cf2405d
 SHA512 
5dfeb35198bb096e46cf9e131ef0334cb95bc0bf09f343f291b860b112598b3c36111bd8c232439c401a2b2fb832fa0c399a8d5b96afc60bd359dff070154497
+DIST boost_1_85_0.tar.bz2 124015250 BLAKE2B 
dd72a9299cd78d2c260e1c94e28ba04daaa352f5bd023d99e43caa3540b1e0f8c09fc04b91f68db0ef8532e4a91fdef0b66a80bf0f9f838303bccaf0729bf581
 SHA512 
b4489813a4192b57626589457932338cfc47c4ec05c19b3a58b2d8df9e95f022ff2f5f452811ff82d1cec4fb0a490e991c8825bad0fb5a81318d07a8788d8ca0

diff --git a/dev-libs/boost/boost-1.85.0.ebuild 
b/dev-libs/boost/boost-1.85.0.ebuild
new file mode 100644
index ..65a78102ceb0
--- /dev/null
+++ b/dev-libs/boost/boost-1.85.0.ebuild
@@ -0,0 +1,343 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on both of these after releases for patches:
+# * https://www.boost.org/patches/
+# * https://www.boost.org/users/history/version_${MY_PV}.html
+# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
+# Note that the latter may sometimes feature patches not on the former too.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+#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"
+IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( virtual/mpi[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-build/b2-5.0.0"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+)
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CPPFLAGS} ${CFLAGS}" "${CPPFLAGS} 
${CXXFLAGS}" "${LDFLAGS}" "$(tc-getAR)" 
"$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if multilib_native_use python; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-03-14 Thread Sam James
commit: 8159431f00644ea772b93f494dd3996105733d8e
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 15 04:30:19 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 15 04:30:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8159431f

dev-libs/boost: needs newer b2 (>=5.0.0)

Closes: https://bugs.gentoo.org/926066
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index 7b2f98dd0123..b9e822fe2043 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -45,7 +45,7 @@ RDEPEND="
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}"
-BDEPEND=">=dev-build/b2-4.9.2"
+BDEPEND=">=dev-build/b2-5.0.0"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2024-02-20 Thread Andreas Sturmlechner
commit: 600a5319152d434ae5f936afacbacb2240f63202
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Feb 20 19:31:37 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb 20 20:48:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600a5319

dev-libs/boost: drop 1.82.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/boost/Manifest|   1 -
 dev-libs/boost/boost-1.82.0-r1.ebuild  | 354 -
 .../boost-1.79.0-boost-mpi-python-PEP-328.patch|  17 -
 .../files/boost-1.80.0-fix-mips1-transition.patch  |  24 --
 ...boost-1.81.0-phoenix-multiple-definitions.patch |  11 -
 .../boost/files/boost-1.82.0-context-arm64.patch   |  19 --
 6 files changed, 426 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index c627f2a7f59b..3d25ce0460ba 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1 @@
-DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb
 DIST boost_1_84_0.tar.bz2 123110547 BLAKE2B 
a872ee00402be0383726020f4d13a7df6c2765c52eac2e09aab1604432931d26dd597503f5dcbbf788d7e7528d13c6d1dbfff1e85d22bf92c7828ef74cf2405d
 SHA512 
5dfeb35198bb096e46cf9e131ef0334cb95bc0bf09f343f291b860b112598b3c36111bd8c232439c401a2b2fb832fa0c399a8d5b96afc60bd359dff070154497

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
deleted file mode 100644
index 0c89cbe000f2..
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ /dev/null
@@ -1,354 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
-   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-build/b2-4.9.2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
-   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
-
-   # (upstreamed)
-   "${FILESDIR}"/${PN}-1.82.0-context-arm64.patch
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   einfo "${user_config_jam} already exists, skipping 
configuration"
-   return
-   else
-   einfo "Creating configuration in ${user_config_jam}"
-   fi
-
-   local compiler compiler_version compiler_executable="$(tc-getCXX)"
-   compiler="gcc"
-   compiler_version="$(gcc-version)"
-
-   if use mpi; then
-   local mpi_configuration="using mpi ;"
-   fi
-
-   cat > "${user_config_jam}" <<- __EOF__ || die
-   using ${compiler} : 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-02-19 Thread Sam James
commit: 841f8debb6ab1abde04ed4207576eedf15a8c75f
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 20 05:55:07 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 20 05:55:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841f8deb

dev-libs/boost: Stabilize 1.84.0-r3 x86, #923155

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index 8fdfa97d26b0..7b2f98dd0123 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-02-19 Thread Sam James
commit: 09bd27f82c129460d23b4b6f658b8ebd63f1a6ff
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 20 05:55:00 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 20 05:55:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bd27f8

dev-libs/boost: Stabilize 1.84.0-r3 sparc, #923155

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index 1cc7870a42e0..8fdfa97d26b0 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-02-19 Thread Sam James
commit: 740e4fb1b2f3c786398da5af2605a8d4b1aca2c1
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 20 05:54:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 20 05:54:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740e4fb1

dev-libs/boost: Stabilize 1.84.0-r3 ppc, #923155

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index d3cbb8f292b1..1cc7870a42e0 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2024-02-17 Thread David Seifert
commit: 999e1cf05eb71621f5d6daa0633f6dde9531b747
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb 17 14:27:27 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 17 14:27:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999e1cf0

dev-libs/boost: drop 1.83.0-r1, 1.83.0-r2, 1.83.0-r3

Closes: https://github.com/gentoo/gentoo/pull/35385
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 -
 dev-libs/boost/boost-1.83.0-r1.ebuild  | 356 
 dev-libs/boost/boost-1.83.0-r2.ebuild  | 357 
 dev-libs/boost/boost-1.83.0-r3.ebuild  | 358 -
 .../boost/files/boost-1.83.0-unordered-uaf.patch   |  18 --
 5 files changed, 1090 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 7c6b9912e42c..c627f2a7f59b 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,3 +1,2 @@
 DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb
-DIST boost_1_83_0.tar.bz2 122892751 BLAKE2B 
c4af1713712da82f964fe08451141ea96905e30b475ee5090bf87ae6e43bcb1f258ab92e16e992fd22405e8cd85a435cef76a22b98788d9960396a4fec8c4c62
 SHA512 
d133b521bd754dc35a9bd30d8032bd2fd866026d90af2179e43bfd7bd816841f7f3b84303f52c0e54aebc373f4e4edd601a8f5a5e0c47500e0e852e04198a711
 DIST boost_1_84_0.tar.bz2 123110547 BLAKE2B 
a872ee00402be0383726020f4d13a7df6c2765c52eac2e09aab1604432931d26dd597503f5dcbbf788d7e7528d13c6d1dbfff1e85d22bf92c7828ef74cf2405d
 SHA512 
5dfeb35198bb096e46cf9e131ef0334cb95bc0bf09f343f291b860b112598b3c36111bd8c232439c401a2b2fb832fa0c399a8d5b96afc60bd359dff070154497

diff --git a/dev-libs/boost/boost-1.83.0-r1.ebuild 
b/dev-libs/boost/boost-1.83.0-r1.ebuild
deleted file mode 100644
index 81216b56e964..
--- a/dev-libs/boost/boost-1.83.0-r1.ebuild
+++ /dev/null
@@ -1,356 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Keep an eye on both of these after releases for patches:
-# * https://www.boost.org/patches/
-# * https://www.boost.org/users/history/version_${MY_PV}.html
-# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
-# Note that the latter may sometimes feature patches not on the former too.
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
-IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
-   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-build/b2-4.9.2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-02-17 Thread Arthur Zamarin
commit: e06c19973d4f5d45796742e9172c0903ea3f2da9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb 17 09:55:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb 17 09:55:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06c1997

dev-libs/boost: Stabilize 1.84.0-r3 ppc64, #923155

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index 483f20567989..cf5aa58b660f 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-02-12 Thread Sam James
commit: 9e7a258076f07fcd7c496c42c1e106e0ba40f4aa
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 12 10:30:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 12 10:30:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7a2580

dev-libs/boost: Stabilize 1.84.0-r3 amd64, #923155

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.84.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r3.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
index a9b31a9a58c3..483f20567989 100644
--- a/dev-libs/boost/boost-1.84.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-01-30 Thread Sam James
commit: c443d9e171db8bfad5df7b373692bfbb5268e7ce
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jan 25 21:19:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 30 09:19:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c443d9e1

dev-libs/boost: stable 1.83.0-r2 for sparc, bug #918861

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.83.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.83.0-r2.ebuild 
b/dev-libs/boost/boost-1.83.0-r2.ebuild
index 4e6628840892..17311aed454c 100644
--- a/dev-libs/boost/boost-1.83.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.83.0-r2.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-01-26 Thread David Seifert
commit: c422e8f408e2091948d2d34080c6f7ac5d32e359
Author: David Seifert  gentoo  org>
AuthorDate: Fri Jan 26 12:19:57 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jan 26 12:19:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c422e8f4

dev-libs/boost: drop boost.mpi __init__.py

* Upstream is unresponsive and the file still uses pre-PEP328 imports,
  instead let the python interpreter load `mpi.so` directly.

Signed-off-by: David Seifert  gentoo.org>

 ...ost-1.84.0-r2.ebuild => boost-1.84.0-r3.ebuild} | 27 +++---
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/dev-libs/boost/boost-1.84.0-r2.ebuild 
b/dev-libs/boost/boost-1.84.0-r3.ebuild
similarity index 95%
rename from dev-libs/boost/boost-1.84.0-r2.ebuild
rename to dev-libs/boost/boost-1.84.0-r3.ebuild
index 8240ff805fc4..a9b31a9a58c3 100644
--- a/dev-libs/boost/boost-1.84.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r3.ebuild
@@ -34,10 +34,10 @@ RESTRICT="test"
 
 RDEPEND="
bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
-   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   mpi? ( virtual/mpi[${MULTILIB_USEDEP},cxx,threads] )
python? (
${PYTHON_DEPS}
numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
@@ -50,24 +50,14 @@ BDEPEND=">=dev-build/b2-4.9.2"
 PATCHES=(
"${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
 
# upstreamed
+   "${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
"${FILESDIR}"/${PN}-1.79.0-context-x32.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch1.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch2.patch
 )
 
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
 create_user-config.jam() {
local user_config_jam="${BUILD_DIR}"/user-config.jam
if [[ -s ${user_config_jam} ]]; then
@@ -90,7 +80,7 @@ create_user-config.jam() {
${mpi_configuration}
__EOF__
 
-   if python_bindings_needed; then
+   if multilib_native_use python; then
append_to_user_config() {
local py_config
if tc-is-cross-compiler; then
@@ -103,7 +93,7 @@ create_user-config.jam() {
python_foreach_impl append_to_user_config
fi
 
-   if python_bindings_needed && use numpy; then
+   if multilib_native_use python && use numpy; then
einfo "Enabling support for NumPy extensions in Boost.Python"
else
einfo "Disabling support for NumPy extensions in Boost.Python"
@@ -138,7 +128,7 @@ ejam() {
create_user-config.jam
 
local b2_opts=( "--user-config=${BUILD_DIR}/user-config.jam" )
-   if python_bindings_needed; then
+   if multilib_native_use python; then
append_to_b2_opts() {
b2_opts+=( python="${EPYTHON#python}" )
}
@@ -212,7 +202,7 @@ multilib_src_compile() {
--prefix="${EPREFIX}"/usr \
"${OPTIONS[@]}" || die
 
-   if tools_needed; then
+   if multilib_native_use tools; then
pushd tools >/dev/null || die
ejam \
--prefix="${EPREFIX}"/usr \
@@ -229,7 +219,7 @@ multilib_src_install() {
--libdir="${ED}"/usr/$(get_libdir) \
"${OPTIONS[@]}" install || die "Installation of Boost libraries 
failed"
 
-   if tools_needed; then
+   if multilib_native_use tools; then
dobin dist/bin/*
 
insinto /usr/share
@@ -286,7 +276,6 @@ multilib_src_install_all() {
if use mpi; then
move_mpi_py_into_sitedir() {
python_moduleinto boost
-   python_domodule 
"${S}"/libs/mpi/build/__init__.py
 
python_domodule 
"${ED}"/usr/$(get_libdir)/boost-${EPYTHON}/mpi.so
rm -r 
"${ED}"/usr/$(get_libdir)/boost-${EPYTHON} || die



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-01-24 Thread David Seifert
commit: 41807660b68bfa729dc71adad4f1fe3a42e7a938
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jan 24 12:44:06 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 24 12:44:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41807660

dev-libs/boost: remove boost::phoenix patch

* Semi-fix upstream now and part of 1.84.0:
  - https://github.com/boostorg/phoenix/issues/111#issuecomment-1855351992
  - 
https://github.com/boostorg/phoenix/commit/8913607a3788cb82d48ed461ea59c919b7bad3df

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/{boost-1.84.0-r1.ebuild => boost-1.84.0-r2.ebuild} | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r1.ebuild 
b/dev-libs/boost/boost-1.84.0-r2.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.84.0-r1.ebuild
rename to dev-libs/boost/boost-1.84.0-r2.ebuild
index a9eadf2838c9..8240ff805fc4 100644
--- a/dev-libs/boost/boost-1.84.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r2.ebuild
@@ -52,7 +52,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
# Boost.MPI's __init__.py doesn't work on Py3
"${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
"${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
 
# upstreamed



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2024-01-23 Thread David Seifert
commit: 4917db41e78e43f9288405745bedd9a6cf679833
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jan 23 16:32:40 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jan 23 16:32:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4917db41

dev-libs/boost: update patch with upstreamed info

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.84.0-r1.ebuild   |  2 +-
 dev-libs/boost/files/boost-1.79.0-context-x32.patch | 11 +--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-libs/boost/boost-1.84.0-r1.ebuild 
b/dev-libs/boost/boost-1.84.0-r1.ebuild
index 4b95253ac198..a9eadf2838c9 100644
--- a/dev-libs/boost/boost-1.84.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r1.ebuild
@@ -49,7 +49,6 @@ BDEPEND=">=dev-build/b2-4.9.2"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
# Boost.MPI's __init__.py doesn't work on Py3
"${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
@@ -57,6 +56,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
 
# upstreamed
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch1.patch
"${FILESDIR}"/${PN}-1.84.0-signals2-patch2.patch
 )

diff --git a/dev-libs/boost/files/boost-1.79.0-context-x32.patch 
b/dev-libs/boost/files/boost-1.79.0-context-x32.patch
index 9ee3d545d618..625599152328 100644
--- a/dev-libs/boost/files/boost-1.79.0-context-x32.patch
+++ b/dev-libs/boost/files/boost-1.79.0-context-x32.patch
@@ -1,3 +1,10 @@
+https://github.com/boostorg/context/pull/247
+
+From 922e033fa1464e506c82a0d6980103268f7197cf Mon Sep 17 00:00:00 2001
+From: David Seifert 
+Date: Tue, 23 Jan 2024 13:23:29 +0100
+Subject: [PATCH] Fix x32 build on x86-64
+
 --- a/libs/context/src/asm/jump_i386_sysv_elf_gas.S
 +++ b/libs/context/src/asm/jump_i386_sysv_elf_gas.S
 @@ -24,6 +24,10 @@
@@ -11,7 +18,7 @@
  .file "jump_i386_sysv_elf_gas.S"
  .text
  .globl jump_fcontext
-@@ -81,3 +85,5 @@
+@@ -91,3 +95,5 @@ jump_fcontext:
  
  /* Mark that we don't need executable stack.  */
  .section .note.GNU-stack,"",%progbits
@@ -30,7 +37,7 @@
  .file "make_i386_sysv_elf_gas.S"
  .text
  .globl make_fcontext
-@@ -105,3 +109,5 @@
+@@ -111,3 +115,5 @@ finish:
  
  /* Mark that we don't need executable stack.  */
  .section .note.GNU-stack,"",%progbits



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2024-01-01 Thread David Seifert
commit: 437414d057153455e6453514481d9753a4f776a0
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan  1 21:36:53 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan  1 21:36:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437414d0

dev-libs/boost: keyword 1.84.0-r1

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.84.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0-r1.ebuild 
b/dev-libs/boost/boost-1.84.0-r1.ebuild
index fc4ea0922f11..3acb382ad022 100644
--- a/dev-libs/boost/boost-1.84.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r1.ebuild
@@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-#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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2024-01-01 Thread David Seifert
commit: 3aec425b48b36c3f7f7df6b053441bbecbbd0584
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan  1 21:34:15 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan  1 21:34:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aec425b

dev-libs/boost: add patch for net-im/swift build failure

Bug: https://github.com/boostorg/signals2/issues/70
Bug: https://bugs.gentoo.org/912309
Signed-off-by: David Seifert  gentoo.org>

 ...{boost-1.84.0.ebuild => boost-1.84.0-r1.ebuild} |   6 +-
 .../boost/files/boost-1.84.0-signals2-patch1.patch | 124 +
 .../boost/files/boost-1.84.0-signals2-patch2.patch |  19 
 3 files changed, 148 insertions(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.84.0.ebuild 
b/dev-libs/boost/boost-1.84.0-r1.ebuild
similarity index 98%
rename from dev-libs/boost/boost-1.84.0.ebuild
rename to dev-libs/boost/boost-1.84.0-r1.ebuild
index c6e55525f805..fc4ea0922f11 100644
--- a/dev-libs/boost/boost-1.84.0.ebuild
+++ b/dev-libs/boost/boost-1.84.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -55,6 +55,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
"${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
"${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
+
+   # upstreamed
+   "${FILESDIR}"/${PN}-1.84.0-signals2-patch1.patch
+   "${FILESDIR}"/${PN}-1.84.0-signals2-patch2.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.84.0-signals2-patch1.patch 
b/dev-libs/boost/files/boost-1.84.0-signals2-patch1.patch
new file mode 100644
index ..9c07bd8f06cf
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.84.0-signals2-patch1.patch
@@ -0,0 +1,124 @@
+https://github.com/boostorg/signals2/issues/70
+
+From 2ba258f7b465e7bde14663ca3a966019b4ec3694 Mon Sep 17 00:00:00 2001
+From: Frank Mori Hess 
+Date: Sat, 30 Dec 2023 14:34:58 -0500
+Subject: [PATCH] Fix disconnect by slot when the slot is another signal.
+
+--- a/boost/signals2/detail/signal_template.hpp
 b/boost/signals2/detail/signal_template.hpp
+@@ -103,9 +103,9 @@ namespace boost
+   BOOST_SIGNALS2_FORWARDED_ARGS(BOOST_SIGNALS2_NUM_ARGS));
+ }
+ template
+-  bool operator==(const T ) const
++  bool contains(const T ) const
+ {
+-  return _fun == other;
++  return _fun.contains(other);
+ }
+   private:
+ 
BOOST_SIGNALS2_BOUND_EXTENDED_SLOT_FUNCTION_N(BOOST_SIGNALS2_NUM_ARGS)()
+@@ -115,6 +115,8 @@ namespace boost
+ boost::shared_ptr _connection;
+   };
+ 
++  template
++class BOOST_SIGNALS2_WEAK_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS);
+   template
+ class BOOST_SIGNALS2_SIGNAL_IMPL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS);
+ 
+@@ -150,6 +152,8 @@ namespace boost
+ typedef GroupCompare group_compare_type;
+ typedef typename detail::slot_call_iterator_t > slot_call_iterator;
++typedef 
detail::BOOST_SIGNALS2_WEAK_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)
++   weak_signal_type;
+ 
+ BOOST_SIGNALS2_SIGNAL_IMPL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)(const 
combiner_type _arg,
+   const group_compare_type _compare):
+@@ -531,13 +535,20 @@ namespace boost
+ {
+   (*it)->nolock_disconnect(lock);
+ }else
+-{
+-  // check for wrapped extended slot
++{ // check for wrapped extended slot
+   bound_extended_slot_function_type *fp;
+   fp = (*it)->slot().slot_function().template 
target();
+-  if(fp && function_equal(*fp, slot))
++  if(fp && fp->contains(slot))
+   {
+ (*it)->nolock_disconnect(lock);
++  }else
++  { // check for wrapped signal
++weak_signal_type *fp;
++fp = (*it)->slot().slot_function().template 
target();
++if(fp && fp->contains(slot))
++{
++  (*it)->nolock_disconnect(lock);
++}
+   }
+ }
+   }
+@@ -588,8 +599,6 @@ namespace boost
+ const boost::shared_ptr _mutex;
+   };
+ 
+-  template
+-class BOOST_SIGNALS2_WEAK_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS);
+ }
+ 
+ 
template
+@@ -603,8 +612,7 @@ namespace boost
+   typedef 
detail::BOOST_SIGNALS2_SIGNAL_IMPL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)
+  impl_class;
+ public:
+-  typedef 
detail::BOOST_SIGNALS2_WEAK_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)
+- weak_signal_type;
++  typedef typename impl_class::weak_signal_type weak_signal_type;
+   friend class 
detail::BOOST_SIGNALS2_WEAK_SIGNAL_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)
+ ;
+ 
+@@ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-12-26 Thread David Seifert
commit: ccd4743c274a3a57ed153e14ce750c5c35145132
Author: David Seifert  gentoo  org>
AuthorDate: Tue Dec 26 10:35:01 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Dec 26 10:35:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd4743c

dev-libs/boost: add 1.84.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.84.0.ebuild | 357 +
 2 files changed, 358 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 44f190ebd9c5..7c6b9912e42c 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1,3 @@
 DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb
 DIST boost_1_83_0.tar.bz2 122892751 BLAKE2B 
c4af1713712da82f964fe08451141ea96905e30b475ee5090bf87ae6e43bcb1f258ab92e16e992fd22405e8cd85a435cef76a22b98788d9960396a4fec8c4c62
 SHA512 
d133b521bd754dc35a9bd30d8032bd2fd866026d90af2179e43bfd7bd816841f7f3b84303f52c0e54aebc373f4e4edd601a8f5a5e0c47500e0e852e04198a711
+DIST boost_1_84_0.tar.bz2 123110547 BLAKE2B 
a872ee00402be0383726020f4d13a7df6c2765c52eac2e09aab1604432931d26dd597503f5dcbbf788d7e7528d13c6d1dbfff1e85d22bf92c7828ef74cf2405d
 SHA512 
5dfeb35198bb096e46cf9e131ef0334cb95bc0bf09f343f291b860b112598b3c36111bd8c232439c401a2b2fb832fa0c399a8d5b96afc60bd359dff070154497

diff --git a/dev-libs/boost/boost-1.84.0.ebuild 
b/dev-libs/boost/boost-1.84.0.ebuild
new file mode 100644
index ..c6e55525f805
--- /dev/null
+++ b/dev-libs/boost/boost-1.84.0.ebuild
@@ -0,0 +1,357 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on both of these after releases for patches:
+# * https://www.boost.org/patches/
+# * https://www.boost.org/users/history/version_${MY_PV}.html
+# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
+# Note that the latter may sometimes feature patches not on the former too.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+#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"
+IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+   "${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2023-12-14 Thread Sam James
commit: 2a4a04784c5da33533936217bce103e89d5c3285
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 14 08:11:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 14 08:11:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4a0478

dev-libs/boost: backport math fix for gcc 14

Thanks to jwakely-via-arsen for the headsup.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.83.0-r3.ebuild  | 358 +
 dev-libs/boost/files/boost-1.83.0-math-gcc14.patch |  19 ++
 2 files changed, 377 insertions(+)

diff --git a/dev-libs/boost/boost-1.83.0-r3.ebuild 
b/dev-libs/boost/boost-1.83.0-r3.ebuild
new file mode 100644
index ..b6aff8ac5c20
--- /dev/null
+++ b/dev-libs/boost/boost-1.83.0-r3.ebuild
@@ -0,0 +1,358 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on both of these after releases for patches:
+# * https://www.boost.org/patches/
+# * https://www.boost.org/users/history/version_${MY_PV}.html
+# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
+# Note that the latter may sometimes feature patches not on the former too.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+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"
+IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+   "${FILESDIR}"/${PN}-1.83.0-unordered-uaf.patch
+   "${FILESDIR}"/${PN}-1.83.0-math-gcc14.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CPPFLAGS} ${CFLAGS}" "${CPPFLAGS} 
${CXXFLAGS}" "${LDFLAGS}" "$(tc-getAR)" 
"$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if python_bindings_needed; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
+   else
+   py_config="using python : ${EPYTHON#python} : 
${PYTHON} : $(python_get_includedir) ;"
+   fi
+   echo 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2023-10-07 Thread Sam James
commit: 978d0361e4ce0e8e5c3b0a0c12a36611f03d0d2f
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct  8 04:21:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct  8 04:21:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978d0361

dev-libs/boost: backport unordered UAF fix

We were hoping to include another backport here but there's no news
upstream for that, so chuck this in.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.83.0-r2.ebuild  | 357 +
 .../boost/files/boost-1.83.0-unordered-uaf.patch   |  18 ++
 2 files changed, 375 insertions(+)

diff --git a/dev-libs/boost/boost-1.83.0-r2.ebuild 
b/dev-libs/boost/boost-1.83.0-r2.ebuild
new file mode 100644
index ..5f671e7f2cd5
--- /dev/null
+++ b/dev-libs/boost/boost-1.83.0-r2.ebuild
@@ -0,0 +1,357 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Keep an eye on both of these after releases for patches:
+# * https://www.boost.org/patches/
+# * https://www.boost.org/users/history/version_${MY_PV}.html
+# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
+# Note that the latter may sometimes feature patches not on the former too.
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+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"
+IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+   "${FILESDIR}"/${PN}-1.83.0-unordered-uaf.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CPPFLAGS} ${CFLAGS}" "${CPPFLAGS} 
${CXXFLAGS}" "${LDFLAGS}" "$(tc-getAR)" 
"$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if python_bindings_needed; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
+   else
+   py_config="using python : ${EPYTHON#python} : 
${PYTHON} : $(python_get_includedir) ;"
+   fi
+   echo 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-08-25 Thread Sam James
commit: b2ec0a326279208ab3741c2d681e190c0b917846
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 26 03:06:34 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 26 03:06:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2ec0a32

dev-libs/boost: add note wrt upstream patches

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.83.0-r1.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-libs/boost/boost-1.83.0-r1.ebuild 
b/dev-libs/boost/boost-1.83.0-r1.ebuild
index 35d18d9b0b0e..939e9e431ee5 100644
--- a/dev-libs/boost/boost-1.83.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.83.0-r1.ebuild
@@ -3,6 +3,12 @@
 
 EAPI=8
 
+# Keep an eye on both of these after releases for patches:
+# * https://www.boost.org/patches/
+# * https://www.boost.org/users/history/version_${MY_PV}.html
+# (e.g. https://www.boost.org/users/history/version_1_83_0.html)
+# Note that the latter may sometimes feature patches not on the former too.
+
 PYTHON_COMPAT=( python3_{10..12} )
 
 inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-08-15 Thread David Seifert
commit: 59a1415bbc219a6e451f54ad1ea842d755f721aa
Author: David Seifert  gentoo  org>
AuthorDate: Tue Aug 15 09:52:17 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Aug 15 09:52:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a1415b

dev-libs/boost: keyword 1.83.0-r1

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.83.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.83.0-r1.ebuild 
b/dev-libs/boost/boost-1.83.0-r1.ebuild
index 4751aff03a5b..35d18d9b0b0e 100644
--- a/dev-libs/boost/boost-1.83.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.83.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-#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"
+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"
 IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-08-12 Thread David Seifert
commit: 6d008b0de933e108110eabe3f2764fc8f79ba1c4
Author: David Seifert  gentoo  org>
AuthorDate: Sat Aug 12 20:18:20 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Aug 12 20:18:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d008b0d

dev-libs/boost: add USE=stacktrace

* required for media-gfx/inkscape-1.3

Bug: https://bugs.gentoo.org/689300
Bug: https://bugs.gentoo.org/911267
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/{boost-1.83.0.ebuild => boost-1.83.0-r1.ebuild} | 4 ++--
 dev-libs/boost/metadata.xml| 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-libs/boost/boost-1.83.0.ebuild 
b/dev-libs/boost/boost-1.83.0-r1.ebuild
similarity index 98%
rename from dev-libs/boost/boost-1.83.0.ebuild
rename to dev-libs/boost/boost-1.83.0-r1.ebuild
index 8d2a073b2795..8e14335b1d96 100644
--- a/dev-libs/boost/boost-1.83.0.ebuild
+++ b/dev-libs/boost/boost-1.83.0-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
 #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"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python stacktrace tools 
zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity
 # tests at all. They are more a way for upstream to check their own code
@@ -162,7 +162,7 @@ src_configure() {
$(usev !mpi --without-mpi)
$(usev !nls --without-locale)
$(usev !context '--without-context --without-coroutine 
--without-fiber')
-   --without-stacktrace
+   $(usev !stacktrace --without-stacktrace)
--boost-build="${BROOT}"/usr/share/b2/src
--layout=system
# building with threading=single is currently not possible

diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml
index 98eea6f8a059..ba1a98dcc43b 100644
--- a/dev-libs/boost/metadata.xml
+++ b/dev-libs/boost/metadata.xml
@@ -15,6 +15,7 @@
Install the full API documentation 
documentation. This takes over 200MB of extra disk space.
Build libboost_locale. This library requires 
compatible C library interfaces, which might not be provided by uClibc or other 
embedded libraries.
Optionally build NumPy extensions when 
Boost.Python is enabled
+   Build the full Boost.Stacktrace dynamic 
library instead of relying on the header-only implementation
Build and install the boost tools (bcp, 
quickbook, inspect, wave)





[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-08-12 Thread David Seifert
commit: 3e8ba3bbd5ad5281302d5c98d0e8ffdc763d5670
Author: David Seifert  gentoo  org>
AuthorDate: Sat Aug 12 20:18:21 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Aug 12 20:18:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8ba3bb

dev-libs/boost: default enable +context and +stacktrace

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.83.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.83.0-r1.ebuild 
b/dev-libs/boost/boost-1.83.0-r1.ebuild
index 8e14335b1d96..4751aff03a5b 100644
--- a/dev-libs/boost/boost-1.83.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.83.0-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
 #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"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python stacktrace tools 
zlib zstd"
+IUSE="bzip2 +context debug doc icu lzma +nls mpi numpy python +stacktrace 
tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity
 # tests at all. They are more a way for upstream to check their own code



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-08-12 Thread David Seifert
commit: ffc0e28efb193afc801a0bfbf92eb24387927322
Author: David Seifert  gentoo  org>
AuthorDate: Sat Aug 12 09:58:58 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Aug 12 09:58:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffc0e28e

dev-libs/boost: add 1.83.0

Bug: https://bugs.gentoo.org/908025
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.83.0.ebuild | 350 +
 2 files changed, 351 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 2080108c06e8..44f190ebd9c5 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1 +1,2 @@
 DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb
+DIST boost_1_83_0.tar.bz2 122892751 BLAKE2B 
c4af1713712da82f964fe08451141ea96905e30b475ee5090bf87ae6e43bcb1f258ab92e16e992fd22405e8cd85a435cef76a22b98788d9960396a4fec8c4c62
 SHA512 
d133b521bd754dc35a9bd30d8032bd2fd866026d90af2179e43bfd7bd816841f7f3b84303f52c0e54aebc373f4e4edd601a8f5a5e0c47500e0e852e04198a711

diff --git a/dev-libs/boost/boost-1.83.0.ebuild 
b/dev-libs/boost/boost-1.83.0.ebuild
new file mode 100644
index ..8d2a073b2795
--- /dev/null
+++ b/dev-libs/boost/boost-1.83.0.ebuild
@@ -0,0 +1,350 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+#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"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CPPFLAGS} ${CFLAGS}" "${CPPFLAGS} 
${CXXFLAGS}" "${LDFLAGS}" "$(tc-getAR)" 
"$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if python_bindings_needed; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-10 Thread Andreas Sturmlechner
commit: ef13a50657cbdafc4f0d1ce332b597ba6c0c5110
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jun 10 08:57:11 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 10 09:38:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef13a506

dev-libs/boost: drop 1.81.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/boost/Manifest   |   1 -
 dev-libs/boost/boost-1.81.0-r1.ebuild | 341 --
 2 files changed, 342 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 4c89701f991c..2080108c06e8 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1 @@
-DIST boost_1_81_0.tar.bz2 118797750 BLAKE2B 
ae57247fb80ee5a952881a99bdbe9a1d5622690879ef59053716647dc1121e70fdd322251837387b43357f1cd63c6d1ba285cf35c0c40e4f5ee28a929d7eacf7
 SHA512 
a04201e73da59f68fa02761b333c864a96ebaf268247b6b10cb19ed3d70ee9ad3da4c53123f2a7a4a9b9e1408793b51e1adbcc6fd09f60fecef3ca9522bb6b36
 DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb

diff --git a/dev-libs/boost/boost-1.81.0-r1.ebuild 
b/dev-libs/boost/boost-1.81.0-r1.ebuild
deleted file mode 100644
index 4df537727e02..
--- a/dev-libs/boost/boost-1.81.0-r1.ebuild
+++ /dev/null
@@ -1,341 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/b2-4.9.2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
-   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
-
-   # (upstreamed)
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   einfo "${user_config_jam} already exists, skipping 
configuration"
-   return
-   else
-   einfo "Creating configuration in ${user_config_jam}"
-   fi
-
-   local compiler compiler_version compiler_executable="$(tc-getCXX)"
-   if [[ ${CHOST} == *-darwin* ]]; then
-   compiler="darwin"
-   compiler_version="$(gcc-fullversion)"
-   else
-   compiler="gcc"
-   compiler_version="$(gcc-version)"
-   fi
-
-   if use mpi; then
-   local mpi_configuration="using mpi ;"
-   fi
-
-   cat > "${user_config_jam}" <<- __EOF__ || die
-   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
-   ${mpi_configuration}
-   __EOF__
-
-   if python_bindings_needed; then
-  

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-09 Thread Arthur Zamarin
commit: 7876eea9876c9c44c4050a277fedd91a4cf638b0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 12:04:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 12:04:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7876eea9

dev-libs/boost: Stabilize 1.82.0-r1 hppa, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index f66b0b39c1f3..8a63f6519da2 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-09 Thread Sam James
commit: 692fb607df6d39b8403103f6994922bfd15de559
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 09:53:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 09:53:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692fb607

dev-libs/boost: Stabilize 1.82.0-r1 ppc64, #905701

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index b182bcc4414b..f66b0b39c1f3 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-09 Thread Sam James
commit: 45abdf28d771ff6569f79b9dfcafeb77654e8572
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 09:53:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 09:53:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45abdf28

dev-libs/boost: Stabilize 1.82.0-r1 ppc, #905701

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index 898c4cfd48fc..b182bcc4414b 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-09 Thread Arthur Zamarin
commit: 3d76135a0d5267df9b98974a00e86a647eccb8d7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 06:53:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 06:53:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d76135a

dev-libs/boost: Stabilize 1.82.0-r1 x86, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index f574a4282ee3..898c4cfd48fc 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-03 Thread Arthur Zamarin
commit: 0bbf8e29e646a191e618744d06d0baf0f7ce65ad
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun  3 19:42:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun  3 19:42:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bbf8e29

dev-libs/boost: Stabilize 1.82.0-r1 sparc, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index 78b368aa904d..f574a4282ee3 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-02 Thread Arthur Zamarin
commit: bd49c8d7ac82608ad762e707ec484fb51d3111bb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  2 16:12:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  2 16:12:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd49c8d7

dev-libs/boost: Stabilize 1.82.0-r1 amd64, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index 9ff7eebea25c..78b368aa904d 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-01 Thread Arthur Zamarin
commit: 28df6c8725675381162624b765cded3382a83f36
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jun  1 19:14:32 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jun  1 19:14:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28df6c87

dev-libs/boost: Stabilize 1.82.0-r1 arm64, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index 465c29fd2112..9ff7eebea25c 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-06-01 Thread Arthur Zamarin
commit: 8c9bce206021186407eed271558a39293f5889fe
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jun  1 19:14:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jun  1 19:14:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9bce20

dev-libs/boost: Stabilize 1.82.0-r1 arm, #905701

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.82.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0-r1.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
index d430baa55c42..465c29fd2112 100644
--- a/dev-libs/boost/boost-1.82.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-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"
+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"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2023-05-20 Thread David Seifert
commit: 3717ac89376dd29fbe0e5220b881a3e99339d331
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 20 16:37:44 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 20 16:37:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3717ac89

dev-libs/boost: fix USE=context on arm64

Closes: https://bugs.gentoo.org/904132
Signed-off-by: David Seifert  gentoo.org>

 .../{boost-1.82.0.ebuild => boost-1.82.0-r1.ebuild}   |  1 +
 dev-libs/boost/files/boost-1.82.0-context-arm64.patch | 19 +++
 2 files changed, 20 insertions(+)

diff --git a/dev-libs/boost/boost-1.82.0.ebuild 
b/dev-libs/boost/boost-1.82.0-r1.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.82.0.ebuild
rename to dev-libs/boost/boost-1.82.0-r1.ebuild
index 30ce182a1f86..f257063c371d 100644
--- a/dev-libs/boost/boost-1.82.0.ebuild
+++ b/dev-libs/boost/boost-1.82.0-r1.ebuild
@@ -51,6 +51,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
 
# (upstreamed)
+   "${FILESDIR}"/${PN}-1.82.0-context-arm64.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.82.0-context-arm64.patch 
b/dev-libs/boost/files/boost-1.82.0-context-arm64.patch
new file mode 100644
index ..a4efac7f2f62
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.82.0-context-arm64.patch
@@ -0,0 +1,19 @@
+https://github.com/boostorg/context/commit/d039c8e4da79dbc76481236249e22892bfdde047
+https://bugs.gentoo.org/904132
+
+From d039c8e4da79dbc76481236249e22892bfdde047 Mon Sep 17 00:00:00 2001
+From: Nikita Kniazev 
+Date: Thu, 23 Mar 2023 16:23:07 +0300
+Subject: [PATCH] Fix arm64 detection broken by recent B2 change
+
+--- a/libs/context/build/Jamfile.v2
 b/libs/context/build/Jamfile.v2
+@@ -79,7 +79,7 @@ local rule default_abi ( )
+ local tmp = sysv ;
+ if [ os.name ] = "NT" { tmp = ms ; }
+ else if [ os.name ] = "CYGWIN" { tmp = ms ; }
+-else if [ os.platform ] = "ARM" { tmp = aapcs ; }
++else if [ os.platform ] in ARM ARM64 { tmp = aapcs ; }
+ else if [ os.platform ] = "MIPS32" { tmp = o32 ; }
+ else if [ os.platform ] = "MIPS64" { tmp = n64 ; }
+ return $(tmp) ;



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-05-16 Thread David Seifert
commit: e442bb64a57259f89e12d901c8fe23a5abe62a76
Author: Yifeng Li  tomli  me>
AuthorDate: Tue May 16 21:11:24 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue May 16 21:11:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e442bb64

dev-libs/boost: fix build on macOS / Apple Silicon

This commits fix three problems in existing Boost 1.82.0 ebuilds,
allowing one to install Boost on macOS, including Apple Silicon.

1. Boost wants to build static library, which is unsupported on macOS.

Using the unmodified ebuild, Boost fails because the build system
wants to pass the "-static" flag to ar, but this option (and static
linking in general) is unsupported by macOS, creating this error
message:

arm64-apple-darwin22-ar: only one of -a and -[bi] options allowed

It turned out that "toolset=darwin" is actually broken in Boost [1] and
has even been removed from Boost since 2019 [2]. Thus, the fix is to
remove the option compiler="darwin".

2. error: O_LARGEFILE was not declared in this scope

It appears that on modern macOS, 64-bit file I/O is already the default,
and there's no special support for options like O_LARGEFILE. Thus, on
on Darwin, we avoid running the command append-lfs-flags.

3. invalid install_name found, your application or library will crash at runtime

To fix the broken install_name and references, a hack is used on Darwin
to find a list paths. The original command began with "grep ^libboost"
to match a library name at the beginning of the output of "otool -XL".
But for some reason, the library names now include a path prefix, such
as:

bin.v2/libs/thread/build/gcc-12.1/gentoorelease/pch-off/
threadapi-pthread/threading-multi/visibility-hidden/
libboost_thread.dylib

Thus, matching at the beginning of the line no longer works. To fix
the problem, we instead use "grep libboost" to allow lines with a
path prefix to be matched as well. We then extract the basename the
filename from the path.

[1] 
https://web.archive.org/web/20160713132921/https://svn.boost.org/trac/boost/ticket/9772#comment:19
[2] https://github.com/boostorg/build/issues/528

Closes: https://github.com/gentoo/gentoo/pull/30758
Closes: https://bugs.gentoo.org/904983
Signed-off-by: Yifeng Li  tomli.me>
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.82.0.ebuild | 36 +++-
 1 file changed, 23 insertions(+), 13 deletions(-)

diff --git a/dev-libs/boost/boost-1.82.0.ebuild 
b/dev-libs/boost/boost-1.82.0.ebuild
index efe85c331913..30ce182a1f86 100644
--- a/dev-libs/boost/boost-1.82.0.ebuild
+++ b/dev-libs/boost/boost-1.82.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+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 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity
@@ -71,13 +71,8 @@ create_user-config.jam() {
fi
 
local compiler compiler_version compiler_executable="$(tc-getCXX)"
-   if [[ ${CHOST} == *-darwin* ]]; then
-   compiler="darwin"
-   compiler_version="$(gcc-fullversion)"
-   else
-   compiler="gcc"
-   compiler_version="$(gcc-version)"
-   fi
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
 
if use mpi; then
local mpi_configuration="using mpi ;"
@@ -194,8 +189,15 @@ src_configure() {
# Use C++17 globally as of 1.80
append-cxxflags -std=c++17
 
-   # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts 
(#894564)
-   append-lfs-flags
+   if [[ ${CHOST} != *-darwin* ]]; then
+   # On modern macOS, file I/O is already 64-bit by default,
+   # there's no support for special options like O_LARGEFILE.
+   # Thus, LFS must be disabled.
+   #
+   # On other systems, we need to enable LFS explicitly for 64-bit
+   # offsets on 32-bit hosts (#894564)
+   append-lfs-flags
+   fi
 }
 
 multilib_src_compile() {
@@ -242,16 +244,24 @@ multilib_src_install() {
install_name_tool -id "/${d#${D}}" "${d}"
eend $?
# fix references to other libs
+   # these paths look like this:
+   # 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2023-04-30 Thread Andreas Sturmlechner
commit: 9abdf3274aa90bf4dec65675f25325f6502e8bd6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr 29 21:27:59 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr 30 17:16:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abdf327

dev-libs/boost: drop 1.80.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/boost/Manifest|   1 -
 dev-libs/boost/boost-1.80.0-r1.ebuild  | 343 -
 .../files/boost-1.80.0-disable_icu_rpath.patch |  13 -
 dev-libs/boost/files/boost-1.80.0-python3.11.patch |  33 --
 .../boost/files/boost-1.80.0-unary-function.patch  |  27 --
 .../boost/files/boost-1.80.0-unordered-fix.patch   | 192 
 .../files/boost-1.80.0-unordered-ftm-malloc.patch  |  21 --
 7 files changed, 630 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 9789dbd925d6..4c89701f991c 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,3 +1,2 @@
-DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f
 DIST boost_1_81_0.tar.bz2 118797750 BLAKE2B 
ae57247fb80ee5a952881a99bdbe9a1d5622690879ef59053716647dc1121e70fdd322251837387b43357f1cd63c6d1ba285cf35c0c40e4f5ee28a929d7eacf7
 SHA512 
a04201e73da59f68fa02761b333c864a96ebaf268247b6b10cb19ed3d70ee9ad3da4c53123f2a7a4a9b9e1408793b51e1adbcc6fd09f60fecef3ca9522bb6b36
 DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
deleted file mode 100644
index 89992f545238..
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ /dev/null
@@ -1,343 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/b2-4.9.2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.80.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
-   # (upstreamed)
-   "${FILESDIR}"/${PN}-1.80.0-unordered-fix.patch
-   "${FILESDIR}"/${PN}-1.80.0-unary-function.patch
-   "${FILESDIR}"/${PN}-1.80.0-python3.11.patch
-   "${FILESDIR}"/${PN}-1.80.0-unordered-ftm-malloc.patch
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   einfo "${user_config_jam} already exists, skipping 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-04-15 Thread David Seifert
commit: b9d18a95aec369542dab3459c793fb93cf41687d
Author: David Seifert  gentoo  org>
AuthorDate: Sat Apr 15 16:07:00 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Apr 15 16:07:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d18a95

dev-libs/boost: keyword 1.82.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.82.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.82.0.ebuild 
b/dev-libs/boost/boost-1.82.0.ebuild
index b0dd2dbe7d92..efe85c331913 100644
--- a/dev-libs/boost/boost-1.82.0.ebuild
+++ b/dev-libs/boost/boost-1.82.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-04-14 Thread David Seifert
commit: 2000752e4e7a8d2859e2b63f39f1184c2711a4da
Author: David Seifert  gentoo  org>
AuthorDate: Fri Apr 14 23:07:03 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Apr 14 23:07:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2000752e

dev-libs/boost: add 1.82.0

Bug: https://bugs.gentoo.org/894564
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.82.0.ebuild | 343 +
 2 files changed, 344 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index c81f47bf5be4..9789dbd925d6 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1,3 @@
 DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f
 DIST boost_1_81_0.tar.bz2 118797750 BLAKE2B 
ae57247fb80ee5a952881a99bdbe9a1d5622690879ef59053716647dc1121e70fdd322251837387b43357f1cd63c6d1ba285cf35c0c40e4f5ee28a929d7eacf7
 SHA512 
a04201e73da59f68fa02761b333c864a96ebaf268247b6b10cb19ed3d70ee9ad3da4c53123f2a7a4a9b9e1408793b51e1adbcc6fd09f60fecef3ca9522bb6b36
+DIST boost_1_82_0.tar.bz2 121325129 BLAKE2B 
16ee164ce7114d8134c861b3652c842750cec63ab0e79e4386d8cb9c56f7a454f9a9cfa75f25d9132a8d8d9e6f39d32a8e7535f83f52f355bbc40ef530163fa5
 SHA512 
6fddc452ca67f99f5c181e21c73d96feb7346e10886477c91b4abc2cdf447750599e0d42f935ef59100ef6c033de078a7ad2bb577c81fa56a249b17420cb

diff --git a/dev-libs/boost/boost-1.82.0.ebuild 
b/dev-libs/boost/boost-1.82.0.ebuild
new file mode 100644
index ..b0dd2dbe7d92
--- /dev/null
+++ b/dev-libs/boost/boost-1.82.0.ebuild
@@ -0,0 +1,343 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] )
+   icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+
+   # (upstreamed)
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-01-24 Thread David Seifert
commit: a77e2be3202141061f919937ad9ccab5eb92c75f
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jan 24 11:51:27 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jan 24 11:51:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a77e2be3

dev-libs/boost: drop 1.81.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.81.0.ebuild | 340 -
 1 file changed, 340 deletions(-)

diff --git a/dev-libs/boost/boost-1.81.0.ebuild 
b/dev-libs/boost/boost-1.81.0.ebuild
deleted file mode 100644
index 59b674d93306..
--- a/dev-libs/boost/boost-1.81.0.ebuild
+++ /dev/null
@@ -1,340 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/b2-4.9.2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
-
-   # (upstreamed)
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   einfo "${user_config_jam} already exists, skipping 
configuration"
-   return
-   else
-   einfo "Creating configuration in ${user_config_jam}"
-   fi
-
-   local compiler compiler_version compiler_executable="$(tc-getCXX)"
-   if [[ ${CHOST} == *-darwin* ]]; then
-   compiler="darwin"
-   compiler_version="$(gcc-fullversion)"
-   else
-   compiler="gcc"
-   compiler_version="$(gcc-version)"
-   fi
-
-   if use mpi; then
-   local mpi_configuration="using mpi ;"
-   fi
-
-   cat > "${user_config_jam}" <<- __EOF__ || die
-   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
-   ${mpi_configuration}
-   __EOF__
-
-   if python_bindings_needed; then
-   append_to_user_config() {
-   local py_config
-   if tc-is-cross-compiler; then
-   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
-   else
-   py_config="using python : ${EPYTHON#python} : 
${PYTHON} : $(python_get_includedir) ;"
-   fi
-   echo "${py_config}" >> "${user_config_jam}" || die
-   }
-   python_foreach_impl append_to_user_config
-   fi
-
-   if python_bindings_needed && use numpy; then
-   einfo "Enabling support for NumPy extensions in Boost.Python"
-   else
-   einfo "Disabling support for NumPy extensions in Boost.Python"
-
-   # Boost.Build does not allow 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-01-21 Thread Arthur Zamarin
commit: 07c078c95908ea51c67b761daec1c617c2e775a6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 21 19:41:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 21 19:41:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c078c9

dev-libs/boost: Stabilize 1.81.0-r1 hppa, #888946

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.81.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.81.0-r1.ebuild 
b/dev-libs/boost/boost-1.81.0-r1.ebuild
index c10318a4bbee..a2dedb812859 100644
--- a/dev-libs/boost/boost-1.81.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.81.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2023-01-17 Thread Arthur Zamarin
commit: e9a37101fd024987391cc61eba6636191e56d9c2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 17 19:52:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 17 19:52:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a37101

dev-libs/boost: Stabilize 1.81.0-r1 sparc, #888946

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.81.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.81.0-r1.ebuild 
b/dev-libs/boost/boost-1.81.0-r1.ebuild
index 0ea57d93f933..651ac37aae34 100644
--- a/dev-libs/boost/boost-1.81.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.81.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-12-20 Thread Sam James
commit: 5297062bb5b595e8a37fdd0cad3bb3c79c5a52db
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 20 23:56:15 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 20 23:56:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5297062b

dev-libs/boost: fix phoenix multiple definitions

Closes: https://bugs.gentoo.org/887041
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.81.0-r1.ebuild  | 341 +
 ...boost-1.81.0-phoenix-multiple-definitions.patch |  11 +
 2 files changed, 352 insertions(+)

diff --git a/dev-libs/boost/boost-1.81.0-r1.ebuild 
b/dev-libs/boost/boost-1.81.0-r1.ebuild
new file mode 100644
index ..4879ee3c6c95
--- /dev/null
+++ b/dev-libs/boost/boost-1.81.0-r1.ebuild
@@ -0,0 +1,341 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
+   "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch
+
+   # (upstreamed)
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+   fi
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if python_bindings_needed; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
+   else
+   py_config="using python : ${EPYTHON#python} : 
${PYTHON} : $(python_get_includedir) ;"
+   fi
+   echo "${py_config}" >> "${user_config_jam}" || die
+   }
+   python_foreach_impl append_to_user_config
+   fi
+
+   if python_bindings_needed && use numpy; then
+   einfo "Enabling 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-12-17 Thread Sam James
commit: bea4cdfe03e2770082a204fd8f7a4faa7928a002
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 17 20:01:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 17 20:01:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bea4cdfe

dev-libs/boost: keyword 1.81.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.81.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.81.0.ebuild 
b/dev-libs/boost/boost-1.81.0.ebuild
index 6d6f80dba7ae..3b6a40caf56d 100644
--- a/dev-libs/boost/boost-1.81.0.ebuild
+++ b/dev-libs/boost/boost-1.81.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-12-15 Thread Sam James
commit: b154a19cecdfc75374bb691b0d9b9cfd631443b5
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 02:51:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 02:52:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b154a19c

dev-libs/boost: add github remote-ids for modules

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/metadata.xml | 134 
 1 file changed, 134 insertions(+)

diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml
index 5ceb55d4b897..98eea6f8a059 100644
--- a/dev-libs/boost/metadata.xml
+++ b/dev-libs/boost/metadata.xml
@@ -19,7 +19,141 @@


cpe:/a:boost:boost
+   
boostorg/boost
+   boostorg/accumulators
+   boostorg/algorithm
+   boostorg/align
+   boostorg/any
+   boostorg/archive
+   boostorg/asio
+   boostorg/assert
+   boostorg/assign
+   boostorg/atomic
+   boostorg/beast
+   boostorg/bimap
+   boostorg/bind
+   boostorg/callable_traits
+   boostorg/chrono
+   boostorg/circular_buffer
+   boostorg/compatibility
+   boostorg/compute
+   boostorg/concept
+   boostorg/concept_check
+   boostorg/config
+   boostorg/container
+   boostorg/container_hash
+   boostorg/context
+   boostorg/contract
+   boostorg/convert
+   boostorg/core
+   boostorg/coroutine
+   boostorg/coroutine2
+   boostorg/date_time
+   boostorg/describe
+   boostorg/detail
+   boostorg/dll
+   boostorg/dynamic_bitset
+   boostorg/endian
+   boostorg/exception
+   boostorg/fiber
+   boostorg/filesystem
+   boostorg/flyweight
+   boostorg/format
+   boostorg/function
+   boostorg/functional
+   boostorg/function_types
+   boostorg/fusion
+   boostorg/geometry
+   boostorg/gil
+   boostorg/graph
+   boostorg/hana
+   boostorg/heap
+   boostorg/histogram
+   boostorg/hof
+   boostorg/icl
+   boostorg/integer
+   boostorg/interprocess
+   boostorg/intrusive
+   boostorg/io
+   boostorg/iostreams
+   boostorg/iterator
+   boostorg/json
+   boostorg/lambda
+   boostorg/lambda2
+   boostorg/leaf
+   boostorg/lexical_cast
+   boostorg/locale
+   boostorg/local_function
+   boostorg/lockfree
+   boostorg/log
+   boostorg/logic
+   boostorg/math
+   boostorg/metaparse
+   boostorg/move
+   boostorg/mp11
+   boostorg/mpi
+   boostorg/mpl
+   boostorg/msm
+   boostorg/multi_array
+   boostorg/multi_index
+   boostorg/multiprecision
+   boostorg/nowide
+   boostorg/numeric
+   boostorg/optional
+   boostorg/outcome
+   boostorg/parameter
+   boostorg/pending
+   boostorg/pfr
+   boostorg/phoenix
+   boostorg/poly_collection
+   boostorg/polygon
+   boostorg/pool
+   boostorg/predef
+   boostorg/preprocessor
+   boostorg/process
+   boostorg/program_options
+   boostorg/property_map
+   boostorg/property_tree
+   boostorg/proto
+   boostorg/ptr_container
+   boostorg/python
+   boostorg/qvm
+   boostorg/random
+   boostorg/range
+   boostorg/ratio
+   boostorg/regex
+   boostorg/safe_numerics
+   boostorg/serialization
+   boostorg/signals2
+   boostorg/smart_ptr
+   boostorg/sort
+   boostorg/spirit
+   boostorg/stacktrace
+   boostorg/statechart
+   boostorg/static_string
+   boostorg/stl_interfaces
+   boostorg/system
+   boostorg/test
+   boostorg/thread
+   boostorg/timer
+   boostorg/tti
+   boostorg/tuple
+   boostorg/type_erasure
+   boostorg/type_index
+   boostorg/typeof
+   boostorg/type_traits
+   boostorg/units
+   boostorg/unordered
+   boostorg/utility
+

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2022-12-15 Thread Sam James
commit: ad6b752889379765fd77b152c9bdd6490d888f1b
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec 16 02:43:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 16 02:52:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6b7528

dev-libs/boost: add 1.81.0 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.81.0.ebuild | 340 +
 .../files/boost-1.81.0-disable_icu_rpath.patch |  19 ++
 3 files changed, 360 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 3e1f8229c10f..c81f47bf5be4 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1 +1,2 @@
 DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f
+DIST boost_1_81_0.tar.bz2 118797750 BLAKE2B 
ae57247fb80ee5a952881a99bdbe9a1d5622690879ef59053716647dc1121e70fdd322251837387b43357f1cd63c6d1ba285cf35c0c40e4f5ee28a929d7eacf7
 SHA512 
a04201e73da59f68fa02761b333c864a96ebaf268247b6b10cb19ed3d70ee9ad3da4c53123f2a7a4a9b9e1408793b51e1adbcc6fd09f60fecef3ca9522bb6b36

diff --git a/dev-libs/boost/boost-1.81.0.ebuild 
b/dev-libs/boost/boost-1.81.0.ebuild
new file mode 100644
index ..6d6f80dba7ae
--- /dev/null
+++ b/dev-libs/boost/boost-1.81.0.ebuild
@@ -0,0 +1,340 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
+
+   # (upstreamed)
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+   fi
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/

2022-12-06 Thread David Seifert
commit: ad6496f10ac3e6101a9886d73997245f7ff0a69b
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Dec  6 21:25:28 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Dec  6 21:25:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad6496f1

dev-libs/boost: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/28571
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: David Seifert  gentoo.org>

 .../boost/files/boost-1.79.0-CVE-2012-2677.patch   | 121 -
 .../files/boost-1.79.0-disable_icu_rpath.patch |  29 -
 .../files/boost-1.79.0-fix-mips1-transition.patch  |  39 ---
 3 files changed, 189 deletions(-)

diff --git a/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch 
b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch
deleted file mode 100644
index 5dfbf85bc63f..
--- a/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-https://src.fedoraproject.org/rpms/boost/raw/master/f/boost-1.58.0-pool.patch
-https://bugzilla.redhat.com/show_bug.cgi?id=828856
-https://bugs.gentoo.org/620468
-https://svn.boost.org/trac10/ticket/6701
-
 a/boost/pool/pool.hpp
-+++ b/boost/pool/pool.hpp
-@@ -27,4 +27,6 @@
- #include 
- 
-+// std::numeric_limits
-+#include 
- // boost::integer::static_lcm
- #include 
-@@ -356,4 +358,11 @@
- }
- 
-+size_type max_chunks() const
-+{ //! Calculated maximum number of memory chunks that can be allocated in 
a single call by this Pool.
-+  size_type partition_size = alloc_size();
-+  size_type POD_size = integer::static_lcm::value + sizeof(size_type);
-+  return (std::numeric_limits::max() - POD_size) / 
alloc_size();
-+}
-+
- static void * & nextof(void * const ptr)
- { //! \returns Pointer dereferenced.
-@@ -375,5 +384,7 @@
-   //!   the first time that object needs to allocate system memory.
-   //!   The default is 32. This parameter may not be 0.
--  //! \param nmax_size is the maximum number of chunks to allocate in one 
block.
-+  //! \param nmax_size is the maximum number of chunks to allocate in one 
block.  
-+  set_next_size(nnext_size);
-+  set_max_size(nmax_size);
- }
- 
-@@ -398,7 +409,7 @@
- }
- void set_next_size(const size_type nnext_size)
--{ //! Set number of chunks to request from the system the next time that 
object needs to allocate system memory. This value should never be set to 0.
--  //! \returns nnext_size.
--  next_size = start_size = nnext_size;
-+{ //! Set number of chunks to request from the system the next time that 
object needs to allocate system memory. This value should never be set to 0.
 
-+  BOOST_USING_STD_MIN();
-+  next_size = start_size = min 
BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks());
- }
- size_type get_max_size() const
-@@ -408,5 +419,6 @@
- void set_max_size(const size_type nmax_size)
- { //! Set max_size.
--  max_size = nmax_size;
-+  BOOST_USING_STD_MIN();
-+  max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, 
max_chunks());
- }
- size_type get_requested_size() const
-@@ -709,7 +721,7 @@
-   BOOST_USING_STD_MIN();
-   if(!max_size)
--next_size <<= 1;
-+set_next_size(next_size << 1);
-   else if( next_size*partition_size/requested_size < max_size)
--next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size*requested_size/ partition_size);
-+set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size * requested_size / partition_size));
- 
-   //  initialize it,
-@@ -749,7 +761,7 @@
-   BOOST_USING_STD_MIN();
-   if(!max_size)
--next_size <<= 1;
-+set_next_size(next_size << 1);
-   else if( next_size*partition_size/requested_size < max_size)
--next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size*requested_size/ partition_size);
-+set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size * requested_size / partition_size));
- 
-   //  initialize it,
-@@ -793,4 +805,6 @@
-   //! \returns Address of chunk n if allocated ok.
-   //! \returns 0 if not enough memory for n chunks.
-+  if (n > max_chunks())
-+return 0;
- 
-   const size_type partition_size = alloc_size();
-@@ -841,7 +855,7 @@
-   BOOST_USING_STD_MIN();
-   if(!max_size)
--next_size <<= 1;
-+set_next_size(next_size << 1);
-   else if( next_size*partition_size/requested_size < max_size)
--next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size*requested_size/ partition_size);
-+set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size * requested_size / partition_size));
- 
-   //  insert it into the list,
 a/libs/pool/test/test_bug_6701.cpp
-+++ b/libs/pool/test/test_bug_6701.cpp
-@@ -0,0 +1,27 @@
-+/* Copyright (C) 2012 Étienne Dupuis
-+* 
-+* Use, modification and 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-12-02 Thread Arthur Zamarin
commit: 9bf69af9f813052da03111318927435d62cefda6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec  2 18:47:13 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec  2 18:47:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf69af9

dev-libs/boost: Stabilize 1.80.0-r1 x86, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 36767a3386d2..c59b9cff63e0 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-22 Thread Sam James
commit: 96d01d868eeca692d472bfba5fbca7f4f11aae76
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 23 02:26:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 23 02:26:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d01d86

dev-libs/boost: Stabilize 1.80.0-r1 amd64, #879495

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 99a90c583491..36767a3386d2 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: 75c301566a676b9747a2482d74c323f3a6ca8933
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 20:43:30 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 20:43:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75c30156

dev-libs/boost: Stabilize 1.80.0-r1 hppa, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 02229ce1e9db..99a90c583491 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: 7a1ec4106a079bf47e31773fb3ff42601e0c42ce
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 17:52:06 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 17:52:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1ec410

dev-libs/boost: Stabilize 1.80.0-r1 arm, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 78fe9e3c5b95..02229ce1e9db 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: a9c77df74b2a9202417920dfeea3060f8972235c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 17:52:00 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 17:52:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c77df7

dev-libs/boost: Stabilize 1.80.0-r1 sparc, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 70260e08631a..78fe9e3c5b95 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: 5ec9bca2365b4175c16d6b3a4c3bf2b0905f898c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 17:51:54 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 17:51:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ec9bca2

dev-libs/boost: Stabilize 1.80.0-r1 arm64, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 4feb6de3a1ad..70260e08631a 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: a3a42b5bf39913d40146bb8ed367b90ca4181248
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 17:50:02 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 17:50:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a42b5b

dev-libs/boost: Stabilize 1.80.0-r1 ppc64, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index a4aedd36a06c..4feb6de3a1ad 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-11-21 Thread Arthur Zamarin
commit: c3c9ac5f19b90c7dd7e090630dd1276347836e9f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Nov 21 17:42:52 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Nov 21 17:42:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c9ac5f

dev-libs/boost: Stabilize 1.80.0-r1 ppc, #879495

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
index 5509346c04d6..a4aedd36a06c 100644
--- a/dev-libs/boost/boost-1.80.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2022-11-11 Thread Sam James
commit: dccc798b9d6c58ca245b20055c6cab0430a12692
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 12 00:04:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 12 00:04:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccc798b

dev-libs/boost: backport Python 3.11 and malloc FTM patches

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.80.0-r1.ebuild  | 343 +
 dev-libs/boost/files/boost-1.80.0-python3.11.patch |  33 ++
 .../files/boost-1.80.0-unordered-ftm-malloc.patch  |  21 ++
 3 files changed, 397 insertions(+)

diff --git a/dev-libs/boost/boost-1.80.0-r1.ebuild 
b/dev-libs/boost/boost-1.80.0-r1.ebuild
new file mode 100644
index ..5509346c04d6
--- /dev/null
+++ b/dev-libs/boost/boost-1.80.0-r1.ebuild
@@ -0,0 +1,343 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/b2-4.9.2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.80.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
+   # (upstreamed)
+   "${FILESDIR}"/${PN}-1.80.0-unordered-fix.patch
+   "${FILESDIR}"/${PN}-1.80.0-unary-function.patch
+   "${FILESDIR}"/${PN}-1.80.0-python3.11.patch
+   "${FILESDIR}"/${PN}-1.80.0-unordered-ftm-malloc.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+   fi
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if python_bindings_needed; then
+   append_to_user_config() {
+   local py_config
+   if tc-is-cross-compiler; then
+   py_config="using python : ${EPYTHON#python} : : 
${ESYSROOT}/usr/include/${EPYTHON} : ${ESYSROOT}/usr/$(get_libdir) ;"
+   else
+   py_config="using python : ${EPYTHON#python} : 
${PYTHON} : $(python_get_includedir) ;"
+   fi
+   echo "${py_config}" >> 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-09-10 Thread Sam James
commit: 301f5e6332309bfe2bdc10aea941bbe0bd9a16cb
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 10:57:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 10 10:57:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301f5e63

dev-libs/boost: fix build with libcxx

No revbump as:
1. Didn't build with libcxx anyway;
2. Mixing libcxx and libstdc++ isn't supported (suppose built Boost
with libstdc++ & tried to use libcxx in an application) so no
need to worry about that case, although doubt things would work
enough that you'd get to the point where this caused a problem.

Closes: https://bugs.gentoo.org/869401
Thanks-to: Peter Dimov  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.80.0.ebuild |  1 +
 .../boost/files/boost-1.80.0-unary-function.patch  | 27 ++
 2 files changed, 28 insertions(+)

diff --git a/dev-libs/boost/boost-1.80.0.ebuild 
b/dev-libs/boost/boost-1.80.0.ebuild
index e0c8fcaf0060..d70b29fc1bf3 100644
--- a/dev-libs/boost/boost-1.80.0.ebuild
+++ b/dev-libs/boost/boost-1.80.0.ebuild
@@ -51,6 +51,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
# (upstreamed)
"${FILESDIR}"/${PN}-1.80.0-unordered-fix.patch
+   "${FILESDIR}"/${PN}-1.80.0-unary-function.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.80.0-unary-function.patch 
b/dev-libs/boost/files/boost-1.80.0-unary-function.patch
new file mode 100644
index ..7941d7c66395
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.80.0-unary-function.patch
@@ -0,0 +1,27 @@
+https://bugs.gentoo.org/869401
+https://github.com/boostorg/config/commit/f0af4a9184457939b89110795ae2d293582c5f66
+https://github.com/boostorg/container_hash/issues/24
+
+From: jzmaddock 
+Date: Mon, 11 Jul 2022 18:26:07 +0100
+Subject: [PATCH] The std lib unary/binary_function base classes are
+ deprecated/removed from libcpp15. Fixes
+ https://github.com/boostorg/container_hash/issues/24.
+
+--- a/boost/config/stdlib/libcpp.hpp
 b/boost/config/stdlib/libcpp.hpp
+@@ -168,4 +168,13 @@
+ #  define BOOST_NO_CXX14_HDR_SHARED_MUTEX
+ #endif
+ 
++#if _LIBCPP_VERSION >= 15000
++//
++// Unary function is now deprecated in C++11 and later:
++//
++#if __cplusplus >= 201103L
++#define BOOST_NO_CXX98_FUNCTION_BASE
++#endif
++#endif
++
+ //  --- end ---
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-09-09 Thread Sam James
commit: ca32b4ab9140174f91eb16a1db2e1dfc6632f91c
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  9 09:41:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  9 09:41:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca32b4ab

dev-libs/boost: keyword 1.80.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.80.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.80.0.ebuild 
b/dev-libs/boost/boost-1.80.0.ebuild
index 81b191cdb53f..e0c8fcaf0060 100644
--- a/dev-libs/boost/boost-1.80.0.ebuild
+++ b/dev-libs/boost/boost-1.80.0.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-09-03 Thread David Seifert
commit: 3167ab39a1349b5bb3d274e88221a7fed4a4cde6
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep  3 21:53:26 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep  3 21:53:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3167ab39

dev-libs/boost: switch to b2

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.80.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-libs/boost/boost-1.80.0.ebuild 
b/dev-libs/boost/boost-1.80.0.ebuild
index 712ad83f404a..81b191cdb53f 100644
--- a/dev-libs/boost/boost-1.80.0.ebuild
+++ b/dev-libs/boost/boost-1.80.0.ebuild
@@ -8,7 +8,6 @@ PYTHON_COMPAT=( python3_{8..11} )
 inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
 
 MY_PV="$(ver_rs 1- _)"
-MAJOR_V="$(ver_cut 1-2)"
 
 DESCRIPTION="Boost Libraries for C++"
 HOMEPAGE="https://www.boost.org/;
@@ -16,7 +15,7 @@ 
SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_$
 S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
+SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122
 #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -41,7 +40,7 @@ RDEPEND="
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+BDEPEND=">=dev-util/b2-4.9.2"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.80.0-disable_icu_rpath.patch



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-09-03 Thread David Seifert
commit: a966f0af1aa94f3f9560a6ca88c21248614af559
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep  3 20:28:27 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep  3 20:28:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a966f0af

dev-libs/boost: add 1.80.0

Closes: https://bugs.gentoo.org/865527
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.80.0.ebuild | 341 +
 .../files/boost-1.80.0-disable_icu_rpath.patch |  13 +
 .../files/boost-1.80.0-fix-mips1-transition.patch  |  24 ++
 .../boost/files/boost-1.80.0-unordered-fix.patch   | 192 
 5 files changed, 571 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 7e0c56594141..ba3e5b485af8 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1 +1,2 @@
 DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312
+DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 
507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f
 SHA512 
829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f

diff --git a/dev-libs/boost/boost-1.80.0.ebuild 
b/dev-libs/boost/boost-1.80.0.ebuild
new file mode 100644
index ..712ad83f404a
--- /dev/null
+++ b/dev-libs/boost/boost-1.80.0.ebuild
@@ -0,0 +1,341 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+MAJOR_V="$(ver_cut 1-2)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.80.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch
+   # (upstreamed)
+   "${FILESDIR}"/${PN}-1.80.0-unordered-fix.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+   fi
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-07-28 Thread Sam James
commit: a0ec3cce08f57b6cd6ef677671f2312274a00c9d
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 13:27:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:31:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ec3cce

dev-libs/boost: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml
index 28a449a02899..5ceb55d4b897 100644
--- a/dev-libs/boost/metadata.xml
+++ b/dev-libs/boost/metadata.xml
@@ -19,6 +19,7 @@


cpe:/a:boost:boost
+   boostorg/boost
boost

 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2022-07-13 Thread David Seifert
commit: 0bae26bdfe05962d899dd38d4b9cbfd119f76d90
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jul 13 18:12:04 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jul 13 18:12:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bae26bd

dev-libs/boost: rebase patches

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 10 
 ...2677.patch => boost-1.79.0-CVE-2012-2677.patch} | 28 ++
 ...=> boost-1.79.0-boost-mpi-python-PEP-328.patch} |  0
 ...ch => boost-1.79.0-build-auto_index-tool.patch} |  0
 ...xt-x32.patch => boost-1.79.0-context-x32.patch} |  0
 patch => boost-1.79.0-disable_icu_rpath.patch} |  0
 6 files changed, 17 insertions(+), 21 deletions(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 6e2fec349237..844f6d24b1ff 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -45,12 +45,12 @@ DEPEND="${RDEPEND}"
 BDEPEND=">=dev-util/boost-build-1.78.0-r1"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
+   "${FILESDIR}"/${PN}-1.79.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.79.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
# Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+   "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.79.0-CVE-2012-2677.patch
"${FILESDIR}"/${PN}-1.79.0-fix-mips1-transition.patch
 )
 

diff --git a/dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch 
b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch
similarity index 88%
rename from dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch
rename to dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch
index ff947f74f1c4..5dfbf85bc63f 100644
--- a/dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch
+++ b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch
@@ -3,10 +3,8 @@ https://bugzilla.redhat.com/show_bug.cgi?id=828856
 https://bugs.gentoo.org/620468
 https://svn.boost.org/trac10/ticket/6701
 
-Index: boost/pool/pool.hpp
-===
 a/boost/pool/pool.hpp  (revision 78317)
-+++ b/boost/pool/pool.hpp  (revision 78326)
+--- a/boost/pool/pool.hpp
 b/boost/pool/pool.hpp
 @@ -27,4 +27,6 @@
  #include 
  
@@ -14,7 +12,7 @@ Index: boost/pool/pool.hpp
 +#include 
  // boost::integer::static_lcm
  #include 
-@@ -358,4 +360,11 @@
+@@ -356,4 +358,11 @@
  }
  
 +size_type max_chunks() const
@@ -26,7 +24,7 @@ Index: boost/pool/pool.hpp
 +
  static void * & nextof(void * const ptr)
  { //! \returns Pointer dereferenced.
-@@ -377,5 +388,7 @@
+@@ -375,5 +384,7 @@
//!   the first time that object needs to allocate system memory.
//!   The default is 32. This parameter may not be 0.
 -  //! \param nmax_size is the maximum number of chunks to allocate in one 
block.
@@ -35,7 +33,7 @@ Index: boost/pool/pool.hpp
 +  set_max_size(nmax_size);
  }
  
-@@ -400,7 +413,7 @@
+@@ -398,7 +409,7 @@
  }
  void set_next_size(const size_type nnext_size)
 -{ //! Set number of chunks to request from the system the next time that 
object needs to allocate system memory. This value should never be set to 0.
@@ -46,7 +44,7 @@ Index: boost/pool/pool.hpp
 +  next_size = start_size = min 
BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks());
  }
  size_type get_max_size() const
-@@ -410,5 +423,6 @@
+@@ -408,5 +419,6 @@
  void set_max_size(const size_type nmax_size)
  { //! Set max_size.
 -  max_size = nmax_size;
@@ -54,7 +52,7 @@ Index: boost/pool/pool.hpp
 +  max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, 
max_chunks());
  }
  size_type get_requested_size() const
-@@ -713,7 +727,7 @@
+@@ -709,7 +721,7 @@
BOOST_USING_STD_MIN();
if(!max_size)
 -next_size <<= 1;
@@ -64,7 +62,7 @@ Index: boost/pool/pool.hpp
 +set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size * requested_size / partition_size));
  
//  initialize it,
-@@ -753,7 +767,7 @@
+@@ -749,7 +761,7 @@
BOOST_USING_STD_MIN();
if(!max_size)
 -next_size <<= 1;
@@ -74,14 +72,14 @@ Index: boost/pool/pool.hpp
 +set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, 
max_size * requested_size / partition_size));
  
//  initialize it,
-@@ -797,4 +811,6 @@
+@@ -793,4 +805,6 @@
//! \returns Address of chunk n if allocated ok.
//! \returns 0 if not enough memory for n chunks.
 +  if (n > max_chunks())
 +return 0;
  
const size_type partition_size = alloc_size();
-@@ -845,7 +861,7 @@

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-07-06 Thread Andreas Sturmlechner
commit: 83fa068a17d25caf9270499dc08f4b3f0e081dcc
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Jul  6 09:34:10 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jul  6 10:27:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83fa068a

dev-libs/boost: Drop 1.78.0-r2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/boost/Manifest|   1 -
 dev-libs/boost/boost-1.78.0-r2.ebuild  | 338 -
 .../boost-1.78.0-interprocess-musl-include.patch   |  25 --
 3 files changed, 364 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index dda317544a26..7e0c56594141 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1 @@
-DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf
 DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
deleted file mode 100644
index 5d72852573ab..
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ /dev/null
@@ -1,338 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-MAJOR_V="$(ver_cut 1-2)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !app-admin/eselect-boost
-   !dev-libs/boost-numpy
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-#BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
-BDEPEND=">=dev-util/boost-build-1.78.0-r1"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
-
-   "${FILESDIR}"/${P}-interprocess-musl-include.patch
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local user_config_jam="${BUILD_DIR}"/user-config.jam
-   if [[ -s ${user_config_jam} ]]; then
-   einfo "${user_config_jam} already exists, skipping 
configuration"
-   return
-   else
-   einfo "Creating configuration in ${user_config_jam}"
-   fi
-
-   local compiler compiler_version compiler_executable="$(tc-getCXX)"
-   if [[ ${CHOST} == *-darwin* ]]; then
-   compiler="darwin"
-   compiler_version="$(gcc-fullversion)"
-   else
-   compiler="gcc"
-   compiler_version="$(gcc-version)"
-   fi
-
-   if use mpi; then
-   local mpi_configuration="using mpi ;"
-   fi
-
-   cat > "${user_config_jam}" <<- 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-07-03 Thread Sam James
commit: 575ea2b3795cdcbcb58f600759a1465599cbd9b1
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  3 22:56:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  3 22:56:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575ea2b3

dev-libs/boost: Stabilize 1.79.0 hppa, #853676

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index e4bcd612b566..6e2fec349237 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-07-03 Thread David Seifert
commit: 23c1294378041112203d89e9ddf6fff087c57211
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jul  3 09:31:19 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jul  3 09:31:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c12943

dev-libs/boost: enable py3.11

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index b4f7a4ca0537..e4bcd612b566 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
 
@@ -28,8 +28,6 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="test"
 
 RDEPEND="
-   !app-admin/eselect-boost
-   !dev-libs/boost-numpy
!=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-07-03 Thread WANG Xuerui
commit: 1a9b0d1fe535f498e607f7f8f860656237af347e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Jul  3 03:25:27 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Jul  3 08:31:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9b0d1f

dev-libs/boost: fix build for 1.79.0

Fix upstream issue causing configure errors on multiple arches. Changes
are hand-picked into the dist sources tree. One file rename is reverted
to make scrubbed patch work with patch(1).

Bug: https://bugs.gentoo.org/843212
Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild |  1 +
 .../files/boost-1.79.0-fix-mips1-transition.patch  | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 13fa77c98924..71cb13108ea5 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
# Boost.MPI's __init__.py doesn't work on Py3
"${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
"${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+   "${FILESDIR}"/${PN}-1.79.0-fix-mips1-transition.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch 
b/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch
new file mode 100644
index ..81b29ac6cac1
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch
@@ -0,0 +1,39 @@
+https://github.com/boostorg/boost/commit/791442bf1ed7a3b14893ed9e73ef2ab32b2a6026,
 and
+https://github.com/boostorg/config/commit/1a55d1d9c6d1cf7739645080bdd92fe903b4211e
 without the file renaming.
+
+--- a/boostcpp.jam
 b/boostcpp.jam
+@@ -634,7 +634,7 @@ rule address-model ( )
+ return @boostcpp.deduce-address-model ;
+ }
+ 
+-local deducable-architectures = arm mips1 power riscv s390x sparc x86 
combined ;
++local deducable-architectures = arm mips power riscv s390x sparc x86 combined 
;
+ feature.feature deduced-architecture : $(deducable-architectures) : 
propagated optional composite hidden ;
+ for a in $(deducable-architectures)
+ {
+@@ -645,10 +645,10 @@ rule deduce-architecture ( properties * )
+ {
+ local result ;
+ local filtered = [ toolset-properties $(properties) ] ;
+-local names = arm mips1 power riscv s390x sparc x86 combined ;
++local names = arm mips power riscv s390x sparc x86 combined ;
+ local idx = [ configure.find-builds "default architecture" : $(filtered)
+ : /boost/architecture//arm
+-: /boost/architecture//mips1
++: /boost/architecture//mips
+ : /boost/architecture//power
+ : /boost/architecture//riscv
+ : /boost/architecture//s390x
+--- a/libs/config/checks/architecture/Jamfile.jam
 b/libs/config/checks/architecture/Jamfile.jam
+@@ -18,7 +18,8 @@ obj 64 : 64.cpp ;
+ 
+ obj arm  : arm.cpp ;
+ obj combined : combined.cpp ;
+-obj mips1: mips1.cpp ;
++obj mips : mips1.cpp ;
++alias mips1  : mips ; # Backwards compatibility
+ obj power: power.cpp ;
+ obj riscv: riscv.cpp ;
+ obj sparc: sparc.cpp ;



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-07-03 Thread WANG Xuerui
commit: a4c4d058df48cddea1da537bb04847a088a7
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Jul  3 08:29:11 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Jul  3 08:31:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c4d058

Revert "dev-libs/boost: drop ia64 and s390 keywords temporarily, bug 843212"

This reverts commit 3faf8eec06c271b005762884c0cba44f7a027563.

~loong and ~m68k builds are fixed, so should the others. Given the
original drop was due to this bug, just restore keywords for one less
rekeywording bug.

Closes: https://bugs.gentoo.org/843212
Signed-off-by: WANG Xuerui  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 71cb13108ea5..b4f7a4ca0537 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-06-14 Thread Sam James
commit: 26769f850e16f33f502321df478589a0a66c1d21
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 14 18:01:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 14 18:01:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26769f85

dev-libs/boost: Stabilize 1.79.0 sparc, #843353

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 15815b875e89..2408361220cf 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-05-20 Thread Andreas K. Hüttel
commit: 3faf8eec06c271b005762884c0cba44f7a027563
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Fri May 20 20:18:27 2022 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Fri May 20 20:18:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3faf8eec

dev-libs/boost: drop ia64 and s390 keywords temporarily, bug 843212

Bug: https://bugs.gentoo.org/843212
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 5be71891e682..34e653c3a949 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-05-08 Thread Andreas Sturmlechner
commit: bd7deb456020b9b3329b05c3aaa0d26a7997caf3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May  8 13:13:29 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun May  8 13:23:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7deb45

dev-libs/boost: Drop 1.77.0-r4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 dev-libs/boost/Manifest|   2 -
 dev-libs/boost/boost-1.77.0-r4.ebuild  | 341 -
 .../files/boost-1.77.0-fix-process-include.patch   |  19 --
 .../boost/files/boost-1.77.0-python-3.10.patch |  44 ---
 4 files changed, 406 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 0d1e5b8ce3d8..dda317544a26 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,4 +1,2 @@
-DIST boost-1.77.0-patches-1.tar.xz 9612 BLAKE2B 
b56e45cee94329c97e8ee4e6f040832829e63fb0ae47f02fb1aa54720311f56e68b4d4d53557952bb280d60316ecf64ffc1a1e9c9411b70a733690270b85c2d2
 SHA512 
1358fa6d3afa45fe414f0c11bb583cc8b95737405c6fc3831f7485e22edac990e98849c06c851a4d0fe26bbeec7b8b40103090dc80417ae717ba33caa2088d86
-DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
 DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf
 DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312

diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
deleted file mode 100644
index 5ec5337f1703..
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild
+++ /dev/null
@@ -1,341 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-MAJOR_V="$(ver_cut 1-2)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches-1.tar.xz;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !app-admin/eselect-boost
-   !dev-libs/boost-numpy
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r2"
-
-PATCHES=(
-   "${WORKDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
-   "${WORKDIR}"/${PN}-1.71.0-context-x32.patch
-   "${WORKDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${WORKDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
-   "${WORKDIR}"/${PN}-1.74-CVE-2012-2677.patch
-   "${WORKDIR}"/${PN}-1.76-sparc-define.patch
-   "${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
-   "${WORKDIR}"/${PN}-1.77-geometry.patch
-   "${FILESDIR}"/${P}-python-3.10.patch
-   "${FILESDIR}"/${P}-fix-process-include.patch
-)
-

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-05-07 Thread Sam James
commit: d7e2b4c77a10a7278b2ba5047c846df8c6e9dfac
Author: Sam James  gentoo  org>
AuthorDate: Sat May  7 20:56:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May  7 20:56:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e2b4c7

dev-libs/boost: keyword 1.79.0

Bug: https://bugs.gentoo.org/808087
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.79.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
index 6959c39d7c7f..5be71891e682 100644
--- a/dev-libs/boost/boost-1.79.0.ebuild
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-04-15 Thread David Seifert
commit: 0ca78fa08ac6ee9ecf43bb8d8d165dbb94ee632d
Author: David Seifert  gentoo  org>
AuthorDate: Fri Apr 15 08:39:47 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Apr 15 08:39:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca78fa0

dev-libs/boost: add 1.79.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.79.0.ebuild | 336 +
 2 files changed, 337 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 1649b2507a37..0d1e5b8ce3d8 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,3 +1,4 @@
 DIST boost-1.77.0-patches-1.tar.xz 9612 BLAKE2B 
b56e45cee94329c97e8ee4e6f040832829e63fb0ae47f02fb1aa54720311f56e68b4d4d53557952bb280d60316ecf64ffc1a1e9c9411b70a733690270b85c2d2
 SHA512 
1358fa6d3afa45fe414f0c11bb583cc8b95737405c6fc3831f7485e22edac990e98849c06c851a4d0fe26bbeec7b8b40103090dc80417ae717ba33caa2088d86
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
 DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf
+DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 
61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a
 SHA512 
70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312

diff --git a/dev-libs/boost/boost-1.79.0.ebuild 
b/dev-libs/boost/boost-1.79.0.ebuild
new file mode 100644
index ..7b6ced2073cf
--- /dev/null
+++ b/dev-libs/boost/boost-1.79.0.ebuild
@@ -0,0 +1,336 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+MAJOR_V="$(ver_cut 1-2)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !app-admin/eselect-boost
+   !dev-libs/boost-numpy
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+#BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+BDEPEND=">=dev-util/boost-build-1.78.0-r1"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-05 Thread Arthur Zamarin
commit: 8d6ed60a4e341fe278267299555eb4f851761e27
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Feb  5 17:32:49 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Feb  5 17:32:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d6ed60a

dev-libs/boost: Stabilize 1.78.0-r2 hppa, #830739

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 53fbaeeddd56..5d274a9df837 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2022-02-02 Thread Sam James
commit: 3414b1d35d6862ed5a5ad5251a60bc18b2e2be71
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 04:24:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 04:24:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3414b1d3

dev-libs/boost: fix musl build for 1.78

Closes: https://bugs.gentoo.org/829147
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild  |  2 ++
 .../boost-1.78.0-interprocess-musl-include.patch   | 25 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index a67156cf87e9..53fbaeeddd56 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -53,6 +53,8 @@ PATCHES=(
# Boost.MPI's __init__.py doesn't work on Py3
"${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
"${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+
+   "${FILESDIR}"/${P}-interprocess-musl-include.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch 
b/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch
new file mode 100644
index ..85d25861f11b
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.78.0-interprocess-musl-include.patch
@@ -0,0 +1,25 @@
+https://github.com/boostorg/interprocess/commit/d002a0d929ecb031843d806c2bda69e013442e13
+https://bugs.gentoo.org/829147
+
+From: Leonardo Neumann 
+Date: Mon, 13 Dec 2021 01:07:20 -0300
+Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems
+
+Boost 1.78.0 fails to build on musl-based systems because musl does
+not include sys/stat.h by default.
+
+Fixes #161 ("Boost compiler error")
+--- a/boost/interprocess/permissions.hpp
 b/boost/interprocess/permissions.hpp
+@@ -29,6 +29,10 @@
+ 
+ #include 
+ 
++#else
++
++#include 
++
+ #endif
+ 
+ #endif   //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: 50aea45cf759dae5207267c18cdad5ea3782d313
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:42:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:42:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50aea45c

dev-libs/boost: Stabilize 1.78.0-r2 amd64, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 46ef514be5bb..a67156cf87e9 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: 9dae6db2912939c8610c5aafde64c1a175f22c49
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:41:51 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:41:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dae6db2

dev-libs/boost: Stabilize 1.78.0-r2 x86, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 1d8e1053ec49..46ef514be5bb 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: aa2ed83ffdf486a87908cdddaac6b788dffa0b96
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:40:48 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:40:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2ed83f

dev-libs/boost: Stabilize 1.78.0-r2 arm, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 0a6ef316b508..1d8e1053ec49 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: fcd0c39c57eba68fdf2aefaaa0166cc1443704cf
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:40:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:40:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd0c39c

dev-libs/boost: Stabilize 1.78.0-r2 arm64, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index baedc7b3bb2c..0a6ef316b508 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: 1ddaf4305dda2739074c0300f62690d6d26689a0
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:40:29 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:40:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ddaf430

dev-libs/boost: Stabilize 1.78.0-r2 sparc, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 723748f07f50..baedc7b3bb2c 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2022-02-02 Thread Sam James
commit: 9d430386938a06947686674f0b1a96671e50ce9c
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb  3 03:40:20 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb  3 03:40:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d430386

dev-libs/boost: Stabilize 1.78.0-r2 ppc64, #830739

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r2.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
index 7ce71b22fa53..723748f07f50 100644
--- a/dev-libs/boost/boost-1.78.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2022-01-15 Thread David Seifert
commit: 6bcfb65ff722c6db281faeb8984be807b416f045
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 15 12:28:45 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 15 12:28:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bcfb65f

dev-libs/boost: drop 1.76.0-r1

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 -
 dev-libs/boost/boost-1.76.0-r1.ebuild  | 352 -
 dev-libs/boost/files/boost-1.76-boost-numpy.patch  |  23 --
 dev-libs/boost/files/boost-1.76-sparc-define.patch |  21 --
 dev-libs/boost/metadata.xml|   1 -
 5 files changed, 398 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 8f92e20febf1..1649b2507a37 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,4 +1,3 @@
 DIST boost-1.77.0-patches-1.tar.xz 9612 BLAKE2B 
b56e45cee94329c97e8ee4e6f040832829e63fb0ae47f02fb1aa54720311f56e68b4d4d53557952bb280d60316ecf64ffc1a1e9c9411b70a733690270b85c2d2
 SHA512 
1358fa6d3afa45fe414f0c11bb583cc8b95737405c6fc3831f7485e22edac990e98849c06c851a4d0fe26bbeec7b8b40103090dc80417ae717ba33caa2088d86
-DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
 DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf

diff --git a/dev-libs/boost/boost-1.76.0-r1.ebuild 
b/dev-libs/boost/boost-1.76.0-r1.ebuild
deleted file mode 100644
index fd0a7959b900..
--- a/dev-libs/boost/boost-1.76.0-r1.ebuild
+++ /dev/null
@@ -1,352 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
-
-MY_PV="$(ver_rs 1- _)"
-MAJOR_V="$(ver_cut 1-2)"
-
-DESCRIPTION="Boost Libraries for C++"
-HOMEPAGE="https://www.boost.org/;
-SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-S="${WORKDIR}/${PN}_${MY_PV}"
-
-LICENSE="Boost-1.0"
-SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python static-libs 
+threads tools zlib zstd"
-REQUIRED_USE="
-   mpi? ( threads )
-   python? ( ${PYTHON_REQUIRED_USE} )"
-# the tests will never fail because these are not intended as sanity
-# tests at all. They are more a way for upstream to check their own code
-# on new compilers. Since they would either be completely unreliable
-# (failing for no good reason) or completely useless (never failing)
-# there is no point in having them in the ebuild to begin with.
-RESTRICT="test"
-
-RDEPEND="
-   !app-admin/eselect-boost
-   !dev-libs/boost-numpy
-   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
-   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
-   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
-   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
-   python? (
-   ${PYTHON_DEPS}
-   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
-   )
-   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
-   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r2"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
-   # Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
-   "${FILESDIR}"/${PN}-1.76-boost-numpy.patch
-   "${FILESDIR}"/${PN}-1.76-sparc-define.patch
-)
-
-python_bindings_needed() {
-   multilib_is_native_abi && use python
-}
-
-tools_needed() {
-   multilib_is_native_abi && use tools
-}
-
-create_user-config.jam() {
-   local 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-14 Thread Sam James
commit: fab14b91a202b5651b02f5aca6abaca813687f15
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec 15 01:28:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec 15 01:28:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab14b91

dev-libs/boost: fix BDEPEND lower bound for boost-build

Closes: https://bugs.gentoo.org/829031
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/{boost-1.78.0-r1.ebuild => boost-1.78.0-r2.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0-r1.ebuild 
b/dev-libs/boost/boost-1.78.0-r2.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.78.0-r1.ebuild
rename to dev-libs/boost/boost-1.78.0-r2.ebuild
index 3814a27f351d..185d0046dbf0 100644
--- a/dev-libs/boost/boost-1.78.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r2.ebuild
@@ -43,7 +43,8 @@ RDEPEND="
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r1"
+#BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+BDEPEND=">=dev-util/boost-build-1.78.0-r1"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-14 Thread Sam James
commit: 5fb9ee5a02b6a0aa39fea12b0682838b3feee8ac
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 14 23:28:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 14 23:29:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb9ee5a

dev-libs/boost: require patched boost-build for 1.78 (fix Python bindings)

BDEPEND on a newer, patched boost-build which fixes installation of
Python bindings for us. Obviously reinstallation of Boost is necessary
with the fixed build system hence revbump.

Closes: https://bugs.gentoo.org/829031
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/{boost-1.78.0.ebuild => boost-1.78.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0.ebuild 
b/dev-libs/boost/boost-1.78.0-r1.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.78.0.ebuild
rename to dev-libs/boost/boost-1.78.0-r1.ebuild
index ca0a4647cf2c..3814a27f351d 100644
--- a/dev-libs/boost/boost-1.78.0.ebuild
+++ b/dev-libs/boost/boost-1.78.0-r1.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
 DEPEND="${RDEPEND}"
-BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r1"
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-12 Thread Sam James
commit: c6d82404707236bc54aa7f81b4effd6e67066d49
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 12 22:58:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 12 22:58:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d82404

dev-libs/boost: keyword 1.78.0

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.78.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.78.0.ebuild 
b/dev-libs/boost/boost-1.78.0.ebuild
index bed2ea28ae04..ca0a4647cf2c 100644
--- a/dev-libs/boost/boost-1.78.0.ebuild
+++ b/dev-libs/boost/boost-1.78.0.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-12 Thread David Seifert
commit: ade2b1e75a0aaed901b5d53dd077561ad3d21987
Author: David Seifert  gentoo  org>
AuthorDate: Sun Dec 12 14:36:04 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Dec 12 14:36:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade2b1e7

dev-libs/boost: add 1.78.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.78.0.ebuild | 335 +
 2 files changed, 336 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 05253944a437..8f92e20febf1 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,3 +1,4 @@
 DIST boost-1.77.0-patches-1.tar.xz 9612 BLAKE2B 
b56e45cee94329c97e8ee4e6f040832829e63fb0ae47f02fb1aa54720311f56e68b4d4d53557952bb280d60316ecf64ffc1a1e9c9411b70a733690270b85c2d2
 SHA512 
1358fa6d3afa45fe414f0c11bb583cc8b95737405c6fc3831f7485e22edac990e98849c06c851a4d0fe26bbeec7b8b40103090dc80417ae717ba33caa2088d86
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f
+DIST boost_1_78_0.tar.bz2 110675550 BLAKE2B 
ed7da98862ec1e0a28472544400e6f44ffadbc967eed969ce6cb62b1c4f0b7a4b98a395269eb374b57326eff9cdb1dd6e47df9d1a9730aff7c926cc44388fb2d
 SHA512 
9c34a387a203b99aa773eb0c59f5abac7a99ba10e4623653e793c1d5b29b99b88e0e4e0d4e2e4ca5d497c42f2e46e23bab66417722433a457dc818d7670bcbbf

diff --git a/dev-libs/boost/boost-1.78.0.ebuild 
b/dev-libs/boost/boost-1.78.0.ebuild
new file mode 100644
index ..bed2ea28ae04
--- /dev/null
+++ b/dev-libs/boost/boost-1.78.0.ebuild
@@ -0,0 +1,335 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+MAJOR_V="$(ver_cut 1-2)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !app-admin/eselect-boost
+   !dev-libs/boost-numpy
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/boost-build-${MAJOR_V}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-06 Thread David Seifert
commit: bb14cb3de155f3bd7bbc292faa73dc4ee4c931e9
Author: Adrian Ratiu  collabora  com>
AuthorDate: Mon Dec  6 16:31:48 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec  6 16:31:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb14cb3d

dev-libs/boost: fix AR/RANLIB configuration

The ebuild jam configuration did not specify any values for the
archiver and ranlib so Boost.Build would end up using the default
GNU versions even when building with Clang++.

Setting the values ensures the proper llvm-ar / llvm-ranlib are
used in LLVM build configurations.

Closes: https://github.com/gentoo/gentoo/pull/23198
Signed-off-by: Adrian Ratiu  collabora.com>
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
index cebd955d5882..5ec5337f1703 100644
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -91,7 +91,7 @@ create_user-config.jam() {
fi
 
cat > "${user_config_jam}" <<- __EOF__ || die
-   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" ;
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" "$(tc-getAR)" "$(tc-getRANLIB)" ;
${mpi_configuration}
__EOF__
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-04 Thread Arthur Zamarin
commit: 89f8da3103717bc3b369d50c548abfd6e26db232
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  4 19:05:39 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  4 19:06:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f8da31

dev-libs/boost: Stabilize 1.77.0-r4 ppc64, #821970

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
index 81f189706ce2..cebd955d5882 100644
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-04 Thread Arthur Zamarin
commit: 24e10dfc3fcb8d9b92acb133f08ecf6c8834191d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  4 17:44:18 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  4 17:44:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e10dfc

dev-libs/boost: Stabilize 1.77.0-r4 ppc, #821970

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
index da7c96f2e567..81f189706ce2 100644
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-02 Thread Sam James
commit: 0d2a918b22fe2ee94cf96c229848ef7a48bb009e
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec  2 19:51:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec  2 19:52:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2a918b

dev-libs/boost: Stabilize 1.77.0-r4 x86, #821970

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.77.0-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r4.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
index 1ff2d52c6c8e..da7c96f2e567 100644
--- a/dev-libs/boost/boost-1.77.0-r4.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/

2021-12-01 Thread Sam James
commit: 1ee39fdbf2c51fede474fdb99207a444af5ac23d
Author: Sam James  gentoo  org>
AuthorDate: Wed Dec  1 17:23:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  1 17:23:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee39fdb

dev-libs/boost: add missing include in 'process'

Closes: https://bugs.gentoo.org/827899
Signed-off-by: Sam James  gentoo.org>

 ...{boost-1.77.0-r3.ebuild => boost-1.77.0-r4.ebuild} |  1 +
 .../files/boost-1.77.0-fix-process-include.patch  | 19 +++
 2 files changed, 20 insertions(+)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.77.0-r3.ebuild
rename to dev-libs/boost/boost-1.77.0-r4.ebuild
index 1a84b2c175eb..1ff2d52c6c8e 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -57,6 +57,7 @@ PATCHES=(
"${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
"${WORKDIR}"/${PN}-1.77-geometry.patch
"${FILESDIR}"/${P}-python-3.10.patch
+   "${FILESDIR}"/${P}-fix-process-include.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch 
b/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch
new file mode 100644
index ..566603b360ac
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch
@@ -0,0 +1,19 @@
+https://github.com/boostorg/process/commit/e08374ed95ac33865bda40602c94909e7cd9607f.patch
+https://bugs.gentoo.org/827899
+
+From: Eddie-cz <48474051+eddie...@users.noreply.github.com>
+Date: Mon, 2 Aug 2021 10:49:42 +0200
+Subject: [PATCH] Update wchar_t.hpp
+
+--- a/boost/process/detail/traits/wchar_t.hpp
 b/boost/process/detail/traits/wchar_t.hpp
+@@ -12,6 +12,8 @@
+ #include 
+ #include 
+ 
++#include 
++
+ namespace boost { namespace process { namespace detail {
+ 
+ //template
+



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-12-01 Thread Sam James
commit: afee5f7fbae673e72253d62b52eec1bee9cf6376
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Nov 30 15:09:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Dec  1 10:45:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afee5f7f

dev-libs/boost: stable 1.77.0-r3 for hppa, bug #821970

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.77.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r3.ebuild
index e66d7640a1c4..1a84b2c175eb 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-11-30 Thread Arthur Zamarin
commit: b1c5f73cbb7b441276163b9530ab21d2a052dd62
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Nov 30 20:49:51 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 30 20:50:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c5f73c

dev-libs/boost: Stabilize 1.77.0-r3 arm, #821970

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-libs/boost/boost-1.77.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r3.ebuild
index 17c73a87c9b3..e66d7640a1c4 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-11-29 Thread Sam James
commit: 4ff20874139c48ae5cc2bfbc004645c51a7a1b5a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Nov 29 19:13:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Nov 29 19:16:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff20874

dev-libs/boost: stable 1.77.0-r3 for sparc, bug #821970

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.77.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r3.ebuild
index 4e4ee1514846..17c73a87c9b3 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-11-27 Thread Sam James
commit: 8afdfad983b84be22cb6b4d17ff64a8b9a48251b
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 28 02:56:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 28 02:56:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afdfad9

dev-libs/boost: Stabilize 1.77.0-r3 arm64, #821970

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.77.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r3.ebuild
index f0f451a1432a..23c087112e45 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r3.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2021-11-19 Thread Sam James
commit: 6d3c1357a7c95b95ecdbf31b3c919890efbcd7f0
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 20 07:06:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 20 07:07:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3c1357

dev-libs/boost: add Python 3.10 patch

Been meaning to add this but was undecided given no problems seemed to pop up.

Then made the connection (doh) between the linked OpenVDB bug after seeing
another distro (Exherbo) pick up this patch. Let's see if it helps the
situation there.

Bug: https://bugs.gentoo.org/790350
Signed-off-by: Sam James  gentoo.org>

 ...ost-1.77.0-r2.ebuild => boost-1.77.0-r3.ebuild} |  1 +
 .../boost/files/boost-1.77.0-python-3.10.patch | 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-libs/boost/boost-1.77.0-r2.ebuild 
b/dev-libs/boost/boost-1.77.0-r3.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.77.0-r2.ebuild
rename to dev-libs/boost/boost-1.77.0-r3.ebuild
index 05e615af56f6..f0f451a1432a 100644
--- a/dev-libs/boost/boost-1.77.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r3.ebuild
@@ -56,6 +56,7 @@ PATCHES=(
"${WORKDIR}"/${PN}-1.76-sparc-define.patch
"${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
"${WORKDIR}"/${PN}-1.77-geometry.patch
+   "${FILESDIR}"/${P}-python-3.10.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.77.0-python-3.10.patch 
b/dev-libs/boost/files/boost-1.77.0-python-3.10.patch
new file mode 100644
index ..69181b1fa42b
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.77.0-python-3.10.patch
@@ -0,0 +1,44 @@
+https://github.com/boostorg/boost_install/commit/0605dadfacf51994dcd8c5c82fb733dc6fa24073
+
+From: Martin Jansa 
+Date: Tue, 19 Oct 2021 12:24:31 +
+Subject: [PATCH] BoostConfig.cmake: allow searching for python310
+
+* accept double digits in Python3_VERSION_MINOR
+
+* if someone is using e.g.:
+  find_package(Python3 REQUIRED)
+  find_package(Boost REQUIRED 
python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})
+
+  with python-3.10 then it currently fails with:
+
+  -- Found PythonLibs: /usr/lib/libpython3.10.so (found version "3.10.0")
+  -- Found Python3: -native/usr/bin/python3-native/python3 (found version 
"3.10.0") found components: Interpreter
+  CMake Error at /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141 
(find_package):
+Could not find a package configuration file provided by "boost_python310"
+(requested version 1.77.0) with any of the following names:
+
+  boost_python310Config.cmake
+  boost_python310-config.cmake
+
+Add the installation prefix of "boost_python310" to CMAKE_PREFIX_PATH or
+set "boost_python310_DIR" to a directory containing one of the above files.
+If "boost_python310" provides a separate development package or SDK, be
+sure it has been installed.
+  Call Stack (most recent call first):
+/usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component)
+/usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
+CMakeLists.txt:18 (find_package)
+
+Signed-off-by: Martin Jansa 
+--- a/tools/boost_install/BoostConfig.cmake
 b/tools/boost_install/BoostConfig.cmake
+@@ -113,7 +113,7 @@ macro(boost_find_component comp required quiet)
+ set(_BOOST_REQUIRED REQUIRED)
+   endif()
+ 
+-  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9])$")
++  if("${comp}" MATCHES "^(python|numpy|mpi_python)([1-9])([0-9][0-9]?)$")
+ 
+ # handle pythonXY and numpyXY versioned components for compatibility
+ 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-09-27 Thread James Le Cuirot
commit: 04c3e2020dc979fe81564f151d25bc87d066b155
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Sep 27 21:42:55 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Sep 27 21:44:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04c3e202

dev-libs/boost: Keyword 1.77.0-r2 for ~m68k

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-libs/boost/boost-1.77.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r2.ebuild 
b/dev-libs/boost/boost-1.77.0-r2.ebuild
index d1061034e9e..05e615af56f 100644
--- a/dev-libs/boost/boost-1.77.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-09-04 Thread Sam James
commit: c73f23824e8bbb212d0fbdb1c4bf4dd1cc1dd27d
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  5 04:35:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  5 05:24:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c73f2382

dev-libs/boost: update SRC_URI for patch tarball (1.77)

Move all the patches in so it makes cleaning up easier in future;
initial reluctance to do this was because one of the patches
is temporary (should definitely be in the next release0, but I
think it's more confusing to have this
awkward split.

Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/Manifest   |  2 +-
 dev-libs/boost/boost-1.77.0-r2.ebuild | 14 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 553e397f12d..05253944a43 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,3 +1,3 @@
-DIST boost-1.77.0-patches.tar.xz 6996 BLAKE2B 
c561bb5eacdb6c3a49582407f1d85f22dd60de6caa494087d473f91926dd1eb0bffed7054ee5cc32e5263f450342fda29f0cee7a329ef524701730b027285e14
 SHA512 
82e323ac44c3e94630ac4ed48c6eeb2231128fa876c9b54ccb02d070bf0debf205061f44ceca76e4067362360a596408a31420d60fe006e6be8b2ead75dc3248
+DIST boost-1.77.0-patches-1.tar.xz 9612 BLAKE2B 
b56e45cee94329c97e8ee4e6f040832829e63fb0ae47f02fb1aa54720311f56e68b4d4d53557952bb280d60316ecf64ffc1a1e9c9411b70a733690270b85c2d2
 SHA512 
1358fa6d3afa45fe414f0c11bb583cc8b95737405c6fc3831f7485e22edac990e98849c06c851a4d0fe26bbeec7b8b40103090dc80417ae717ba33caa2088d86
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f

diff --git a/dev-libs/boost/boost-1.77.0-r2.ebuild 
b/dev-libs/boost/boost-1.77.0-r2.ebuild
index 15391cb8290..d1061034e9e 100644
--- a/dev-libs/boost/boost-1.77.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r2.ebuild
@@ -13,7 +13,7 @@ MAJOR_V="$(ver_cut 1-2)"
 DESCRIPTION="Boost Libraries for C++"
 HOMEPAGE="https://www.boost.org/;
 
SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
-SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz;
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches-1.tar.xz;
 S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
@@ -47,13 +47,13 @@ DEPEND="${RDEPEND}"
 BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r2"
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
-   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
-   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
+   "${WORKDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
+   "${WORKDIR}"/${PN}-1.71.0-context-x32.patch
+   "${WORKDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
# Boost.MPI's __init__.py doesn't work on Py3
-   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
-   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
-   "${FILESDIR}"/${PN}-1.76-sparc-define.patch
+   "${WORKDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
+   "${WORKDIR}"/${PN}-1.74-CVE-2012-2677.patch
+   "${WORKDIR}"/${PN}-1.76-sparc-define.patch
"${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
"${WORKDIR}"/${PN}-1.77-geometry.patch
 )



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-09-04 Thread Sam James
commit: 1d082abb76cc0a7c7751105154acac7f86cbe4f7
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  5 02:21:45 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  5 02:22:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d082abb

dev-libs/boost: keyword 1.77.0-r2

Acked-by: David Seifert  gentoo.org>
Bug: https://bugs.gentoo.org/808087
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/boost-1.77.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.77.0-r2.ebuild 
b/dev-libs/boost/boost-1.77.0-r2.ebuild
index 74412ce61b9..15391cb8290 100644
--- a/dev-libs/boost/boost-1.77.0-r2.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
 SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
-# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 # the tests will never fail because these are not intended as sanity



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2021-09-04 Thread Sam James
commit: 103255c242edc16d375bd8f9948213485965344f
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  5 02:20:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  5 02:22:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=103255c2

dev-libs/boost: add additional geometry patches

Some internal includes were missing within boost/geometry.

Acked-by: David Seifert  gentoo.org>
Bug: https://bugs.gentoo.org/808087
Signed-off-by: Sam James  gentoo.org>

 dev-libs/boost/Manifest|  1 +
 ...ost-1.77.0-r1.ebuild => boost-1.77.0-r2.ebuild} |  4 ++-
 .../files/boost-1.77-math-deprecated-include.patch | 40 --
 3 files changed, 4 insertions(+), 41 deletions(-)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 20cf00e4292..553e397f12d 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1,2 +1,3 @@
+DIST boost-1.77.0-patches.tar.xz 6996 BLAKE2B 
c561bb5eacdb6c3a49582407f1d85f22dd60de6caa494087d473f91926dd1eb0bffed7054ee5cc32e5263f450342fda29f0cee7a329ef524701730b027285e14
 SHA512 
82e323ac44c3e94630ac4ed48c6eeb2231128fa876c9b54ccb02d070bf0debf205061f44ceca76e4067362360a596408a31420d60fe006e6be8b2ead75dc3248
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
 DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f

diff --git a/dev-libs/boost/boost-1.77.0-r1.ebuild 
b/dev-libs/boost/boost-1.77.0-r2.ebuild
similarity index 98%
rename from dev-libs/boost/boost-1.77.0-r1.ebuild
rename to dev-libs/boost/boost-1.77.0-r2.ebuild
index 9a715e08895..74412ce61b9 100644
--- a/dev-libs/boost/boost-1.77.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r2.ebuild
@@ -13,6 +13,7 @@ MAJOR_V="$(ver_cut 1-2)"
 DESCRIPTION="Boost Libraries for C++"
 HOMEPAGE="https://www.boost.org/;
 
SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz;
 S="${WORKDIR}/${PN}_${MY_PV}"
 
 LICENSE="Boost-1.0"
@@ -53,7 +54,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
"${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
"${FILESDIR}"/${PN}-1.76-sparc-define.patch
-   "${FILESDIR}"/${PN}-1.77-math-deprecated-include.patch
+   "${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
+   "${WORKDIR}"/${PN}-1.77-geometry.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch 
b/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch
deleted file mode 100644
index 44943243eaa..000
--- a/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-https://github.com/boostorg/math/commit/720536a08e4e33639869e1b7a99d9ec923409c0b
-https://github.com/boostorg/math/issues/675
-https://github.com/boostorg/math/pull/676
-
-From 720536a08e4e33639869e1b7a99d9ec923409c0b Mon Sep 17 00:00:00 2001
-From: Matt Borland 
-Date: Mon, 23 Aug 2021 17:48:28 +0300
-Subject: [PATCH] Fix for issue 675 (#676)
-
 a/boost/math/tools/header_deprecated.hpp
-+++ a/boost/math/tools/header_deprecated.hpp
-@@ -6,12 +6,22 @@
- #ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED
- #define BOOST_MATH_TOOLS_HEADER_DEPRECATED
- 
--#ifdef _MSC_VER
--// Expands to "This header is deprecated; use expr instead."
--#define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is 
deprecated; use " expr " instead.")
--#else // GNU, Clang, Intel, IBM, etc.
-+#ifndef BOOST_MATH_STANDALONE
-+
-+#   include 
-+#   define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr)
-+
-+#else
-+
-+#   ifdef _MSC_VER
- // Expands to "This header is deprecated; use expr instead."
--#define BOOST_MATH_HEADER_DEPRECATED(expr) _Pragma("This header is 
deprecated; use " expr " instead.")
--#endif
-+#   define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is 
deprecated; use " expr " instead.")
-+#   else // GNU, Clang, Intel, IBM, etc.
-+// Expands to "This header is deprecated use expr instead"
-+#   define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr)
-+#   define BOOST_MATH_HEADER_DEPRECATED(expr) 
BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " 
expr " instead")
-+#   endif
-+
-+#endif // BOOST_MATH_STANDALONE
- 
- #endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/files/, dev-libs/boost/

2021-08-23 Thread Sam James
commit: 5688163ca8cafad73827308c2efdda56e4985714
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 23 16:16:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 23 16:17:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5688163c

dev-libs/boost: backport math header fix

Bug: https://bugs.gentoo.org/808087
Closes: https://bugs.gentoo.org/808663
Closes: https://bugs.gentoo.org/808677
Signed-off-by: Sam James  gentoo.org>

 ...{boost-1.77.0.ebuild => boost-1.77.0-r1.ebuild} |  1 +
 .../files/boost-1.77-math-deprecated-include.patch | 40 ++
 2 files changed, 41 insertions(+)

diff --git a/dev-libs/boost/boost-1.77.0.ebuild 
b/dev-libs/boost/boost-1.77.0-r1.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.77.0.ebuild
rename to dev-libs/boost/boost-1.77.0-r1.ebuild
index 40748904301..9a715e08895 100644
--- a/dev-libs/boost/boost-1.77.0.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r1.ebuild
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
"${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
"${FILESDIR}"/${PN}-1.76-sparc-define.patch
+   "${FILESDIR}"/${PN}-1.77-math-deprecated-include.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch 
b/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch
new file mode 100644
index 000..44943243eaa
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.77-math-deprecated-include.patch
@@ -0,0 +1,40 @@
+https://github.com/boostorg/math/commit/720536a08e4e33639869e1b7a99d9ec923409c0b
+https://github.com/boostorg/math/issues/675
+https://github.com/boostorg/math/pull/676
+
+From 720536a08e4e33639869e1b7a99d9ec923409c0b Mon Sep 17 00:00:00 2001
+From: Matt Borland 
+Date: Mon, 23 Aug 2021 17:48:28 +0300
+Subject: [PATCH] Fix for issue 675 (#676)
+
+--- a/boost/math/tools/header_deprecated.hpp
 a/boost/math/tools/header_deprecated.hpp
+@@ -6,12 +6,22 @@
+ #ifndef BOOST_MATH_TOOLS_HEADER_DEPRECATED
+ #define BOOST_MATH_TOOLS_HEADER_DEPRECATED
+ 
+-#ifdef _MSC_VER
+-// Expands to "This header is deprecated; use expr instead."
+-#define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is 
deprecated; use " expr " instead.")
+-#else // GNU, Clang, Intel, IBM, etc.
++#ifndef BOOST_MATH_STANDALONE
++
++#   include 
++#   define BOOST_MATH_HEADER_DEPRECATED(expr) BOOST_HEADER_DEPRECATED(expr)
++
++#else
++
++#   ifdef _MSC_VER
+ // Expands to "This header is deprecated; use expr instead."
+-#define BOOST_MATH_HEADER_DEPRECATED(expr) _Pragma("This header is 
deprecated; use " expr " instead.")
+-#endif
++#   define BOOST_MATH_HEADER_DEPRECATED(expr) __pragma("This header is 
deprecated; use " expr " instead.")
++#   else // GNU, Clang, Intel, IBM, etc.
++// Expands to "This header is deprecated use expr instead"
++#   define BOOST_MATH_HEADER_DEPRECATED_MESSAGE(expr) _Pragma(#expr)
++#   define BOOST_MATH_HEADER_DEPRECATED(expr) 
BOOST_MATH_HEADER_DEPRECATED_MESSAGE(message "This header is deprecated use " 
expr " instead")
++#   endif
++
++#endif // BOOST_MATH_STANDALONE
+ 
+ #endif // BOOST_MATH_TOOLS_HEADER_DEPRECATED



[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-08-13 Thread David Seifert
commit: 28e7d112f4d77896f062ba8152be908997d122c1
Author: David Seifert  gentoo  org>
AuthorDate: Fri Aug 13 16:51:10 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Aug 13 16:51:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28e7d112

dev-libs/boost: add 1.77.0

Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/Manifest|   1 +
 dev-libs/boost/boost-1.77.0.ebuild | 336 +
 2 files changed, 337 insertions(+)

diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 7dfc65e764d..20cf00e4292 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -1 +1,2 @@
 DIST boost_1_76_0.tar.bz2 110073117 BLAKE2B 
45445e6a9725cb99131e0b831b2fac0840d083692c13887b41adeac5cb8b3732026db3641d6be20591a676b78a87fcf363eb9b1508f87ed26039bba6a1ced533
 SHA512 
5d68bed98c57e03b4cb2420d9b856e5f0669561a6142a4b0c9c8a58dc5b6b28e16ccbb16ac559c3a3198c45769a246bf996b96cb7b6a019dd15f05c2270e9429
+DIST boost_1_77_0.tar.bz2 110361537 BLAKE2B 
106aeb09ec7705b595f2ca966a76c53c649eac6fac50d88c156862e0991c33c89a2f3a09edcbcb453fa44bf71cdde030b35d0a0889ad97b65f3a868cb877a532
 SHA512 
39b45c9b60bc5a2a4c669a4463d1272c1e093376b2fb374d7f20a84ea10a3e23bb04b335a735a83a04575731f874d9bff77e89acd947524b3fbbae1b26ae1f2f

diff --git a/dev-libs/boost/boost-1.77.0.ebuild 
b/dev-libs/boost/boost-1.77.0.ebuild
new file mode 100644
index 000..40748904301
--- /dev/null
+++ b/dev-libs/boost/boost-1.77.0.ebuild
@@ -0,0 +1,336 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
+
+MY_PV="$(ver_rs 1- _)"
+MAJOR_V="$(ver_cut 1-2)"
+
+DESCRIPTION="Boost Libraries for C++"
+HOMEPAGE="https://www.boost.org/;
+SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_${MY_PV}.tar.bz2;
+S="${WORKDIR}/${PN}_${MY_PV}"
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
+# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+# the tests will never fail because these are not intended as sanity
+# tests at all. They are more a way for upstream to check their own code
+# on new compilers. Since they would either be completely unreliable
+# (failing for no good reason) or completely useless (never failing)
+# there is no point in having them in the ebuild to begin with.
+RESTRICT="test"
+
+RDEPEND="
+   !app-admin/eselect-boost
+   !dev-libs/boost-numpy
+   !=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
+   !icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
+   lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
+   mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
+   python? (
+   ${PYTHON_DEPS}
+   numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+   )
+   zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
+   zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND=">=dev-util/boost-build-${MAJOR_V}-r2"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch
+   "${FILESDIR}"/${PN}-1.71.0-context-x32.patch
+   "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch
+   # Boost.MPI's __init__.py doesn't work on Py3
+   "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch
+   "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch
+   "${FILESDIR}"/${PN}-1.76-sparc-define.patch
+)
+
+python_bindings_needed() {
+   multilib_is_native_abi && use python
+}
+
+tools_needed() {
+   multilib_is_native_abi && use tools
+}
+
+create_user-config.jam() {
+   local user_config_jam="${BUILD_DIR}"/user-config.jam
+   if [[ -s ${user_config_jam} ]]; then
+   einfo "${user_config_jam} already exists, skipping 
configuration"
+   return
+   else
+   einfo "Creating configuration in ${user_config_jam}"
+   fi
+
+   local compiler compiler_version compiler_executable="$(tc-getCXX)"
+   if [[ ${CHOST} == *-darwin* ]]; then
+   compiler="darwin"
+   compiler_version="$(gcc-fullversion)"
+   else
+   compiler="gcc"
+   compiler_version="$(gcc-version)"
+   fi
+
+   if use mpi; then
+   local mpi_configuration="using mpi ;"
+   fi
+
+   cat > "${user_config_jam}" <<- __EOF__ || die
+   using ${compiler} : ${compiler_version} : 
${compiler_executable} : "${CFLAGS}" "${CXXFLAGS}" 
"${LDFLAGS}" ;
+   ${mpi_configuration}
+   __EOF__
+
+   if 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/

2021-07-04 Thread David Seifert
commit: 46d6066741900ed85ca54584704b34045e914f45
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jul  4 14:03:53 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jul  4 14:03:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d60667

dev-libs/boost: Add python3.10

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 dev-libs/boost/boost-1.76.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/boost/boost-1.76.0-r1.ebuild 
b/dev-libs/boost/boost-1.76.0-r1.ebuild
index 54d5ffc74c1..fd0a7959b90 100644
--- a/dev-libs/boost/boost-1.76.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.76.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
 



  1   2   3   >