From 603ab63aaeff36880aded0a4f03e528c98d34f4f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 6 Nov 2021 08:39:54 +0000 Subject: Adding metadata --- dev-python/pythran/files/pythran-0.10.0-tests-werror.patch | 11 +++++++++++ dev-python/pythran/pythran-0.10.0.ebuild | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 dev-python/pythran/files/pythran-0.10.0-tests-werror.patch (limited to 'dev-python/pythran') diff --git a/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch b/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch new file mode 100644 index 000000000000..17c0630a5d1e --- /dev/null +++ b/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch @@ -0,0 +1,11 @@ +--- a/pythran/tests/__init__.py ++++ b/pythran/tests/__init__.py +@@ -71,7 +71,7 @@ class TestEnv(unittest.TestCase): + + module = pytest.mark.module + # default options used for the c++ compiler +- PYTHRAN_CXX_FLAGS = ['-O0', '-Wall', '-Werror', '-UNDEBUG', ++ PYTHRAN_CXX_FLAGS = ['-O0', '-Wall', '-UNDEBUG', + '-Wno-unused-function', + '-Wno-int-in-bool-context', + '-Wno-unknown-warning-option', diff --git a/dev-python/pythran/pythran-0.10.0.ebuild b/dev-python/pythran/pythran-0.10.0.ebuild index 836fc64cd11c..a0702ff23959 100644 --- a/dev-python/pythran/pythran-0.10.0.ebuild +++ b/dev-python/pythran/pythran-0.10.0.ebuild @@ -18,7 +18,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~riscv ~sparc x86" RDEPEND=" =dev-python/beniget-0.4*[${PYTHON_USEDEP}] @@ -36,6 +36,10 @@ BDEPEND=" distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${PN}-0.10.0-tests-werror.patch +) + src_prepare() { sed -i -e '/pytest-runner/d' setup.py || die distutils-r1_src_prepare -- cgit v1.3