From 11a2bd0f5f40eeab4619c8bf98d7f81e6a876fc076a0a7eb846bef2dd30e5e1c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 19 Apr 2021 05:21:23 +0000 Subject: [PATCH] - Do not build :test on Python 3.6, due to no NumPy. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=9 --- python-pytest-arraydiff.changes | 5 +++++ python-pytest-arraydiff.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-pytest-arraydiff.changes b/python-pytest-arraydiff.changes index 528efed..7a71922 100644 --- a/python-pytest-arraydiff.changes +++ b/python-pytest-arraydiff.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 19 05:19:34 UTC 2021 - Steve Kowalik + +- Do not build :test on Python 3.6, due to no NumPy. + ------------------------------------------------------------------- Wed Feb 13 13:19:01 UTC 2019 - Tomáš Chvátal diff --git a/python-pytest-arraydiff.spec b/python-pytest-arraydiff.spec index 101495b..f587f4f 100644 --- a/python-pytest-arraydiff.spec +++ b/python-pytest-arraydiff.spec @@ -1,7 +1,7 @@ # -# spec file for package python-pytest-arraydiff +# spec file for package python-pytest-arraydiff-test # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,6 +21,7 @@ %if "%{flavor}" == "test" %define psuffix -test %bcond_without test +%define skip_python36 1 %else %define psuffix %{nil} %bcond_with test @@ -30,7 +31,6 @@ Version: 0.3 Release: 0 Summary: Pytest plugin to help with comparing array output from tests License: BSD-2-Clause -Group: Development/Languages/Python URL: https://github.com/astrofrog/pytest-arraydiff Source: https://files.pythonhosted.org/packages/source/p/pytest-arraydiff/pytest-arraydiff-%{version}.tar.gz BuildRequires: %{python_module setuptools}