11
0

6 Commits

Author SHA256 Message Date
b6576fc7a9 Accepting request 1136309 from devel:languages:python
- require setuptools

- Update to 0.21.0:
- add pyparsing dependency
  set first, othewise a "ValueError: Cannot set
  verify_mode to CERT_NONE when check_hostname
  instead (bnc#761162)
          item not in cache
- initial version of python-httplib2 (0.2.0)

OBS-URL: https://build.opensuse.org/request/show/1136309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httplib2?expand=0&rev=57
2024-01-05 21:59:20 +00:00
3b85a8f387 - require setuptools
- Update to 0.21.0:
- add pyparsing dependency
  set first, othewise a "ValueError: Cannot set
  verify_mode to CERT_NONE when check_hostname
  instead (bnc#761162)
          item not in cache
- initial version of python-httplib2 (0.2.0)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httplib2?expand=0&rev=104
2024-01-02 22:32:02 +00:00
a6edd20665 Accepting request 1096901 from devel:languages:python
- Clean up SPEC file.

OBS-URL: https://build.opensuse.org/request/show/1096901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httplib2?expand=0&rev=56
2023-07-06 16:28:00 +00:00
a53fc1a775 - Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httplib2?expand=0&rev=102
2023-07-05 07:47:20 +00:00
7eb7b97d1c Accepting request 1093050 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1093050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-httplib2?expand=0&rev=55
2023-06-16 14:51:54 +00:00
d3c3ca6173 Accepting request 1092792 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httplib2?expand=0&rev=100
2023-06-14 06:38:31 +00:00
2 changed files with 32 additions and 21 deletions

View File

@@ -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>
@@ -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>
- Update to 0.21.0:
- Update to 0.21.0:
* http: `Content-Encoding: deflate` must accept zlib encapsulation
* https://github.com/httplib2/httplib2/pull/230
* 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>
- add pyparsing dependency
- add pyparsing dependency
-------------------------------------------------------------------
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 'check_hostname' context attribute has to be
set first, othewise a "ValueError: Cannot set
verify_mode to CERT_NONE when check_hostname
set first, othewise a "ValueError: Cannot set
verify_mode to CERT_NONE when check_hostname
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
- 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
@@ -400,7 +415,7 @@ Tue Aug 4 10:51:26 UTC 2009 - cstender@novell.com
- updated to version 0.5.0
* Fixed the following bugs:
#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
#54 - Http.request fails accesing Google account via http proxy
#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
- initial version of python-httplib2 (0.2.0)
- initial version of python-httplib2 (0.2.0)

View File

@@ -1,7 +1,7 @@
#
# 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
# 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
%bcond_with tests
%{?sle15_python_module_pythons}
Name: python-httplib2
Version: 0.22.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)
URL: https://github.com/httplib2/httplib2
Source: https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: ca-certificates
@@ -45,27 +47,21 @@ A comprehensive HTTP client library that supports many features
left out of other HTTP libraries.
%prep
%setup -q -n httplib2-%{version}
%autosetup -p1 -n httplib2-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
%if %{have_python2}
python2 python2/httplib2test.py
%endif
%if %{have_python3}
python3 python3/httplib2test.py
%endif
%endif
# Tests require network connection
# python3 python3/httplib2test.py
%files %{python_files}
%{python_sitelib}/httplib2-%{version}-py*.egg-info
%{python_sitelib}/httplib2-%{version}*-info
%{python_sitelib}/httplib2
%changelog