14
0
forked from pool/python-mohawk

- Add patch remove-nose.patch:

* Use unittest assert methods rather than requiring nose.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mohawk?expand=0&rev=12
This commit is contained in:
2021-09-23 06:12:43 +00:00
committed by Git OBS Bridge
parent 9096d2dd90
commit 007a17dc6a
3 changed files with 859 additions and 2 deletions

View File

@@ -23,9 +23,9 @@ Version: 1.1.0
Release: 0
Summary: Library for Hawk HTTP authorization
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/kumar303/mohawk
Source: https://files.pythonhosted.org/packages/source/m/mohawk/mohawk-%{version}.tar.gz
Patch0: remove-nose.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -33,7 +33,6 @@ Requires: python-six
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module six}
%endif
%python_subpackages
@@ -44,6 +43,7 @@ authorization scheme.
%prep
%setup -q -n mohawk-%{version}
%autopatch -p1
%build
%python_build