commit 642a1fdcc21ebbf49c41957617273cbe0f8da2f755b0fc5972fcf701b247eac7 Author: Tomáš Chvátal Date: Fri May 18 06:49:49 2018 +0000 Accepting request 610219 from home:bruno_friedmann:branches:devel:languages:python Find the up to date package which has been moved to misc. It is now ready to find its home in d:l:p and be submitted to Factory Thanks to make me maintainer, bugowner of it. About the tests discussed in sr#607655 I've added them here as tgz. Those are a fork by the author of pytoml, with additions. OBS-URL: https://build.opensuse.org/request/show/610219 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytoml?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3eb6ba2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,16 @@ +No-notice MIT License + +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. + +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/fa9501a1.tar.gz b/fa9501a1.tar.gz new file mode 100644 index 0000000..d0cb50a --- /dev/null +++ b/fa9501a1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a097166292d39e69b8d95f20d67e3609e48b96d88a11e76382e1e5e8e099209d +size 16627 diff --git a/python-pytoml.changes b/python-pytoml.changes new file mode 100644 index 0000000..9c763cd --- /dev/null +++ b/python-pytoml.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Fri May 18 06:07:49 UTC 2018 - bruno@ioda-net.ch + +- Update to bugfix version 0.1.14 +- Packaging + + add raw source for LICENSE (next tgz will contain it) + + spec-cleaner (date,url,license) + + add %check section to run tests + + add specific author's fork tgz of toml-test + +------------------------------------------------------------------- +Tue Jun 13 07:53:17 UTC 2017 - bruno@ioda-net.ch + +- Update to bugfix version 0.1.13 +- Move to python singlespec build +- Update copyright year +- Use pythonhosted host for source download +- Use normal tar.gz source + +------------------------------------------------------------------- +Mon Aug 29 20:38:32 UTC 2016 - bruno@ioda-net.ch + +- Update to bugfix revision 0.1.11 + - Fix issues with sort_key. + - Tweak tests to handle failure correctly. +- A python3-pytoml packages is available in d:l:python3 + - Notice to packagers : if you update python2, update python3 + version too. + +------------------------------------------------------------------- +Tue Jun 28 08:47:36 UTC 2016 - kgronlund@suse.com + +- Update sourcelink + +------------------------------------------------------------------- +Tue Jun 28 00:31:19 UTC 2016 - kgronlund@suse.com + +- Updated description and license for package. + +------------------------------------------------------------------- +Wed Jun 1 20:52:56 UTC 2016 - kgronlund@suse.com + +- Update to 0.1.10 + +------------------------------------------------------------------- +Wed Jan 27 19:19:32 UTC 2016 - mvyskocil@opensuse.org + +- Initial openSUSE packaging + diff --git a/python-pytoml.spec b/python-pytoml.spec new file mode 100644 index 0000000..9540987 --- /dev/null +++ b/python-pytoml.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-pytoml +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-pytoml +Version: 0.1.14 +Release: 0 +Summary: TOML-0.4.0 parser/writer for Python +License: MIT +Group: Development/Libraries/Python +URL: https://github.com/avakar/pytoml +Source0: https://files.pythonhosted.org/packages/source/p/pytoml/pytoml-%{version}.tar.gz +# toml-test for tests from author's fork with specific commit +Source1: https://github.com/avakar/toml-test/archive/fa9501a1.tar.gz +# Next release should contain it in std tgz +Source2: https://raw.githubusercontent.com/avakar/pytoml/master/LICENSE +BuildRequires: %{python_module base} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python +BuildArch: noarch +%python_subpackages + +%description +A specs-conforming and strict parser and writer for TOML files. +The library currently supports version 0.4.0 of the specs and +runs with Python 2.6+ and 3.3+. + +%prep +%setup -q -n pytoml-%{version} +cp -a %{SOURCE2} LICENSE +tar -C test -xzf%{SOURCE1} +cd test +mv toml-test-fa9501a192b7c46b82059caddaef978e3de883dc toml-test + + +%build +%python_build + +%install +%python_install +%fdupes %{buildroot}%{_prefix} + +%check +%python_expand export PYTHONPATH=%{buildroot}%{python_sitelib}; python test/test.py + +%files %{python_files} +%defattr(-,root,root) +%license LICENSE +%{python_sitelib}/pytoml/ +%{python_sitelib}/pytoml-%{version}-py%{py_ver}.egg-info/ + +%changelog diff --git a/pytoml-0.1.14.tar.gz b/pytoml-0.1.14.tar.gz new file mode 100644 index 0000000..27af4c2 --- /dev/null +++ b/pytoml-0.1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aff69147d436c3ba8c7f3bc1b3f4aa3d7e47d305a495f2631872e6429694aabf +size 6466