]> git.pld-linux.org Git - packages/python3-botocore.git/blame - python3-botocore.spec
up to 1.25.9
[packages/python3-botocore.git] / python3-botocore.spec
CommitLineData
0ada6fbb
JB
1#
2# Conditional build:
3%bcond_without doc # Sphinx documentation
4%bcond_with tests # unit tests (die with MemoryError)
0ada6fbb
JB
5
6Summary: Low-level, data-driven core of boto 3
7Summary(pl.UTF-8): Niskopoziomowy, oparty na danych rdzeń boto 3
4ec6e1ad 8Name: python3-botocore
eec8f95d 9Version: 1.25.9
e3d44022 10Release: 1
0ada6fbb
JB
11License: Apache v2.0
12Group: Libraries/Python
13#Source0Download: https://pypi.org/simple/botocore/
14Source0: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
eec8f95d 15# Source0-md5: 3a98b2c23dc4e149a208b280a42eedbd
0ada6fbb 16URL: https://pypi.org/project/botocore/
4ec6e1ad
JP
17BuildRequires: python3-dateutil >= 2.1
18BuildRequires: python3-jmespath >= 0.7.1
0ada6fbb
JB
19BuildRequires: python3-modules >= 1:3.6
20BuildRequires: python3-setuptools
21%if %{with tests}
22BuildRequires: python3-behave >= 1.2.5
23BuildRequires: python3-dateutil >= 2.1
24BuildRequires: python3-jmespath >= 0.7.1
25BuildRequires: python3-jsonschema >= 2.5.1
26BuildRequires: python3-nose >= 1.3.7
27BuildRequires: python3-urllib3 >= 1.25.4
28%endif
0ada6fbb
JB
29BuildRequires: rpm-pythonprov
30BuildRequires: rpmbuild(macros) >= 1.714
31%if %{with doc}
32BuildRequires: python3-guzzle_sphinx_theme
c49681b3 33BuildRequires: python3-jmespath >= 0.7.1
0ada6fbb
JB
34BuildRequires: sphinx-pdg-3
35%endif
4ec6e1ad 36Requires: python3-modules >= 1:3.6
0ada6fbb
JB
37BuildArch: noarch
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40%description
41A low-level interface to a growing number of Amazon Web Services. The
42botocore package is the foundation for the AWS CLI
43(<https://github.com/aws/aws-cli>) as well as boto3
44(<https://github.com/boto/boto3>).
45
46%description -l pl.UTF-8
47Niskopoziomowy interfejs do rosnącej liczby usług Amazon Web Services.
48Pakiet botocore jest podstawą dla AWS CLI
49(<https://github.com/aws/aws-cli>), jak i boto3
50(<https://github.com/boto/boto3>).
51
0ada6fbb
JB
52%package apidocs
53Summary: API documentation for Python botocore module
54Summary(pl.UTF-8): Dokumentacja API modułu Pythona botocore
55Group: Documentation
56
57%description apidocs
58API documentation for Python botocore module.
59
60%description apidocs -l pl.UTF-8
61Dokumentacja API modułu Pythona botocore.
62
63%prep
64%setup -q -n botocore-%{version}
65
66%build
0ada6fbb
JB
67%py3_build
68
69%if %{with tests}
70PYTHONPATH=$(pwd) \
71nosetests-%{py3_ver} tests
72%endif
0ada6fbb
JB
73
74%if %{with doc}
75PYTHONPATH=$(pwd) \
76%{__make} -C docs html \
77 SPHINXBUILD=sphinx-build-3
78%endif
79
80%install
81rm -rf $RPM_BUILD_ROOT
82
0ada6fbb 83%py3_install
0ada6fbb
JB
84
85%clean
86rm -rf $RPM_BUILD_ROOT
87
0ada6fbb
JB
88%files
89%defattr(644,root,root,755)
90%doc README.rst
0ada6fbb
JB
91%{py3_sitescriptdir}/botocore
92%{py3_sitescriptdir}/botocore-%{version}-py*.egg-info
0ada6fbb
JB
93
94%if %{with doc}
95%files apidocs
96%defattr(644,root,root,755)
97%doc docs/build/html/{_static,development,reference,topics,tutorial,*.html,*.js}
98%endif
This page took 0.120566 seconds and 4 git commands to generate.