14
0

Accepting request 824572 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/824572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-file?expand=0&rev=3
This commit is contained in:
2020-08-06 08:40:50 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 7 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Aug 3 10:42:35 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.5.1
* Fix python 2.7 compatibility
* Rename test file for pytest
* Add tests via github actions
* Format code with black
* Add set_content_length flag to disable on demand setting Content-Length
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:53:43 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:53:43 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-requests-file # spec file for package python-requests-file
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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
@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without tests %bcond_without tests
Name: python-requests-file Name: python-requests-file
Version: 1.4.3 Version: 1.5.1
Release: 0 Release: 0
Summary: File transport adapter for Requests Summary: File transport adapter for Requests
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://github.com/dashea/requests-file URL: https://github.com/dashea/requests-file
Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -50,7 +50,7 @@ library to allow local filesystem access via file:// URLs.
%if %{with tests} %if %{with tests}
%check %check
%python_exec setup.py test %python_exec -m unittest discover tests
%endif %endif
%files %{python_files} %files %{python_files}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f04aa6201bacda0567e7ac7f677f1499b0fc76b22140c54bc06edf1ba92e2fa
size 5252

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e
size 5668