Hello community, here is the log from the commit of package python-toml for openSUSE:Factory checked in at 2019-02-25 17:55:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-toml (Old) and /work/SRC/openSUSE:Factory/.python-toml.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-toml" Mon Feb 25 17:55:38 2019 rev:3 rq:678517 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-toml/python-toml.changes 2018-12-24 11:45:21.465241213 +0100 +++ /work/SRC/openSUSE:Factory/.python-toml.new.28833/python-toml.changes 2019-02-25 17:55:42.906422302 +0100 @@ -1,0 +2,8 @@ +Sat Feb 23 00:41:14 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Activate test suite +- Update to v0.10.0 + * Changes see https://github.com/uiri/toml/compare/0.9.4...0.10.0 + * Includes tests not previously included in source tarball + +------------------------------------------------------------------- @@ -10 +18 @@ - + Changes see https://github.com/uiri/toml/compare/0.9.3...0.9.x + + Changes see https://github.com/uiri/toml/compare/0.9.3...0.9.4 Old: ---- toml-0.9.4.tar.gz New: ---- test.toml toml-0.10.0.tar.gz toml-test-39bb76d6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-toml.spec ++++++ --- /var/tmp/diff_new_pack.UsjYct/_old 2019-02-25 17:55:47.942415787 +0100 +++ /var/tmp/diff_new_pack.UsjYct/_new 2019-02-25 17:55:47.946415782 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-toml # -# 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,14 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-toml -Version: 0.9.4 +Version: 0.10.0 Release: 0 Summary: Python module which parses and emits TOML License: MIT Group: Development/Languages/Python URL: https://github.com/uiri/toml Source: https://files.pythonhosted.org/packages/source/t/toml/toml-%{version}.tar.gz -BuildRequires: %{python_module base} +# Untagged test data https://github.com/uiri/toml/issues/232 +Source1: https://github.com/BurntSushi/toml-test/archive/39bb76d6.tar.gz#/toml-test-39bb76d6.tar.gz +# Missing file https://github.com/uiri/toml/pull/231 +Source2: https://raw.githubusercontent.com/uiri/toml/%{version}/test.toml +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: coreutils BuildRequires: fdupes @@ -51,6 +55,9 @@ %prep %setup -q -n toml-%{version} +tar -xzf %{SOURCE1} +ln -s toml-test*/ toml-test +cp %{SOURCE2} . %build %python_build @@ -60,10 +67,11 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +export LANG=en_US.UTF-8 +%python_exec -m pytest %files %{python_files} -%defattr(-,root,root) +# See https://github.com/uiri/toml/issues/216 re change log %license LICENSE %doc README.rst %{python_sitelib} ++++++ test.toml ++++++ # This is a TOML document. Boom. a = "C:\\Users\\n" title = "TOML Example" the-void = [[[[[]]]]] mixed = [[1, +2], ["a", "b"], [1.0, 2.0]] avogadro = 6.23e23 [owner] name = "Tom \\ / Preston-Werner" organization = "GitHub" bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." dob = 1979-05-27T07:32:00Z # First class dates? Why not? [database] server = "192.168.1.1" ports = [ 8001, 8001, 8002 ] connection_max = 5000 enabled = true test = [["a"], ["b"], ["c"]] [servers] # You can indent as you please. Tabs or spaces. TOML don't care. [servers.alpha] ip = "10.0.0.1" dc = "eqdc10" [servers.beta] ip = "\u000a\u1000\u1000\u0002" dc = "eqdc10" [clients] data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it # Line breaks are OK when inside arrays hosts = [ "alpha", "omega" ] [[fruit]] name = "apple" [fruit.physical] color = "red" shape = "round" [[fruit.variety]] name = "red delicious" #[fruit.variety] # name = "granny smith" [[fruit]] name = "banana" [[fruit.variety]] name = "plantain" [[fruit.variety]] name = "whatever" thing=34 "l.mao" = 42 ++++++ toml-0.9.4.tar.gz -> toml-0.10.0.tar.gz ++++++ ++++ 2774 lines of diff (skipped)