15
0
forked from pool/python-plyvel

- Enable tests

- Update dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plyvel?expand=0&rev=3
This commit is contained in:
2016-01-31 08:32:04 +00:00
committed by Git OBS Bridge
parent 4814206ae4
commit a378d2475a
2 changed files with 16 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 31 08:31:40 UTC 2016 - mpluskal@suse.com
- Enable tests
- Update dependencies
-------------------------------------------------------------------
Tue Oct 28 16:52:58 UTC 2014 - mpluskal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plyvel
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@@ -27,8 +27,12 @@ Source: https://pypi.python.org/packages/source/p/plyvel/plyvel-%{versio
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: leveldb-devel
BuildRequires: python-Cython
BuildRequires: python-devel
BuildRequires: python-pytest
BuildRequires: python-pytest-cov
BuildRequires: python-setuptools
BuildRequires: python-tox
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -40,15 +44,18 @@ Plyvel has a rich feature set, high performance, and a friendly Pythonic API.
%setup -q -n plyvel-%{version}
%build
python setup.py build
make %{?_smp_mflags} all
%install
python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
%fdupes %{buildroot}
%check
make %{?_smp_mflags} test
%files
%defattr(-,root,root,-)
%{python_sitearch}/*
%doc doc/*.rst
%{python_sitearch}/*
%changelog