diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 53b5522..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2014 Eugene Eeo - -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-tinyrecord.changes b/python-tinyrecord.changes index d374b48..a8fb286 100644 --- a/python-tinyrecord.changes +++ b/python-tinyrecord.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 15 07:03:24 UTC 2020 - Dirk Mueller + +- update to 0.2.0: + * Fixes for TinyDB 4.x + * drop support for python 2.x + ------------------------------------------------------------------- Thu May 9 11:03:35 AM UTC 2019 - John Vandenberg diff --git a/python-tinyrecord.spec b/python-tinyrecord.spec index 99245be..62fc5c5 100644 --- a/python-tinyrecord.spec +++ b/python-tinyrecord.spec @@ -1,7 +1,7 @@ # # spec file for package python-tinyrecord # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,24 +12,26 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global skip_python2 1 Name: python-tinyrecord -Version: 0.1.5 +Version: 0.2.0 Release: 0 -License: MIT Summary: Atomic transactions for TinyDB -Url: https://github.com/eugene-eeo/tinyrecord +License: MIT Group: Development/Languages/Python -Source: https://github.com/eugene-eeo/tinyrecord/archive/%{version}.tar.gz#/tinyrecord-%{version}.tar.gz -Source1: https://raw.githubusercontent.com/eugene-eeo/tinyrecord/master/LICENSE -BuildRequires: python-rpm-macros +URL: https://github.com/eugene-eeo/tinyrecord +Source: https://github.com/eugene-eeo/tinyrecord/archive/v%{version}.tar.gz BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tinydb} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-tinydb BuildArch: noarch @@ -40,7 +42,6 @@ Atomic transactions for TinyDB. %prep %setup -q -n tinyrecord-%{version} -cp %{SOURCE1} . %build %python_build @@ -50,10 +51,7 @@ cp %{SOURCE1} . %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -$python setup.py pytest --addopts="tests.py" -$python ./test.py -} +%pytest tests.py %files %{python_files} %license LICENSE diff --git a/tinyrecord-0.1.5.tar.gz b/tinyrecord-0.1.5.tar.gz deleted file mode 100644 index 41a248d..0000000 --- a/tinyrecord-0.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2875aa34620cf7bfa2c0ba5e8d0c7d92c29efac177f30c6910d017111f505731 -size 4533 diff --git a/v0.2.0.tar.gz b/v0.2.0.tar.gz new file mode 100644 index 0000000..a92cf45 --- /dev/null +++ b/v0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a66bbac2a4e3e308cdee6dc7c24cfdd565522db60a6344a9f8333a06f4d55735 +size 5429