forked from pool/python-lz4
Accepting request 624241 from devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/624241 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lz4?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a0423290a6e89c1789525a7e9d344d877c7a97102cf5c0f99b2319ac560f1b3e
|
|
||||||
size 92068
|
|
||||||
3
lz4-2.0.2.tar.gz
Normal file
3
lz4-2.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1b039a3ca91945062503c0c934fe18131d4997f7becfa3020bf93c56a1c4a0e8
|
||||||
|
size 126137
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Fri Jul 21 08:27:32 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-lz4
|
# spec file for package python-lz4
|
||||||
#
|
#
|
||||||
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,20 +19,26 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define modname lz4
|
%define modname lz4
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 0.10.1
|
Version: 2.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LZ4 Bindings for Python
|
Summary: LZ4 Bindings for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/steeve/python-lz4
|
URL: https://github.com/python-lz4/python-lz4
|
||||||
Source: https://files.pythonhosted.org/packages/source/l/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/l/lz4/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pkgconfig}
|
||||||
|
BuildRequires: %{python_module psutil}
|
||||||
|
BuildRequires: %{python_module pytest-runner}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
Requires: python-psutil
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: python2-future
|
||||||
|
%ifpython2
|
||||||
|
Requires: python2-future
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -40,6 +46,8 @@ This package provides python bindings for the lz4 compression library
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
# do not set -O3
|
||||||
|
sed -i -e '/-O3/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@@ -48,8 +56,11 @@ export CFLAGS="%{optflags}"
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitearch}/%{modname}/
|
%{python_sitearch}/%{modname}/
|
||||||
%{python_sitearch}/%{modname}-%{version}-py*.egg-info/
|
%{python_sitearch}/%{modname}-%{version}-py*.egg-info/
|
||||||
|
|||||||
Reference in New Issue
Block a user