summaryrefslogtreecommitdiff
path: root/dev-python/pythran
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-06 08:39:54 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-11-06 08:39:54 +0000
commit603ab63aaeff36880aded0a4f03e528c98d34f4f (patch)
tree69da78c27d20ed5f8bcfa4d0675d678b7f49d7a2 /dev-python/pythran
parent73a6ca9b295f19e0b2c68c1dff3174b82ff3d601 (diff)
downloadbaldeagleos-repo-603ab63aaeff36880aded0a4f03e528c98d34f4f.tar.gz
baldeagleos-repo-603ab63aaeff36880aded0a4f03e528c98d34f4f.tar.xz
baldeagleos-repo-603ab63aaeff36880aded0a4f03e528c98d34f4f.zip
Adding metadata
Diffstat (limited to 'dev-python/pythran')
-rw-r--r--dev-python/pythran/files/pythran-0.10.0-tests-werror.patch11
-rw-r--r--dev-python/pythran/pythran-0.10.0.ebuild6
2 files changed, 16 insertions, 1 deletions
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