diff --git a/lz4-0.10.1.tar.gz b/lz4-0.10.1.tar.gz new file mode 100644 index 0000000..33550e8 --- /dev/null +++ b/lz4-0.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0423290a6e89c1789525a7e9d344d877c7a97102cf5c0f99b2319ac560f1b3e +size 92068 diff --git a/lz4-3.0.2.tar.gz b/lz4-3.0.2.tar.gz deleted file mode 100644 index 0b5ef79..0000000 --- a/lz4-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c9f6a8b71c18c24bd83537a4d616f0301623a5e98db7c7ca956d608e1bcd4c7 -size 152443 diff --git a/python-lz4.changes b/python-lz4.changes index 4191914..33621a0 100644 --- a/python-lz4.changes +++ b/python-lz4.changes @@ -1,62 +1,3 @@ -------------------------------------------------------------------- -Thu Mar 5 14:04:27 UTC 2020 - pgajdos@suse.com - -- version update to 3.0.2 - Drops support for Python 2 (although some dead code remains for future removal) - Adds streams support thanks to the hard work of @tSed - Fixes a performance bug with the frame bindings - thanks to @bjonen for the careful report and reproducer - Adds Python 3.8 support - -------------------------------------------------------------------- -Mon Jun 17 11:57:13 UTC 2019 - Tomáš Chvátal - -- Update to 2.1.10: - * Cleanup some code in _block.c to suppress some compiler warnings - * Add some more detail to the install docs - -------------------------------------------------------------------- -Thu Feb 7 18:37:13 UTC 2019 - Todd R - -- Disable tests. They timeout randomly. - -------------------------------------------------------------------- -Tue Feb 5 18:37:24 UTC 2019 - Todd R - -- Version update to 2.1.6 - * This release contains no user facing changes, but does include a built wheel built for Python 2.7 on OSX. - * This release follows some re-working of the CI/CD infrastructure, and integration with the codecov service. -- Version update to 2.1.5 - * This release contains no functional changes other than changes to the Appveyor configuration for publishing wheels. -- Version update to 2.1.4 - * This release contains no functional changes other than changes to the Travis configuration for publishing wheels. -- Version update to 2.1.3 - * A simplification of the tox.ini file (thanks to @jdufresne) - * More robust checking for pkgconfig availability (#158, thanks to @raymondEhlers) - * Integration of cibuildwheel into travis builds so as to build and publish binary wheels for Linux and OSX (fixes #99 , #144 , #153) - * Only require pytest-runner if pytest/test is being called (fixes #161) - * Blacklists version 3.3.0 of pytest which has a bug that can cause the tests to fail. -- Version update to 2.1.2 - * Improves the speed of importing the module by avoiding the use of pkg_resources (#154) - thanks to @cgohike) - * Fixes some flake8 warnings - * Resolves a small issue with the test suite when detecting memory usage increases - -------------------------------------------------------------------- -Thu Oct 25 12:35:12 UTC 2018 - Tomáš Chvátal - -- Version update to 2.1.1: - * fixes a bug with the block format compression/decompression - * the handling of errors for block decompression when uncompressed_size > 0 - * introduce a new exception: LZ4BlockError which is raised whenever the LZ4 library fails - -------------------------------------------------------------------- -Fri Jul 20 08:09:49 UTC 2018 - tchvatal@suse.com - -- Version update to 2.0.2: - * Tests moved to pytest - * Upstream does not provide changelog except git log - * Many tests were added fixing various crashes -- Enable tests - ------------------------------------------------------------------- Fri Jul 21 08:27:32 UTC 2017 - aloisio@gmx.com diff --git a/python-lz4.spec b/python-lz4.spec index 22fc064..0bb62cb 100644 --- a/python-lz4.spec +++ b/python-lz4.spec @@ -1,7 +1,7 @@ # # spec file for package python-lz4 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2017 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,44 +12,34 @@ # 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/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -Name: python-lz4 -Version: 3.0.2 +%define modname lz4 +Name: python-%{modname} +Version: 0.10.1 Release: 0 Summary: LZ4 Bindings for Python License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/python-lz4/python-lz4 -Source: https://files.pythonhosted.org/packages/source/l/lz4/lz4-%{version}.tar.gz +Url: https://github.com/steeve/python-lz4 +Source: https://files.pythonhosted.org/packages/source/l/%{modname}/%{modname}-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module pkgconfig} -BuildRequires: %{python_module psutil} -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest-runner} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} -BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python2-future -Requires: python-psutil -%ifpython2 -Requires: python2-future -%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + %python_subpackages %description -This package provides python bindings for the lz4 compression library. +This package provides python bindings for the lz4 compression library %prep -%setup -q -n lz4-%{version} -# do not set -O3 -sed -i -e '/-O3/d' setup.py +%setup -q -n %{modname}-%{version} %build export CFLAGS="%{optflags}" @@ -57,16 +47,11 @@ export CFLAGS="%{optflags}" %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitearch} - -%check -# tests get stuck -#%%pytest_arch %files %{python_files} -%license LICENSE +%defattr(-,root,root,-) %doc README.rst -%{python_sitearch}/lz4/ -%{python_sitearch}/lz4-%{version}-py*.egg-info/ +%{python_sitearch}/%{modname}/ +%{python_sitearch}/%{modname}-%{version}-py*.egg-info/ %changelog