From 2ed8c7d4c44104d18bf26206e2139b8f90df13dc Mon Sep 17 00:00:00 2001 From: David Seifert Date: Thu, 2 Apr 2020 10:40:33 +0200 Subject: [PATCH] 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 --- 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 0b76e3fd937c..278be9b830d7 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 03f6afbc88e0..21debf861c6d 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 (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 (2020-02-27) # Two packages are delayed during stable of PHP 7.4 # arm, arm64 and hppa necessary to not disruput consistency -- 2.26.2