2020-10-29 10:44:56 +08:00
|
|
|
%global debug_package %{nil}
|
|
|
|
|
Name: python-itsdangerous
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 3
|
|
|
|
|
Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound.
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://pythonhosted.org/itsdangerous/
|
|
|
|
|
Source0: https://pypi.python.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
2019-11-19 11:54:05 +08:00
|
|
|
|
2020-10-29 10:44:56 +08:00
|
|
|
BuildRequires: python3-devel python3-pytest python3-freezegun
|
2019-11-19 11:54:05 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Various helpers to pass data to untrusted environments and to get it back safe and sound.
|
|
|
|
|
Data is cryptographically signed to ensure that a token has not been tampered with.
|
|
|
|
|
|
|
|
|
|
%package -n python3-itsdangerous
|
|
|
|
|
Summary: Various helpers to pass data to untrusted environments and to get it back safe and sound for python3.
|
|
|
|
|
%{?python_provide:%python_provide python3-itsdangerous}
|
|
|
|
|
|
|
|
|
|
%description -n python3-itsdangerous
|
|
|
|
|
Various helpers to pass data to untrusted environments and to get it back safe and sound for python3.
|
|
|
|
|
Data is cryptographically signed to ensure that a token has not been tampered with.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n itsdangerous-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
|
|
|
|
|
|
|
|
|
|
%files -n python3-itsdangerous
|
|
|
|
|
%license LICENSE.rst
|
|
|
|
|
%doc CHANGES.rst README.rst
|
|
|
|
|
%{python3_sitelib}/itsdangerous/
|
|
|
|
|
%{python3_sitelib}/itsdangerous*.egg-info/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-10-29 10:44:56 +08:00
|
|
|
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 1.1.0-3
|
|
|
|
|
- remove python2 subpackage
|
|
|
|
|
|
2020-09-29 11:10:39 +08:00
|
|
|
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 1.1.0-2
|
|
|
|
|
- Fix Source0
|
|
|
|
|
|
2019-11-19 11:54:05 +08:00
|
|
|
* Tue Nov 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-1
|
|
|
|
|
- Package init
|