Update to 1.1.0
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
cddaacc808
commit
7634a31622
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/itsdangerous-0.22.tar.gz
|
||||
/itsdangerous-0.23.tar.gz
|
||||
/itsdangerous-0.24.tar.gz
|
||||
/itsdangerous-1.1.0.tar.gz
|
||||
|
||||
@ -1,42 +1,39 @@
|
||||
%global upstream_name itsdangerous
|
||||
%global srcname itsdangerous
|
||||
|
||||
|
||||
Name: python-%{upstream_name}
|
||||
Version: 0.24
|
||||
Release: 20%{?dist}
|
||||
Name: python-%{srcname}
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Python library for passing trusted data to untrusted environments
|
||||
License: BSD
|
||||
URL: http://pythonhosted.org/itsdangerous/
|
||||
Source0: http://pypi.python.org/packages/source/i/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
||||
URL: https://itsdangerous.palletsprojects.com
|
||||
Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Itsdangerous is a Python library for passing data through untrusted
|
||||
environments (for example, HTTP cookies) while ensuring the data is not
|
||||
%global _description %{expand:
|
||||
Itsdangerous is a Python library for passing data through untrusted
|
||||
environments (for example, HTTP cookies) while ensuring the data is not
|
||||
tampered with.
|
||||
|
||||
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
||||
implementation on the Django signing module. It also however supports JSON Web
|
||||
Signatures (JWS).
|
||||
implementation on the Django signing module. It also however supports JSON Web
|
||||
Signatures (JWS).}
|
||||
|
||||
%package -n python3-%{upstream_name}
|
||||
Summary: Python 3 library for passing trusted data to untrusted environments
|
||||
%{?python_provide:%python_provide python3-%{upstream_name}}
|
||||
%description %{_description}
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(freezegun)
|
||||
|
||||
%description -n python3-%{upstream_name}
|
||||
Itsdangerous is a Python 3 library for passing data through untrusted
|
||||
environments (for example, HTTP cookies) while ensuring the data is not
|
||||
tampered with.
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
Internally itsdangerous uses HMAC and SHA1 for signing by default and bases the
|
||||
implementation on the Django signing module. It also however supports JSON Web
|
||||
Signatures (JWS).
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upstream_name}-%{version}
|
||||
rm -r *.egg-info
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
rm -vr src/*.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -45,16 +42,18 @@ rm -r *.egg-info
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests.py
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} %python3 -m pytest -v
|
||||
|
||||
%files -n python3-%{upstream_name}
|
||||
%license LICENSE
|
||||
%doc CHANGES README
|
||||
%{python3_sitelib}/%{upstream_name}.py
|
||||
%{python3_sitelib}/%{upstream_name}*.egg-info
|
||||
%{python3_sitelib}/__pycache__/%{upstream_name}*
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE.rst
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
|
||||
%changelog
|
||||
* Thu Apr 16 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.1.0-1
|
||||
- Update to 1.1.0
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user