Accepting request 1009776 from home:mcepl:branches:devel:languages:python:aws
- Add remove-six.patch, which eliminates need for the six dependency. OBS-URL: https://build.opensuse.org/request/show/1009776 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=150
This commit is contained in:
parent
6dc765c31d
commit
aa764b9a2d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 11:46:31 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add remove-six.patch, which eliminates need for the six dependency.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 09:36:03 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -34,6 +34,9 @@ Summary: Python interface for AWS
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/boto/botocore
|
||||
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM remove-six.patch mcepl@suse.com
|
||||
# Removes dependency on six.
|
||||
Patch0: remove-six.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -42,7 +45,6 @@ Requires: python-jmespath >= 0.7.1
|
||||
Requires: python-python-dateutil < 3.0.0
|
||||
Requires: python-python-dateutil >= 2.1
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
Requires: python-urllib3 < 1.27
|
||||
Requires: python-urllib3 >= 1.25.4
|
||||
BuildArch: noarch
|
||||
@ -58,7 +60,7 @@ BuildRequires: procps
|
||||
A low-level interface to a growing number of Amazon Web Services.
|
||||
|
||||
%prep
|
||||
%setup -q -n botocore-%{version}
|
||||
%autosetup -p1 -n botocore-%{version}
|
||||
|
||||
# remove bundled cacert.pem
|
||||
rm botocore/cacert.pem
|
||||
@ -82,7 +84,7 @@ sed -i 's/botocore\.vendored\.//' botocore/*.py tests/functional/*.py tests/inte
|
||||
%check
|
||||
# TODO: Figure out whether integration tests are possible offline
|
||||
# no_bare_six_imports: we "fixed" that above.
|
||||
%pytest --ignore tests/integration -k "not no_bare_six_imports"
|
||||
%pytest --ignore tests/integration
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
1918
remove-six.patch
Normal file
1918
remove-six.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user