From 3d1e07c64d13ff4385dce8f18d5d7ea9172b6b7bb3d30333b584085cc16b80e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 09:38:37 +0000 Subject: [PATCH] - Update to 1.27: * fixed serialization of unicode elements in dicts and sets (this was a regression on Python 2.x) * support for enum34 backport library for enums in older python versions. * Some small tweaks and attempt to fix an inconsistently running unit test * LICENSE file included in release. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-serpent?expand=0&rev=7 --- LICENSE | 21 --------------------- python-serpent.changes | 9 +++++++++ python-serpent.spec | 13 +++++++------ serpent-1.24.tar.gz | 3 --- serpent-1.27.tar.gz | 3 +++ 5 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 LICENSE delete mode 100644 serpent-1.24.tar.gz create mode 100644 serpent-1.27.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index e824615..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) by Irmen de Jong - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/python-serpent.changes b/python-serpent.changes index f0c6d0c..b838a6b 100644 --- a/python-serpent.changes +++ b/python-serpent.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Mar 6 09:33:03 UTC 2019 - Tomáš Chvátal + +- Update to 1.27: + * fixed serialization of unicode elements in dicts and sets (this was a regression on Python 2.x) + * support for enum34 backport library for enums in older python versions. + * Some small tweaks and attempt to fix an inconsistently running unit test + * LICENSE file included in release. + ------------------------------------------------------------------- Tue Dec 4 12:54:10 UTC 2018 - Matej Cepl diff --git a/python-serpent.spec b/python-serpent.spec index b363c0d..59617ed 100644 --- a/python-serpent.spec +++ b/python-serpent.spec @@ -1,7 +1,7 @@ # # spec file for package python-serpent # -# 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,19 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-serpent -Version: 1.24 +Version: 1.27 Release: 0 Summary: Serialization based on astliteral_eval License: MIT Group: Development/Languages/Python -Url: https://github.com/irmen/Serpent +URL: https://github.com/irmen/Serpent Source: https://files.pythonhosted.org/packages/source/s/serpent/serpent-%{version}.tar.gz -Source10: https://raw.githubusercontent.com/irmen/Serpent/%{version}/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-enum34 BuildRequires: python-rpm-macros BuildArch: noarch - +%ifpython2 +Requires: python-enum34 +%endif %python_subpackages %description @@ -42,7 +44,6 @@ and de-serialize it there. %prep %setup -q -n serpent-%{version} -cp %{SOURCE10} . %build %python_build diff --git a/serpent-1.24.tar.gz b/serpent-1.24.tar.gz deleted file mode 100644 index f7a2c94..0000000 --- a/serpent-1.24.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6855483d95a03b6aee358363684cd38a3a670240da5bc6da4253079cb07b8df -size 10821 diff --git a/serpent-1.27.tar.gz b/serpent-1.27.tar.gz new file mode 100644 index 0000000..f38d384 --- /dev/null +++ b/serpent-1.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f8dc4317fb5b5a9629b5e518846bc9fee374b8171533726dc68df52b36ee912 +size 12758