14
0
forked from pool/python-joblib
Todd R
2012-09-05 18:52:41 +00:00
committed by Git OBS Bridge
parent 9e85447ac6
commit 452990e6f5

View File

@@ -24,9 +24,8 @@ Summary: Lightweight pipelining: using Python functions as pipeline jobs
Url: http://packages.python.org/joblib/
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/j/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-Sphinx
Requires: python(abi) >= %{py3_ver}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -46,19 +45,11 @@ Joblib is optimized to be **fast** and **robust** in particular on large
data and has specific optimizations for `numpy` arrays. It is
**BSD-licensed**.
%package doc
Summary: Documentation for %{name}
%description doc
Documentation and help files for %{name}
%prep
%setup -q -n %{modname}-%{version}
%build
CFLAGS="%{optflags}" python3 setup.py build
CFLAGS="%{optflags}" python3 setup.py build_sphinx
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -68,9 +59,5 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%{python3_sitelib}/%{modname}-%{version}-py*.egg-info
%{python3_sitelib}/%{modname}/
%files doc
%defattr(-,root,root,-)
%doc build/sphinx/html/
%changelog