14
0
forked from pool/python-partd

Accepting request 707127 from home:pgajdos

- version update to 0.3.10
  * no upstream changelog
- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/707127
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-partd?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-06-03 10:52:09 +00:00
committed by Git OBS Bridge
parent c6970738cc
commit 6b8fa6eeb7
4 changed files with 15 additions and 16 deletions

3
partd-0.3.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33722a228ebcd1fa6f44b1631bdd4cff056376f89eb826d7d880b35b637bcfba
size 19076

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67291f1c4827cde3e0148b3be5d69af64b6d6169feb9ba88f0a6cfe77089400f
size 19171

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 3 10:24:48 UTC 2019 - pgajdos@suse.com
- version update to 0.3.10
* no upstream changelog
- use %pytest macro
-------------------------------------------------------------------
Tue Dec 4 12:51:13 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-partd
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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,11 +16,9 @@
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-partd
Version: 0.3.8
Version: 0.3.10
Release: 0
Summary: Appendable key-value storage
License: BSD-3-Clause
@@ -32,9 +30,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toolz}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with tests}
# SECTION test requirements
BuildRequires: %{python_module pytest}
%endif
# /SECTION
Requires: python-locket
Requires: python-toolz
Recommends: python-blosc
@@ -65,14 +63,8 @@ Partd excels at shuffling operations.
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with tests}
%check
pushd partd/tests
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix}
}
popd
%endif
%pytest
%files %{python_files}
%defattr(-,root,root,-)