diff --git a/python-tomlkit.changes b/python-tomlkit.changes index e090f6c..a295329 100644 --- a/python-tomlkit.changes +++ b/python-tomlkit.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +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 + +- 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..c822372 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 @@ -17,22 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-tomlkit -Version: 0.5.8 +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 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