summaryrefslogtreecommitdiff
path: root/app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch')
-rw-r--r--app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch b/app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch
new file mode 100644
index 000000000000..a0ede6671e04
--- /dev/null
+++ b/app-misc/piper/files/piper-0.5.1-disable-flake8-linting.patch
@@ -0,0 +1,17 @@
+Remove linting test that is broken upstream.
+Bug: https://bugs.gentoo.org/807205
+
+--- piper-0.5.1/meson.build
++++ piper-0.5.1/meson.build
+@@ -119,11 +119,3 @@
+ configuration: config_piper_devel)
+
+ meson.add_install_script('meson_install.sh')
+-
+-flake8 = find_program('flake8', required: false)
+-if flake8.found()
+- test('flake8', flake8,
+- args: ['--ignore=E501,W504',
+- join_paths(meson.source_root(), 'piper'),
+- join_paths(meson.source_root(), 'piper.in')])
+-endif