summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2019-03-03 13:35:32 -0500
committerMike Gilbert <floppym@gentoo.org>2019-03-03 13:36:48 -0500
commitce3f254ee3dd5535331ea3d4e22e8ffc464b601c (patch)
treeaef6d4716932b5e93d521f2f21fc8594ae19139e /dev-util/meson
parentdev-util/pkgconf: install man1/pkg-config.1 symlink (diff)
downloadgentoo-ce3f254ee3dd5535331ea3d4e22e8ffc464b601c.tar.gz
gentoo-ce3f254ee3dd5535331ea3d4e22e8ffc464b601c.tar.bz2
gentoo-ce3f254ee3dd5535331ea3d4e22e8ffc464b601c.zip
dev-util/meson: skip testing with Python 3.5
The tests use subprocess.Popen(..., encoding='...'). The 'encoding' parameter was added in Python 3.6. Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-util/meson')
-rw-r--r--dev-util/meson/meson-0.49.2.ebuild5
-rw-r--r--dev-util/meson/meson-9999.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/meson/meson-0.49.2.ebuild b/dev-util/meson/meson-0.49.2.ebuild
index 89b176910cb..af2f0b75de8 100644
--- a/dev-util/meson/meson-0.49.2.ebuild
+++ b/dev-util/meson/meson-0.49.2.ebuild
@@ -51,6 +51,11 @@ src_test() {
}
python_test() {
+ if [[ ${EPYTHON} == python3.5 ]]; then
+ ewarn "Skipping tests with ${EPYTHON}"
+ return 0
+ fi
+
(
# test_meson_installed
unset PYTHONDONTWRITEBYTECODE
diff --git a/dev-util/meson/meson-9999.ebuild b/dev-util/meson/meson-9999.ebuild
index 89b176910cb..af2f0b75de8 100644
--- a/dev-util/meson/meson-9999.ebuild
+++ b/dev-util/meson/meson-9999.ebuild
@@ -51,6 +51,11 @@ src_test() {
}
python_test() {
+ if [[ ${EPYTHON} == python3.5 ]]; then
+ ewarn "Skipping tests with ${EPYTHON}"
+ return 0
+ fi
+
(
# test_meson_installed
unset PYTHONDONTWRITEBYTECODE