14
0

- update to 0.2.0:

* Fixes for TinyDB 4.x
  * drop support for python 2.x

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tinyrecord?expand=0&rev=3
This commit is contained in:
2020-10-15 07:04:23 +00:00
committed by Git OBS Bridge
parent a7ee64b1fd
commit 53799b8aac
5 changed files with 21 additions and 37 deletions

21
LICENSE
View File

@@ -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.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 15 07:03:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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 <jayvdb@gmail.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2875aa34620cf7bfa2c0ba5e8d0c7d92c29efac177f30c6910d017111f505731
size 4533

3
v0.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a66bbac2a4e3e308cdee6dc7c24cfdd565522db60a6344a9f8333a06f4d55735
size 5429