15
0
forked from pool/python-plyvel

Accepting request 502857 from devel:languages:python

- Switch to python singlespec

OBS-URL: https://build.opensuse.org/request/show/502857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-plyvel?expand=0&rev=3
This commit is contained in:
2017-06-12 13:34:46 +00:00
committed by Git OBS Bridge
2 changed files with 22 additions and 14 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 11 10:16:54 UTC 2017 - mpluskal@suse.com
- Switch to python singlespec
-------------------------------------------------------------------
Sun Jan 31 08:31:40 UTC 2016 - mpluskal@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plyvel
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -23,37 +23,40 @@ Summary: Fast and feature-rich Python interface to LevelDB
License: BSD-3-Clause
Group: Productivity/Networking/Other
Url: https://github.com/wbolster/plyvel
Source: https://pypi.python.org/packages/source/p/plyvel/plyvel-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/plyvel/plyvel-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module base}
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: python-Cython
BuildRequires: python-devel
BuildRequires: python-pytest
BuildRequires: python-pytest-cov
BuildRequires: python-setuptools
BuildRequires: python-tox
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-rpm-macros
%python_subpackages
%description
Plyvel is a fast and feature-rich Python interface to LevelDB.
Plyvel has a rich feature set, high performance, and a friendly Pythonic API.
Plyvel has a rich feature set, high performance, and a friendly Pythonic
API.
%prep
%setup -q -n plyvel-%{version}
%build
make %{?_smp_mflags} all
%python_build
%install
python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
%python_install
%fdupes %{buildroot}
%check
make %{?_smp_mflags} test
%python_exec setup.py test
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc doc/*.rst
%{python_sitearch}/*