forked from pool/python-xkcdpass
Enable tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xkcdpass?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
8c898649d4
commit
d659cbdbdd
@@ -27,9 +27,10 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/redacted/XKCD-password-generator
|
||||
Source: https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -41,10 +42,13 @@ inspired by XKCD 936 (https://xkcd.com/936/)
|
||||
%setup -q -n XKCD-password-generator-xkcdpass-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%{python_build}
|
||||
|
||||
%check
|
||||
%{pytest}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%{python_install}
|
||||
|
||||
# Remove the shebang
|
||||
sed -i -e '1d' %{buildroot}%{python_sitelib}/xkcdpass/xkcd_password.py
|
||||
|
||||
Reference in New Issue
Block a user