From 5d5f38bfd11f807ecc34119ae9a362d6fbbf866836ad9e62d6393b003101eea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 11 Mar 2020 11:46:12 +0000 Subject: [PATCH 1/2] Accepting request 783784 from home:pgajdos:python - version update to 0.5.11 * Fix containers and our of order tables dictionary behavior (#82)) * Fixed out of order tables not behaving properly (#79) * Fixed the behavior for out of order tables (#68). * Fixed parsing errors when single quotes are present in a table name (#71). * Fixed parsing errors when parsing some table names (#76). OBS-URL: https://build.opensuse.org/request/show/783784 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=9 --- python-tomlkit.changes | 10 ++++++++++ python-tomlkit.spec | 4 ++-- tomlkit-0.5.11.tar.gz | 3 +++ tomlkit-0.5.8.tar.gz | 3 --- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 tomlkit-0.5.11.tar.gz delete mode 100644 tomlkit-0.5.8.tar.gz diff --git a/python-tomlkit.changes b/python-tomlkit.changes index e090f6c..0093c6c 100644 --- a/python-tomlkit.changes +++ b/python-tomlkit.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Mar 11 11:15:54 UTC 2020 - pgajdos@suse.com + +- version update to 0.5.11 + * Fix containers and our of order tables dictionary behavior (#82)) + * Fixed out of order tables not behaving properly (#79) + * Fixed the behavior for out of order tables (#68). + * Fixed parsing errors when single quotes are present in a table name (#71). + * Fixed parsing errors when parsing some table names (#76). + ------------------------------------------------------------------- Thu Nov 28 17:52:19 CET 2019 - Matej Cepl diff --git a/python-tomlkit.spec b/python-tomlkit.spec index 7744556..2a71999 100644 --- a/python-tomlkit.spec +++ b/python-tomlkit.spec @@ -1,7 +1,7 @@ # # spec file for package python-tomlkit # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tomlkit -Version: 0.5.8 +Version: 0.5.11 Release: 0 Summary: Style preserving TOML library License: MIT diff --git a/tomlkit-0.5.11.tar.gz b/tomlkit-0.5.11.tar.gz new file mode 100644 index 0000000..70f5746 --- /dev/null +++ b/tomlkit-0.5.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f044eda25647882e5ef22b43a1688fb6ab12af2fc50e8456cdfc751c873101cf +size 68490 diff --git a/tomlkit-0.5.8.tar.gz b/tomlkit-0.5.8.tar.gz deleted file mode 100644 index 112a111..0000000 --- a/tomlkit-0.5.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:32c10cc16ded7e4101c79f269910658cc2a0be5913f1252121c3cd603051c269 -size 66567 From 11c2d4373e0602ccb4d649ee6036523375667b0e285a7d099a7138df83c0f4b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 12 Mar 2020 08:03:45 +0000 Subject: [PATCH 2/2] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tomlkit?expand=0&rev=10 --- python-tomlkit.changes | 5 +++++ python-tomlkit.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-tomlkit.changes b/python-tomlkit.changes index 0093c6c..a295329 100644 --- a/python-tomlkit.changes +++ b/python-tomlkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 12 08:03:32 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Wed Mar 11 11:15:54 UTC 2020 - pgajdos@suse.com diff --git a/python-tomlkit.spec b/python-tomlkit.spec index 2a71999..c822372 100644 --- a/python-tomlkit.spec +++ b/python-tomlkit.spec @@ -17,22 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-tomlkit Version: 0.5.11 Release: 0 Summary: Style preserving TOML library License: MIT -Group: Development/Languages/Python URL: https://github.com/sdispater/tomlkit Source: https://files.pythonhosted.org/packages/source/t/tomlkit/tomlkit-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module typing >= 3.6} BuildRequires: fdupes -BuildRequires: python-enum34 -BuildRequires: python-functools32 BuildRequires: python-rpm-macros BuildArch: noarch +%if %{with python2} +BuildRequires: python-enum34 +BuildRequires: python-functools32 +%endif %ifpython2 Requires: python-enum34 Requires: python-functools32