Sync from SUSE:SLFO:Main python-pickleshare revision 2ffac92be8b4e459a7874a0804c5e572
This commit is contained in:
commit
c89b2cc6f7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
BIN
pickleshare-0.7.5.tar.gz
(Stored with Git LFS)
Normal file
BIN
pickleshare-0.7.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
72
python-pickleshare.changes
Normal file
72
python-pickleshare.changes
Normal file
@ -0,0 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:29:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:43:00 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 25 19:48:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove unnecessary code for building with Python 2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 07:54:17 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:51:30 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 11 18:48:37 UTC 2018 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- update to version 0.7.5
|
||||
* path.py is no longer used
|
||||
* Fixed test issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:12:05 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- Fix source URL
|
||||
- update to version 0.7.4:
|
||||
* Accept any str-able object for the root path
|
||||
* Convert test fixture tmpdir to string before creating
|
||||
PickleShareDB
|
||||
* Don't convert Py2 unicode path to str
|
||||
- update to version 0.7.3:
|
||||
* Fix environment marker
|
||||
* Include license and test files in sdists
|
||||
* Fix for multiple processes creating a folder
|
||||
* handle exception and keep Python 2 support
|
||||
* Remove unused import
|
||||
- update to version 0.7.2:
|
||||
* Fix environment marker
|
||||
* Fix error when db location does not already exist
|
||||
* Require pathlib2 on Python 3.3 as well
|
||||
- changes from version 0.7.0:
|
||||
* Update metadata
|
||||
* Fix environment marker
|
||||
* Update .travis.yml
|
||||
* Switch from path.py to pathlib
|
||||
* Add MIT license
|
||||
* Cleanup: Python 3 compatible example, remove .idea folder
|
||||
* Update setup.py classifiers
|
||||
* Enable 3.5 on travis
|
||||
* specify path.py version dependency
|
||||
- update to version 0.6:
|
||||
* Fix module import to work with the latest version
|
||||
* remove pkg.info
|
||||
* update main page URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 14:07:31 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version
|
||||
|
73
python-pickleshare.spec
Normal file
73
python-pickleshare.spec
Normal file
@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package python-pickleshare
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pickleshare
|
||||
Version: 0.7.5
|
||||
Release: 0
|
||||
Summary: Tiny shelve-like database with concurrency support
|
||||
License: MIT
|
||||
URL: https://github.com/vivainio/pickleshare
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
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: pip install path pickleshare
|
||||
|
||||
%prep
|
||||
%setup -q -n pickleshare-%{version}
|
||||
# Remove shebang
|
||||
sed -i '1{\@^#!%{_bindir}/env python@d}' pickleshare.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest .
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pickleshare.py*
|
||||
%{python_sitelib}/pickleshare-%{version}-py*.egg-info
|
||||
%pycache_only %{python_sitelib}/__pycache__/pickleshare.*.py*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user