From f9eb8eb08e0a558a9d017d4a47b3a4953603e9647ad6d82eb8e4fa6280093c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Wed, 29 Jul 2020 06:53:21 +0000 Subject: [PATCH] - update to 3.17.2 - use pytest as testrunner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=85 --- python-simplejson.changes | 6 ++++++ python-simplejson.spec | 7 ++++--- simplejson-3.17.0.tar.gz | 3 --- simplejson-3.17.2.tar.gz | 3 +++ 4 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 simplejson-3.17.0.tar.gz create mode 100644 simplejson-3.17.2.tar.gz diff --git a/python-simplejson.changes b/python-simplejson.changes index 947bb23..a9749e7 100644 --- a/python-simplejson.changes +++ b/python-simplejson.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 29 06:51:43 UTC 2020 - Ondřej Súkup + +- update to 3.17.2 +- use pytest as testrunner + ------------------------------------------------------------------- Sun Nov 24 17:22:36 UTC 2019 - Arun Persaud diff --git a/python-simplejson.spec b/python-simplejson.spec index 18ab484..99d4fa5 100644 --- a/python-simplejson.spec +++ b/python-simplejson.spec @@ -1,7 +1,7 @@ # # spec file for package python-simplejson # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-simplejson -Version: 3.17.0 +Version: 3.17.2 Release: 0 Summary: Extensible JSON encoder/decoder for Python License: MIT OR AFL-2.1 @@ -26,6 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/simplejson/simplejson Source: https://files.pythonhosted.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,7 +50,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%pytest_arch %files %{python_files} %license LICENSE.txt diff --git a/simplejson-3.17.0.tar.gz b/simplejson-3.17.0.tar.gz deleted file mode 100644 index c25645e..0000000 --- a/simplejson-3.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81 -size 83119 diff --git a/simplejson-3.17.2.tar.gz b/simplejson-3.17.2.tar.gz new file mode 100644 index 0000000..cc37728 --- /dev/null +++ b/simplejson-3.17.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75ecc79f26d99222a084fbdd1ce5aad3ac3a8bd535cd9059528452da38b68841 +size 83210