Update to 1.1.0

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-04-16 08:14:57 +02:00
parent cddaacc808
commit 7634a31622
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
3 changed files with 33 additions and 33 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
a3d55aa79369aef5345c036a8a26307f itsdangerous-0.24.tar.gz
SHA512 (itsdangerous-1.1.0.tar.gz) = 61bab3fce5f87a3b5fc8fad61e735a63df6aa039416ee3494e1c99a2a1162b4fb72793bc5dc949de0985724c40121810b159513606c4c3976a7666dba3a1b93d