9275213
%global srcname partd
9275213
9275213
Name:           python-%{srcname}
9275213
Version:        0.3.8
9275213
Release:        2%{?dist}
9275213
Summary:        Appendable key-value storage
9275213
9275213
License:        BSD
9275213
URL:            https://pypi.python.org/pypi/%{srcname}
9275213
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
9275213
9275213
BuildArch:      noarch
9275213
9275213
%global _description \
9275213
Key-value byte store with appendable values: Partd stores key-value pairs. \
9275213
Values are raw bytes. We append on old values. Partd excels at shuffling \
9275213
operations.
9275213
9275213
%description %{_description}
9275213
9275213
%package -n python2-%{srcname}
9275213
Summary:        %{summary}
9275213
%{?python_provide:%python_provide python2-%{srcname}}
9275213
9275213
BuildRequires:  python2-devel
9275213
BuildRequires:  python2-pytest
9275213
BuildRequires:  python2-locket
9275213
BuildRequires:  python2-toolz
9275213
BuildRequires:  python2-numpy >= 1.9.0
9275213
BuildRequires:  python2-pandas
9275213
BuildRequires:  python2-zmq
9275213
BuildRequires:  python2-blosc
9275213
9275213
Requires:    python2-locket
9275213
Requires:    python2-toolz
9275213
Recommends:  python2-numpy >= 1.9.0
9275213
Recommends:  python2-pandas
9275213
Recommends:  python2-zmq
9275213
Recommends:  python2-blosc
9275213
9275213
%description -n python2-%{srcname} %{_description}
9275213
9275213
9275213
%package -n python3-%{srcname}
9275213
Summary:        %{summary}
9275213
%{?python_provide:%python_provide python3-%{srcname}}
9275213
9275213
BuildRequires:  python3-devel
9275213
BuildRequires:  python3-pytest
9275213
BuildRequires:  python3-locket
9275213
BuildRequires:  python3-toolz
9275213
BuildRequires:  python3-numpy >= 1.9.0
9275213
BuildRequires:  python3-pandas
9275213
BuildRequires:  python3-zmq
9275213
BuildRequires:  python3-blosc
9275213
9275213
Requires:    python3-locket
9275213
Requires:    python3-toolz
9275213
Recommends:  python3-numpy >= 1.9.0
9275213
Recommends:  python3-pandas
9275213
Recommends:  python3-zmq
9275213
Recommends:  python3-blosc
9275213
9275213
%description -n python3-%{srcname} %{_description}
9275213
9275213
9275213
%prep
9275213
%autosetup -n %{srcname}-%{version}
9275213
9275213
9275213
%build
9275213
%py2_build
9275213
%py3_build
9275213
9275213
9275213
%install
9275213
%py2_install
9275213
%py3_install
9275213
9275213
9275213
%check
9275213
PYTHONPATH="%{buildroot}%{python2_sitelib}" \
9275213
    py.test-2.7
9275213
PYTHONPATH="%{buildroot}%{python3_sitelib}" \
9275213
    py.test-%{python3_version}
9275213
9275213
9275213
%files -n python2-%{srcname}
9275213
%license LICENSE.txt
9275213
%doc README.rst
9275213
%{python2_sitelib}/%{srcname}
9275213
%{python2_sitelib}/%{srcname}-%{version}-py?.?.egg-info
9275213
9275213
9275213
%files -n python3-%{srcname}
9275213
%license LICENSE.txt
9275213
%doc README.rst
9275213
%{python3_sitelib}/%{srcname}
9275213
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
9275213
9275213
9275213
%changelog
9275213
* Tue Aug 22 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.8-2
9275213
- Standardize spec a bit more.
9275213
- Simplify description a bit.
9275213
9275213
* Mon Jun 5 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.8-1
9275213
- New upstream release.
9275213
9275213
* Sun Feb 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.7-2
9275213
- Add missing dependencies.
9275213
9275213
* Sun Feb 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.7-1
9275213
- Initial package release.