gentoo-overlay/net-misc/netplan/files/0001-build-add-Gentoo-compa...

36 lines
1.7 KiB
Diff
Raw Permalink Normal View History

2024-10-23 17:05:52 +03:00
From 88745f4ffb91b6f8f1b7a76d019faae83b8ea0a1 Mon Sep 17 00:00:00 2001
2023-05-25 09:56:07 +03:00
From: Alexander Miroshnichenko <alex@millerson.name>
2024-10-23 17:05:52 +03:00
Date: Wed, 23 Oct 2024 17:01:19 +0300
2023-05-25 09:56:07 +03:00
Subject: [PATCH] build: add Gentoo compat
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
---
2024-10-23 17:05:52 +03:00
meson.build | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2023-05-25 09:56:07 +03:00
diff --git a/meson.build b/meson.build
2024-10-23 17:05:52 +03:00
index 68c740f968a4..8abfdc2fccd5 100644
2023-05-25 09:56:07 +03:00
--- a/meson.build
+++ b/meson.build
2024-10-23 17:05:52 +03:00
@@ -22,11 +22,11 @@ completions = dependency('bash-completion')
2023-05-25 09:56:07 +03:00
systemd_generator_dir = systemd.get_variable(pkgconfig: 'systemdsystemgeneratordir')
bash_completions_dir = completions.get_variable(pkgconfig: 'completionsdir', default_value: '/etc/bash_completion.d')
-# Order: Fedora/Mageia/openSUSE || Debian/Ubuntu
2024-10-23 17:05:52 +03:00
-pyflakes = find_program('pyflakes-3', 'pyflakes3', required: get_option('testing'))
2023-05-25 09:56:07 +03:00
+# Order: Fedora/Mageia/openSUSE || Debian/Ubuntu || Gentoo
2024-10-23 17:05:52 +03:00
+pyflakes = find_program('pyflakes-3', 'pyflakes3', 'pyflakes', required: get_option('testing'))
pycodestyle = find_program('pycodestyle-3', 'pycodestyle', 'pep8', required: get_option('testing'))
-pytest = find_program('pytest-3', 'pytest3', required: get_option('testing')) # also requires the pytest-cov plugin
-pycoverage = find_program('coverage-3', 'python3-coverage', required: get_option('testing'))
+pytest = find_program('pytest-3', 'pytest3', 'pytest', required: get_option('testing')) # also requires the pytest-cov plugin
+pycoverage = find_program('coverage-3', 'python3-coverage', 'coverage', required: get_option('testing'))
2023-05-25 09:56:07 +03:00
pandoc = find_program('pandoc', required: false)
find = find_program('find')
--
2024-10-23 17:05:52 +03:00
2.41.0
2023-05-25 09:56:07 +03:00