commit:     2ed8c7d4c44104d18bf26206e2139b8f90df13dc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  2 08:40:33 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Apr  2 08:40:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed8c7d4

dev-libs/boost: Add python 3.8 back

Closes: https://github.com/gentoo/gentoo/pull/15184
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-libs/boost/boost-1.72.0-r1.ebuild | 4 ++--
 profiles/base/package.use.stable.mask | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-libs/boost/boost-1.72.0-r1.ebuild 
b/dev-libs/boost/boost-1.72.0-r1.ebuild
index 0b76e3fd937..278be9b830d 100644
--- a/dev-libs/boost/boost-1.72.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.72.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
 
 inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal
 
@@ -39,7 +39,7 @@ RDEPEND="
        mpi? ( >=virtual/mpi-2.0-r4[${MULTILIB_USEDEP},cxx,threads] )
        python? (
                ${PYTHON_DEPS}
-               numpy? ( dev-python/numpy[${PYTHON_USEDEP}] )
+               numpy? ( $(python_gen_cond_dep 
'dev-python/numpy[${PYTHON_USEDEP}]' -3) )
        )
        zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] )
        zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )"

diff --git a/profiles/base/package.use.stable.mask 
b/profiles/base/package.use.stable.mask
index 03f6afbc88e..21debf861c6 100644
--- a/profiles/base/package.use.stable.mask
+++ b/profiles/base/package.use.stable.mask
@@ -4,6 +4,11 @@
 # This file requires eapi 5 or later. New entries go on top.
 # Please use the same syntax as in package.use.mask
 
+# David Seifert <[email protected]> (2020-03-31)
+# Numpy support in Boost.Python is brittle and shouldn't be enabled
+# on stable systems or force a stable upgrade.
+dev-libs/boost numpy
+
 # Brian Evans <[email protected]> (2020-02-27)
 # Two packages are delayed during stable of PHP 7.4
 # arm, arm64 and hppa necessary to not disruput consistency

Reply via email to