forked from pool/python-partd
Accepting request 489420 from home:TheBlackCat:branches:devel:languages:python
- Update to version 0.3.7 - Only make hard requirements BuildRequires and Requires. - Implement single-spec version. OBS-URL: https://build.opensuse.org/request/show/489420 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-partd?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0b8a2f313d07548ab5fbca89fae27d63ce81709ee544609b9e515d9c604ca910
|
|
||||||
size 17097
|
|
||||||
3
partd-0.3.7.tar.gz
Normal file
3
partd-0.3.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fdc344bca07f3b10645cc380950a00bbfcdbf993f3396715eb0936d14811cd18
|
||||||
|
size 17530
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 18:44:33 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update to version 0.3.7
|
||||||
|
- Only make hard requirements BuildRequires and Requires.
|
||||||
|
- Implement single-spec version.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 14 13:44:59 UTC 2015 - toddrme2178@gmail.com
|
Tue Jul 14 13:44:59 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-partd
|
# spec file for package python-partd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 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
|
||||||
@@ -15,33 +15,36 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-partd
|
Name: python-partd
|
||||||
Version: 0.3.2
|
Version: 0.3.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Appendable key-value storage
|
Summary: Appendable key-value storage
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/mrocklin/partd/
|
Url: http://github.com/mrocklin/partd/
|
||||||
Source: https://pypi.python.org/packages/source/p/partd/partd-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/partd/partd-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-locket
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-msgpack-python
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: python-pandas
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-pytest
|
BuildRequires: %{python_module locket}
|
||||||
BuildRequires: python-pyzmq
|
BuildRequires: %{python_module toolz}
|
||||||
BuildRequires: python-toolz
|
%if %{with tests}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%endif
|
||||||
Requires: python-locket
|
Requires: python-locket
|
||||||
Requires: python-pandas
|
|
||||||
Requires: python-pyzmq
|
|
||||||
Requires: python-toolz
|
Requires: python-toolz
|
||||||
|
Recommends: python-blosc
|
||||||
|
Recommends: python-numpy >= 1.9.0
|
||||||
|
Recommends: python-pandas
|
||||||
|
Recommends: python-pyzmq
|
||||||
Recommends: python-msgpack-python
|
Recommends: python-msgpack-python
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Key-value byte store with appendable values
|
Key-value byte store with appendable values
|
||||||
@@ -52,22 +55,26 @@ We append on old values.
|
|||||||
|
|
||||||
Partd excels at shuffling operations.
|
Partd excels at shuffling operations.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n partd-%{version}
|
%setup -q -n partd-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
pushd partd/tests
|
pushd partd/tests
|
||||||
PYTHONPATH=%{buildroot}%{python_sitelib} py.test
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
|
py.test-%{$python_bin_suffix}
|
||||||
|
}
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|||||||
Reference in New Issue
Block a user