From ffb62cb1bfe17f40e1f3b0db0acc37e719cd2c0c9338a8b650e7b1dfc344275a Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 1 Feb 2024 00:51:19 +0000 Subject: [PATCH] - Switch to pytest, like upstream has. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=24 --- python-parse.changes | 5 +++++ python-parse.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-parse.changes b/python-parse.changes index aa999a6..e7ceb4e 100644 --- a/python-parse.changes +++ b/python-parse.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 1 00:50:36 UTC 2024 - Steve Kowalik + +- Switch to pytest, like upstream has. + ------------------------------------------------------------------- Tue Jan 30 18:07:15 UTC 2024 - Dirk Müller diff --git a/python-parse.spec b/python-parse.spec index 7d14c69..578169e 100644 --- a/python-parse.spec +++ b/python-parse.spec @@ -16,16 +16,15 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parse Version: 1.20.1 Release: 0 Summary: Python module for parsing strings using a "format" syntax License: MIT -Group: Development/Languages/Python URL: https://github.com/r1chardj0n3s/parse Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -48,7 +47,7 @@ chmod a-x README.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m unittest discover -v +%pytest %files %{python_files} %license LICENSE