14
0
forked from pool/python-zxcvbn

- Really run all the tests using pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zxcvbn?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2020-02-20 11:31:51 +00:00
committed by Git OBS Bridge
parent 933be2d538
commit 457be2baf1
2 changed files with 14 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 20 11:29:04 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Really run all the tests using pytest
-------------------------------------------------------------------
Thu Feb 20 10:54:22 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python3-aedir
# spec file for package python-zxcvbn
#
# Copyright (c) 2016 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
@@ -12,19 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global modname zxcvbn
%global modname zxcvbn
Name: python-%{modname}
Version: 4.4.28
Release: 0
Summary: Python password strength estimator
License: MIT
Group: Development/Languages/Python
Url: https://github.com/dwolfhub/zxcvbn-python
URL: https://github.com/dwolfhub/zxcvbn-python
Source: https://github.com/dwolfhub/zxcvbn-python/archive/v%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -52,13 +52,12 @@ Python password strength estimator.
%python_uninstall_alternative zxcvbn
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc README.rst
%python_alternative %{_bindir}/zxcvbn
%license LICENSE.txt
%{python_sitelib}/*
%python_alternative %{_bindir}/zxcvbn
%changelog