diff --git a/plyvel-0.9.tar.gz b/plyvel-0.9.tar.gz deleted file mode 100644 index fe0bc26..0000000 --- a/plyvel-0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:587d93681ae44936ae086b4b45486eb302e3853ba5af149aac3be9e9713998e9 -size 121513 diff --git a/plyvel-1.0.0.tar.gz b/plyvel-1.0.0.tar.gz new file mode 100644 index 0000000..8ef3918 --- /dev/null +++ b/plyvel-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9ebb4e40fd28b4590bc8d11fe3086afcabda087c694bdd79ae7efaa9d044912 +size 142806 diff --git a/python-plyvel.changes b/python-plyvel.changes index c93c619..f5013cf 100644 --- a/python-plyvel.changes +++ b/python-plyvel.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jan 5 14:25:14 UTC 2018 - mpluskal@suse.com + +- Update to version 1.0.0: + * First 1.x release. This library is quite mature, so there is + no reason to keep using 0.x version numbers. While at it, + switch to semantic versioning. + * Drop support for older Python versions. Minimum versions are + now Python 3.4+ for modern Python and Python 2.7+ for legacy + Python. + * The mimimum LevelDB version is now 1.20, which added an option + for the maximum file size, which is now exposed in Plyvel. + * The various .put() methods are no longer restricted to just + bytes (str in Python 2), but will accept any type implementing + Python's buffer protocol, such as bytes, bytearray, and + memoryview. Note that this only applies to values; keys must + still be bytes. (issue #52) + ------------------------------------------------------------------- Wed Jun 21 09:31:49 UTC 2017 - jengelh@inai.de diff --git a/python-plyvel.spec b/python-plyvel.spec index 62a42ff..351663c 100644 --- a/python-plyvel.spec +++ b/python-plyvel.spec @@ -1,7 +1,7 @@ # # spec file for package python-plyvel # -# 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 @@ -16,24 +16,23 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-plyvel -Version: 0.9 +Version: 1.0.0 Release: 0 Summary: Python interface to LevelDB License: BSD-3-Clause Group: Productivity/Networking/Other -Url: https://github.com/wbolster/plyvel +URL: https://plyvel.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/p/plyvel/plyvel-%{version}.tar.gz -BuildRequires: %{python_module Cython} -BuildRequires: %{python_module base} +BuildRequires: %{python_module Cython >= 0.17} BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tox} BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: leveldb-devel +BuildRequires: leveldb-devel >= 1.20 BuildRequires: python-rpm-macros %python_subpackages @@ -59,7 +58,6 @@ cache sizes, custom comparators. %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) %doc doc/*.rst %{python_sitearch}/*