2014-03-02 18:22:01 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-botocore
|
|
|
|
#
|
2017-01-09 10:57:47 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-03-02 18:22:01 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-05-16 14:43:14 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2014-03-02 18:22:01 +01:00
|
|
|
Name: python-botocore
|
2017-12-12 21:22:36 +01:00
|
|
|
Version: 1.8.11
|
2014-03-02 18:22:01 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Python interface for AWS
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
Url: https://github.com/boto/botocore
|
2017-12-12 21:22:36 +01:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
|
2014-03-02 18:22:01 +01:00
|
|
|
Patch0: hide_py_pckgmgmt.patch
|
2017-05-16 14:43:14 +02:00
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module docutils >= 0.10}
|
|
|
|
BuildRequires: %{python_module jmespath < 1.0.0}
|
|
|
|
BuildRequires: %{python_module jmespath >= 0.7.1}
|
|
|
|
BuildRequires: %{python_module python-dateutil <= 3.0.0}
|
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.1}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2016-04-12 19:36:35 +02:00
|
|
|
BuildRequires: fdupes
|
2017-05-16 14:43:14 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2016-04-12 19:36:35 +02:00
|
|
|
# Testing requirements
|
2017-05-16 14:43:14 +02:00
|
|
|
%if %{with tests}
|
|
|
|
BuildRequires: %{python_module nose}
|
2016-04-12 19:36:35 +02:00
|
|
|
BuildRequires: python-mock
|
|
|
|
BuildRequires: python-unittest2
|
2017-05-16 14:43:14 +02:00
|
|
|
%endif
|
2015-11-26 17:01:31 +01:00
|
|
|
Requires: python-docutils >= 0.10
|
2015-12-18 21:54:01 +01:00
|
|
|
Requires: python-jmespath < 1.0.0
|
2015-05-29 10:40:10 +02:00
|
|
|
Requires: python-jmespath >= 0.7.1
|
2016-04-12 19:36:35 +02:00
|
|
|
Requires: python-python-dateutil <= 3.0.0
|
|
|
|
Requires: python-python-dateutil >= 2.1
|
2014-03-02 18:22:01 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2017-05-16 14:43:14 +02:00
|
|
|
%python_subpackages
|
2014-03-02 18:22:01 +01:00
|
|
|
|
|
|
|
%description
|
2017-08-28 15:16:44 +02:00
|
|
|
A low-level interface to a growing number of Amazon Web Services.
|
2014-03-02 18:22:01 +01:00
|
|
|
|
|
|
|
%prep
|
2016-04-12 19:36:35 +02:00
|
|
|
%setup -q -n botocore-%{version}
|
2017-11-10 14:58:27 +01:00
|
|
|
%patch0 -p0
|
2014-03-02 18:22:01 +01:00
|
|
|
|
|
|
|
%build
|
2017-05-16 14:43:14 +02:00
|
|
|
%python_build
|
2014-03-02 18:22:01 +01:00
|
|
|
|
|
|
|
%install
|
2017-05-16 14:43:14 +02:00
|
|
|
%python_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2014-03-02 18:22:01 +01:00
|
|
|
|
2017-05-16 14:43:14 +02:00
|
|
|
%if %{with tests}
|
2016-04-12 19:36:35 +02:00
|
|
|
%check
|
2017-05-16 14:43:14 +02:00
|
|
|
%python_expand nosetests-%{$python_bin_suffix} tests/unit
|
|
|
|
%endif
|
2016-04-12 19:36:35 +02:00
|
|
|
|
2017-05-16 14:43:14 +02:00
|
|
|
%files %{python_files}
|
2014-03-02 18:22:01 +01:00
|
|
|
%defattr(-,root,root,-)
|
2015-03-30 19:32:38 +02:00
|
|
|
%doc LICENSE.txt README.rst
|
2016-04-12 19:36:35 +02:00
|
|
|
%{python_sitelib}/botocore/
|
|
|
|
%{python_sitelib}/botocore-%{version}-py%{py_ver}.egg-info
|
2014-03-02 18:22:01 +01:00
|
|
|
|
|
|
|
%changelog
|