forked from pool/python-lmdb
Accepting request 611047 from home:lachs0r:branches:devel:languages:python:misc
OBS-URL: https://build.opensuse.org/request/show/611047 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lmdb?expand=0&rev=1
This commit is contained in:
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
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
3
lmdb-0.94.tar.gz
Normal file
3
lmdb-0.94.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9c2b7f05c26b2c95d6f3a566314feefe2dc64ecec6c50242a932703cf74303fe
|
||||||
|
size 3991715
|
||||||
24
lmdb.changes
Normal file
24
lmdb.changes
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 21 17:37:59 UTC 2018 - 9+suse@cirno.systems
|
||||||
|
|
||||||
|
- Update to v0.94
|
||||||
|
* CPython argument parsing now matches the behaviour of CFFI,
|
||||||
|
and most sane Python APIs: a bool parameter is considered
|
||||||
|
to be true if it is any truthy value, not just if it is
|
||||||
|
exactly True.
|
||||||
|
* Fixed several 2.7/3 bugs in command line tool.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 21 16:25:54 UTC 2018 - 9+suse@cirno.systems
|
||||||
|
|
||||||
|
- Use system liblmdb
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 11 10:08:42 UTC 2017 - 9@cirno.systems
|
||||||
|
|
||||||
|
- Add doc files
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 4 09:41:00 UTC 2017 - 9@cirno.systems
|
||||||
|
|
||||||
|
- Init package, v0.93
|
||||||
76
python-lmdb.spec
Normal file
76
python-lmdb.spec
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-lmdb
|
||||||
|
#
|
||||||
|
# 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-lmdb
|
||||||
|
Version: 0.94
|
||||||
|
Release: 0
|
||||||
|
Summary: Universal Python binding for the LMDB 'Lightning' Database
|
||||||
|
License: OLDAP-2.8
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: http://github.com/dw/py-lmdb/
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/l/lmdb/lmdb-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module cffi}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: lmdb-devel
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
This is a universal Python binding for the LMDB 'Lightning' Database.
|
||||||
|
|
||||||
|
LMDB is a tiny database with the following properties:
|
||||||
|
* Ordered map interface (keys are always lexicographically sorted).
|
||||||
|
* Reader/writer transactions: readers don’t block writers,
|
||||||
|
writers don’t block readers.
|
||||||
|
Each environment supports one concurrent write transaction.
|
||||||
|
* Cheap read transactions.
|
||||||
|
* Environments may be opened by multiple processes on the same host.
|
||||||
|
* Multiple named databases may be created with transactions covering
|
||||||
|
all named databases.
|
||||||
|
* Memory mapped, allowing for zero copy lookup and iteration.
|
||||||
|
This is optionally exposed to Python using the buffer() interface.
|
||||||
|
* Maintenance requires no external process or background threads.
|
||||||
|
* No application-level caching is required:
|
||||||
|
LMDB uses the operating system’s buffer cache.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n lmdb-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export LMDB_FORCE_SYSTEM=1
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec setup.py develop --user
|
||||||
|
%python_exec -c 'import lmdb.cpython'
|
||||||
|
%python_exec -m pytest -v tests
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md ChangeLog
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
Reference in New Issue
Block a user