ad5f67d
%global modname boxsdk
ad5f67d
ad5f67d
Name:               python-boxsdk
5b0745d
Version:            2.14.0
3ee2aba
Release:            1%{?dist}
ad5f67d
Summary:            Python wrapper for the Box API
ad5f67d
ad5f67d
ad5f67d
License:            ASL 2.0
ad5f67d
URL:                https://github.com/box/box-python-sdk
ad5f67d
Source0:            %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz
ad5f67d
BuildArch:          noarch
ad5f67d
ad5f67d
%description
ad5f67d
%{summary}.
ad5f67d
ad5f67d
%package -n python%{python3_pkgversion}-%{modname}
ad5f67d
Summary:            %{summary}
ad5f67d
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
ad5f67d
BuildRequires:      python%{python3_pkgversion}-devel
ad5f67d
BuildRequires:      python%{python3_pkgversion}-setuptools
ad5f67d
BuildRequires:      python%{python3_pkgversion}-requests
ad5f67d
BuildRequires:      python%{python3_pkgversion}-six
ad5f67d
BuildRequires:      python%{python3_pkgversion}-wrapt
ad5f67d
BuildRequires:      python%{python3_pkgversion}-requests-toolbelt
ad5f67d
BuildRequires:      python%{python3_pkgversion}-attrs
ad5f67d
# Tests don't pass at the moment.
ad5f67d
# https://github.com/box/box-python-sdk/issues/494
ad5f67d
#BuildRequires:      python%%{python3_pkgversion}-pytest
ad5f67d
#BuildRequires:      python%%{python3_pkgversion}-bottle
ad5f67d
#BuildRequires:      python%%{python3_pkgversion}-redis
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-mock
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-sqlalchemy
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-jsonpatch
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-cryptography
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-pytz
7c9e9f5
#BuildRequires:      python%%{python3_pkgversion}-jwt
ad5f67d
ad5f67d
%description -n python%{python3_pkgversion}-%{modname}
ad5f67d
%{summary}.
ad5f67d
ad5f67d
Python %{python3_version} version.
ad5f67d
ad5f67d
%prep
ad5f67d
%autosetup -n box-python-sdk-%{version}
ad5f67d
ad5f67d
%build
ad5f67d
%py3_build
ad5f67d
ad5f67d
%install
ad5f67d
%py3_install
ad5f67d
ad5f67d
#%%check
ad5f67d
#pytest-3
ad5f67d
ad5f67d
%files -n python%{python3_pkgversion}-%{modname}
7c9e9f5
%doc *.rst
ad5f67d
%license LICENSE
ad5f67d
%{python3_sitelib}/boxsdk/
ad5f67d
%{python3_sitelib}/%{modname}-*.egg-info/
ad5f67d
ad5f67d
%changelog
5b0745d
* Wed Dec 08 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.14.0-1
5b0745d
- 2.14.0
5b0745d
3ee2aba
* Thu Sep 30 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.13.0-1
3ee2aba
- 2.13.0
3ee2aba
37272ec
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.1-2
37272ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
37272ec
d0847fa
* Wed Jun 16 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.12.1-1
d0847fa
- 2.12.1
d0847fa
2c34a01
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.12.0-2
2c34a01
- Rebuilt for Python 3.10
2c34a01
e061bba
* Fri Apr 16 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.12.0-1
e061bba
- 2.12.0
e061bba
b69a6b6
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.0-2
b69a6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b69a6b6
72b6375
* Mon Jan 11 2021 Gwyn Ciesla <gwync@protonmail.com> - 2.11.0-1
72b6375
- 2.11.0
72b6375
5cb7b16
* Fri Oct 02 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.10.0-1
5cb7b16
- 2.10.0
5cb7b16
bf3b544
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-2
bf3b544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
bf3b544
7c9e9f5
* Tue Jun 23 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.9.0-1
7c9e9f5
- 2.9.0
7c9e9f5
98f67d3
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.8.0-2
98f67d3
- Rebuilt for Python 3.9
98f67d3
bcde0e3
* Fri Apr 24 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.8.0-1
bcde0e3
- 2.8.0
bcde0e3
ad5f67d
* Thu Mar 26 2020 Gwyn Ciesla <gwync@protonmail.com> - 2.7.1-1
ad5f67d
- Initial build