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> Sun Mar 26 20:02:41 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -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