Hello community,
here is the log from the commit of package python-pickleshare for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:10:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pickleshare (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pickleshare.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pickleshare"
Mon Mar 9 18:10:17 2020 rev:11 rq:776912 version:0.7.5
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pickleshare/python-pickleshare.changes
2020-01-15 15:51:33.435533039 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pickleshare.new.26092/python-pickleshare.changes
2020-03-09 18:10:22.097110797 +0100
@@ -1,0 +2,12 @@
+Tue Dec 4 12:51:30 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Thu Oct 11 18:48:37 UTC 2018 - Todd R <[email protected]>
+
+- update to version 0.7.5
+ * path.py is no longer used
+ * Fixed test issues
+
+-------------------------------------------------------------------
Old:
----
pickleshare-0.7.4.tar.gz
New:
----
pickleshare-0.7.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pickleshare.spec ++++++
--- /var/tmp/diff_new_pack.BJMyvy/_old 2020-03-09 18:10:22.377111198 +0100
+++ /var/tmp/diff_new_pack.BJMyvy/_new 2020-03-09 18:10:22.377111198 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pickleshare
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,24 +12,24 @@
# 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/
#
+
%bcond_without test
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pickleshare
-Version: 0.7.4
+Version: 0.7.5
Release: 0
Summary: Tiny shelve-like database with concurrency support
License: MIT
Group: Development/Languages/Python
Url: https://github.com/vivainio/pickleshare
Source:
https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-BuildRequires: python-pathlib2
BuildRequires: fdupes
+BuildRequires: python-pathlib2
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module pytest}
@@ -37,7 +37,6 @@
%ifpython2
Requires: python-pathlib2
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -77,8 +76,8 @@
%endif
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE
+%doc README.md
+%license LICENSE
%{python_sitelib}/pickleshare.py*
%{python_sitelib}/pickleshare-%{version}-py*.egg-info
%pycache_only %{python_sitelib}/__pycache__/pickleshare.*.py*
++++++ pickleshare-0.7.4.tar.gz -> pickleshare-0.7.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/PKG-INFO
new/pickleshare-0.7.5/PKG-INFO
--- old/pickleshare-0.7.4/PKG-INFO 2016-08-13 23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/PKG-INFO 2018-09-25 21:16:16.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pickleshare
-Version: 0.7.4
+Version: 0.7.5
Summary: Tiny 'shelve'-like database with concurrency support
Home-page: https://github.com/pickleshare/pickleshare
Author: Ville Vainio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/README.md
new/pickleshare-0.7.5/README.md
--- old/pickleshare-0.7.4/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/pickleshare-0.7.5/README.md 2018-09-25 21:10:17.000000000 +0200
@@ -0,0 +1,42 @@
+PickleShare - a small 'shelve' like datastore with concurrency support
+
+Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike
shelve,
+many processes can access the database simultaneously. Changing a value in
+database is immediately visible to other processes accessing the same database.
+
+Concurrency is possible because the values are stored in separate files. Hence
+the "database" is a directory where *all* files are governed by PickleShare.
+
+Both python2 and python3 are supported.
+
+Example usage:
+
+```python
+
+from pickleshare import *
+db = PickleShareDB('~/testpickleshare')
+db.clear()
+print("Should be empty:", db.items())
+db['hello'] = 15
+db['aku ankka'] = [1,2,313]
+db['paths/are/ok/key'] = [1,(5,46)]
+print(db.keys())
+```
+
+This module is certainly not ZODB, but can be used for low-load
+(non-mission-critical) situations where tiny code size trumps the
+advanced features of a "real" object database.
+
+Installation guide:
+
+```sh
+pip install pickleshare
+```
+
+Or, if installing from source
+
+```sh
+pip install .
+```
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.egg-info/PKG-INFO
new/pickleshare-0.7.5/pickleshare.egg-info/PKG-INFO
--- old/pickleshare-0.7.4/pickleshare.egg-info/PKG-INFO 2016-08-13
23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/pickleshare.egg-info/PKG-INFO 2018-09-25
21:16:16.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pickleshare
-Version: 0.7.4
+Version: 0.7.5
Summary: Tiny 'shelve'-like database with concurrency support
Home-page: https://github.com/pickleshare/pickleshare
Author: Ville Vainio
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.egg-info/SOURCES.txt
new/pickleshare-0.7.5/pickleshare.egg-info/SOURCES.txt
--- old/pickleshare-0.7.4/pickleshare.egg-info/SOURCES.txt 2016-08-13
23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/pickleshare.egg-info/SOURCES.txt 2018-09-25
21:16:16.000000000 +0200
@@ -1,5 +1,6 @@
LICENSE
MANIFEST.in
+README.md
pickleshare.py
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/pickleshare.py
new/pickleshare-0.7.5/pickleshare.py
--- old/pickleshare-0.7.4/pickleshare.py 2016-08-13 23:56:02.000000000
+0200
+++ new/pickleshare-0.7.5/pickleshare.py 2018-09-25 21:12:44.000000000
+0200
@@ -26,7 +26,7 @@
(non-mission-critical) situations where tiny code size trumps the
advanced features of a "real" object database.
-Installation guide: pip install path pickleshare
+Installation guide: pip install pickleshare
Author: Ville Vainio <[email protected]>
License: MIT open source license.
@@ -36,7 +36,7 @@
from __future__ import print_function
-__version__ = "0.7.4"
+__version__ = "0.7.5"
try:
from pathlib import Path
@@ -45,7 +45,10 @@
from pathlib2 import Path
import os,stat,time
-import collections
+try:
+ import collections.abc as collections_abc
+except ImportError:
+ import collections as collections_abc
try:
import cPickle as pickle
except ImportError:
@@ -63,7 +66,7 @@
_sentinel = object()
-class PickleShareDB(collections.MutableMapping):
+class PickleShareDB(collections_abc.MutableMapping):
""" The main 'connection' object for PickleShare database """
def __init__(self,root):
""" Return a db object that will manage the specied directory"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pickleshare-0.7.4/setup.cfg
new/pickleshare-0.7.5/setup.cfg
--- old/pickleshare-0.7.4/setup.cfg 2016-08-13 23:59:03.000000000 +0200
+++ new/pickleshare-0.7.5/setup.cfg 2018-09-25 21:16:16.000000000 +0200
@@ -4,5 +4,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0