1
0

Accepting request 709070 from home:mcalabkova:branches:devel:languages:python

- update to version 1.1.0 
  * Drop support for Python 2.6 and 3.3. 
  * Optimize how timestamps are serialized and deserialized.
  * base64_decode raises BadData when it is passed invalid data.
  * More compact JSON dumps for unicode strings.
  * Use the full timestamp rather than an offset, allowing dates 
    before 2011. To retain compatibility with signers from previous 
    versions, consider using shim from issue #120.

OBS-URL: https://build.opensuse.org/request/show/709070
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-itsdangerous?expand=0&rev=15
This commit is contained in:
Tomáš Chvátal 2019-06-11 09:00:39 +00:00 committed by Git OBS Bridge
parent 3abdb17768
commit dd8f7891ef
4 changed files with 24 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519
size 46541

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19
size 53219

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jun 11 07:52:22 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 1.1.0
* Drop support for Python 2.6 and 3.3.
* Optimize how timestamps are serialized and deserialized.
* base64_decode raises BadData when it is passed invalid data.
* More compact JSON dumps for unicode strings.
* Use the full timestamp rather than an offset, allowing dates
before 2011. To retain compatibility with signers from previous
versions, consider using shim from issue #120.
-------------------------------------------------------------------
Tue Dec 4 12:49:25 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-itsdangerous
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-itsdangerous
Version: 0.24
Version: 1.1.0
Release: 0
Summary: Various helpers to pass trusted data to untrusted environments and back
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://github.com/mitsuhiko/itsdangerous
Source: https://files.pythonhosted.org/packages/source/i/itsdangerous/itsdangerous-%{version}.tar.gz
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -54,9 +56,12 @@ Also I plan to add some extra things. Work in progress.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests
%files %{python_files}
%license LICENSE
%doc CHANGES README
%license LICENSE.rst
%doc CHANGES.rst README.rst
%{python_sitelib}/*
%changelog