forked from pool/python-requests-file
- Update to 2.0.0:
* Correct a typo in requests_file.py * Remove dependency on six * Move metadata to pyproject.toml + Remove support for Python 2 + Remove support for raw distutils * Correct homepage link in pyproject.toml * Fix black formatting - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 05:37:11 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.0.0:
|
||||
* Correct a typo in requests_file.py
|
||||
* Remove dependency on six
|
||||
* Move metadata to pyproject.toml
|
||||
+ Remove support for Python 2
|
||||
+ Remove support for raw distutils
|
||||
* Correct homepage link in pyproject.toml
|
||||
* Fix black formatting
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 1 09:12:10 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-requests-file
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,18 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-requests-file
|
||||
Version: 1.5.1
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: File transport adapter for Requests
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/dashea/requests-file
|
||||
Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests
|
||||
@@ -42,10 +43,10 @@ library to allow local filesystem access via file:// URLs.
|
||||
%setup -q -n requests-file-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -56,6 +57,6 @@ library to allow local filesystem access via file:// URLs.
|
||||
%doc README.rst
|
||||
%{python_sitelib}/requests_file.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/requests_file.*.py*
|
||||
%{python_sitelib}/requests_file-%{version}*info
|
||||
%{python_sitelib}/requests_file-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e
|
||||
size 5668
|
3
requests-file-2.0.0.tar.gz
Normal file
3
requests-file-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20c5931629c558fda566cacc10cfe2cd502433e628f568c34c80d96a0cc95972
|
||||
size 6863
|
Reference in New Issue
Block a user