python-nazca.spec
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Tue, 21 Aug 2018 15:50:28 +0200
changeset 538 98d6979ec07d
parent 530 c22b96297291
child 544 9c919d23bcd2
permissions -rw-r--r--
[py3] user iter to iterate on dict values

%define python python
%define __python /usr/bin/python
%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           %{python}-nazca
Version:        0.9.0
Release:        logilab.1%{?dist}
Summary:        Python library for data alignment

Group:          Development/Libraries
License:        LGPL
Source0:        nazca-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  %{python}
Requires:       %{python}
Requires:       scipy
Requires:       %{python}-sklearn
Requires:       %{python}-dateutil
Requires:       %{python}-lxml
Requires:       %{python}-six

%description
Python library for data alignment

%prep
%setup -q -n nazca-%{version}

%install
%{__python} setup.py --quiet install --no-compile --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_python_sitelib}/*