From 853ff7ef79df55c31c13782d864bbb3092e47992241451a12f1ba214f7de746a Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Mon, 8 Jun 2020 17:40:03 +0000 Subject: [PATCH] Accepting request 812656 from home:mcalabkova:branches:devel:languages:python - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/812656 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbkdf2?expand=0&rev=8 --- python-pbkdf2.changes | 5 +++++ python-pbkdf2.spec | 16 +++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/python-pbkdf2.changes b/python-pbkdf2.changes index 3fbf94c..6844928 100644 --- a/python-pbkdf2.changes +++ b/python-pbkdf2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 8 14:47:51 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Thu Mar 7 11:19:08 UTC 2019 - Tomáš Chvátal diff --git a/python-pbkdf2.spec b/python-pbkdf2.spec index 7747fc2..2dcb195 100644 --- a/python-pbkdf2.spec +++ b/python-pbkdf2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pbkdf2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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,21 +18,20 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pbkdf2 -Version: 1.3 +Version: 1.3 Release: 0 Summary: PKCS#5 v2.0 PBKDF2 Module License: MIT Group: Development/Libraries/Python -Url: http://www.dlitz.net/software/%{name}/ +URL: http://www.dlitz.net/software/%{name}/ Source: https://files.pythonhosted.org/packages/source/p/pbkdf2/pbkdf2-%{version}.tar.gz -BuildArch: noarch BuildRequires: %{python_module base} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pycrypto} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-pycrypto - +BuildArch: noarch %python_subpackages %description @@ -50,10 +49,9 @@ sed -i '1d' pbkdf2.py %python_install %check -%python_expand nosetests-%{$python_bin_suffix} +%pytest -%files %python_files -%defattr(-,root,root,-) +%files %{python_files} %{python_sitelib}/* %doc README.txt