commit: 158e789930eabbefaf87d393a473a6450c7aebd6 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Mon Feb 19 19:40:25 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 21:54:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158e7899
dev-python/pythran: fix broken runtime metadata Regression in commit 0c0d0150a89e320b064c09bfa5e6726bbd83a9da. xsimd is a runtime dependency of pythran, by nature of what pythran is and does. It defaults upstream to bundling it, but we remove that and use the system package. When performing that devendoring, it was mistakenly added as a build time dependency (even though xsimd is not used at build time at all!) but not a runtime dependency. This accidentally worked for people who both installed pythran from source instead of using a binhost, and who don't ever use `emerge -c --with-bdeps=n`. But it was very broken. It is also logically used for the testsuite. Revbump but don't drop keywords. It is a purely metadata-only fix and we want that fix out ASAP. Closes: https://bugs.gentoo.org/922782 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> .../pythran/{pythran-0.15.0.ebuild => pythran-0.15.0-r1.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev-python/pythran/pythran-0.15.0.ebuild b/dev-python/pythran/pythran-0.15.0-r1.ebuild similarity index 94% rename from dev-python/pythran/pythran-0.15.0.ebuild rename to dev-python/pythran/pythran-0.15.0-r1.ebuild index f7dd12b222d8..8c679fe4ddd9 100644 --- a/dev-python/pythran/pythran-0.15.0.ebuild +++ b/dev-python/pythran/pythran-0.15.0-r1.ebuild @@ -27,6 +27,7 @@ KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" dev-libs/boost + dev-cpp/xsimd =dev-python/beniget-0.4*[${PYTHON_USEDEP}] =dev-python/gast-0.5*[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] @@ -34,8 +35,10 @@ RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] " DEPEND=" - dev-libs/boost - dev-cpp/xsimd + test? ( + dev-libs/boost + dev-cpp/xsimd + ) " BDEPEND=" test? ( @@ -54,7 +57,7 @@ EPYTEST_XDIST=1 distutils_enable_tests pytest src_configure() { - # sigh + # vendored C++ headers -- use system copies rm -r pythran/{boost,xsimd} || die if use test ; then
