Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
b6576fc7a9 | |||
3b85a8f387 | |||
a6edd20665 | |||
a53fc1a775 | |||
7eb7b97d1c | |||
d3c3ca6173 |
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 2 22:31:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- require setuptools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 07:47:13 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 13 08:39:56 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 26 20:02:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sun Mar 26 20:02:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -9,7 +24,7 @@ Sun Mar 26 20:02:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 8 17:10:10 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Tue Nov 8 17:10:10 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to 0.21.0:
|
- Update to 0.21.0:
|
||||||
* http: `Content-Encoding: deflate` must accept zlib encapsulation
|
* http: `Content-Encoding: deflate` must accept zlib encapsulation
|
||||||
* https://github.com/httplib2/httplib2/pull/230
|
* https://github.com/httplib2/httplib2/pull/230
|
||||||
* Begin support and CI against CPython 3.10 and 3.11.
|
* Begin support and CI against CPython 3.10 and 3.11.
|
||||||
@@ -24,7 +39,7 @@ Tue Feb 15 09:34:00 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 30 08:22:25 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Tue Nov 30 08:22:25 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- add pyparsing dependency
|
- add pyparsing dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 29 10:55:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Mon Nov 29 10:55:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
@@ -157,8 +172,8 @@ Fri Feb 23 16:31:07 UTC 2018 - snica@suse.com
|
|||||||
the case when validation is disabled correctly.
|
the case when validation is disabled correctly.
|
||||||
|
|
||||||
The 'check_hostname' context attribute has to be
|
The 'check_hostname' context attribute has to be
|
||||||
set first, othewise a "ValueError: Cannot set
|
set first, othewise a "ValueError: Cannot set
|
||||||
verify_mode to CERT_NONE when check_hostname
|
verify_mode to CERT_NONE when check_hostname
|
||||||
is enabled." exception is raised.
|
is enabled." exception is raised.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@@ -364,7 +379,7 @@ Mon Jul 9 08:47:20 UTC 2012 - cfarrell@suse.com
|
|||||||
Wed Jun 20 11:41:56 UTC 2012 - saschpe@suse.de
|
Wed Jun 20 11:41:56 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
- Don't ship private copy of Mozilla NSS certs, use system certs
|
- Don't ship private copy of Mozilla NSS certs, use system certs
|
||||||
instead (bnc#761162)
|
instead (bnc#761162)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 5 09:56:01 UTC 2012 - cstender@opensuse.org
|
Tue Jun 5 09:56:01 UTC 2012 - cstender@opensuse.org
|
||||||
@@ -400,7 +415,7 @@ Tue Aug 4 10:51:26 UTC 2009 - cstender@novell.com
|
|||||||
- updated to version 0.5.0
|
- updated to version 0.5.0
|
||||||
* Fixed the following bugs:
|
* Fixed the following bugs:
|
||||||
#12 - Cache-Control: only-if-cached incorrectly does request if
|
#12 - Cache-Control: only-if-cached incorrectly does request if
|
||||||
item not in cache
|
item not in cache
|
||||||
#39 - Deprecation warnings in Python 2.6
|
#39 - Deprecation warnings in Python 2.6
|
||||||
#54 - Http.request fails accesing Google account via http proxy
|
#54 - Http.request fails accesing Google account via http proxy
|
||||||
#56 - Block on response.read() for HEAD requests.
|
#56 - Block on response.read() for HEAD requests.
|
||||||
@@ -423,5 +438,5 @@ Tue Sep 9 12:41:28 CEST 2008 - cstender@suse.de
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 21 22:37:29 CEST 2006 - dgollub@suse.de
|
Sat Oct 21 22:37:29 CEST 2006 - dgollub@suse.de
|
||||||
|
|
||||||
- initial version of python-httplib2 (0.2.0)
|
- initial version of python-httplib2 (0.2.0)
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-httplib2
|
# spec file for package python-httplib2
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
# Tests require network connection
|
# Tests require network connection
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-httplib2
|
Name: python-httplib2
|
||||||
Version: 0.22.0
|
Version: 0.22.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,7 +26,9 @@ Summary: A Python HTTP client library
|
|||||||
License: Apache-2.0 AND MIT AND (GPL-2.0-or-later OR MPL-1.1 OR LGPL-2.1-or-later)
|
License: Apache-2.0 AND MIT AND (GPL-2.0-or-later OR MPL-1.1 OR LGPL-2.1-or-later)
|
||||||
URL: https://github.com/httplib2/httplib2
|
URL: https://github.com/httplib2/httplib2
|
||||||
Source: https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
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: ca-certificates
|
Requires: ca-certificates
|
||||||
@@ -45,27 +47,21 @@ A comprehensive HTTP client library that supports many features
|
|||||||
left out of other HTTP libraries.
|
left out of other HTTP libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n httplib2-%{version}
|
%autosetup -p1 -n httplib2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
%if %{have_python2}
|
# Tests require network connection
|
||||||
python2 python2/httplib2test.py
|
# python3 python3/httplib2test.py
|
||||||
%endif
|
|
||||||
%if %{have_python3}
|
|
||||||
python3 python3/httplib2test.py
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/httplib2-%{version}-py*.egg-info
|
%{python_sitelib}/httplib2-%{version}*-info
|
||||||
%{python_sitelib}/httplib2
|
%{python_sitelib}/httplib2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user