forked from pool/python-requests-hawk
- Switch to pyproject macros.
- Correct one test unit assertion method. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-hawk?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 12 01:32:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- Correct one test unit assertion method.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 8 12:13:51 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>
|
Mon May 8 12:13:51 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests-hawk
|
# spec file for package python-requests-hawk
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,8 +24,10 @@ License: Apache-2.0
|
|||||||
URL: https://github.com/mozilla-services/requests-hawk
|
URL: https://github.com/mozilla-services/requests-hawk
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module mohawk}
|
BuildRequires: %{python_module mohawk}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-mohawk
|
Requires: python-mohawk
|
||||||
@@ -43,12 +45,13 @@ across mozilla services projects.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n requests-hawk-%{version}
|
%setup -q -n requests-hawk-%{version}
|
||||||
|
sed -ie 's/\(assertEqual\)s/\1/' requests_hawk/tests/test_hawkauth.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -58,6 +61,6 @@ across mozilla services projects.
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGES.txt README.rst
|
%doc CHANGES.txt README.rst
|
||||||
%{python_sitelib}/requests_hawk
|
%{python_sitelib}/requests_hawk
|
||||||
%{python_sitelib}/requests_hawk-%{version}*-info
|
%{python_sitelib}/requests_hawk-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user