forked from pool/python-joblib
Accepting request 497353 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version. - Run tests. - Fix source URL. - Update to version 0.11. OBS-URL: https://build.opensuse.org/request/show/497353 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=9
This commit is contained in:
3
joblib-0.11.tar.gz
Normal file
3
joblib-0.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7b8fd56df36d9731a83729395ccb85a3b401f62a96255deb1a77220c00ed4085
|
||||||
|
size 213136
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f185b87199525e0805281960f9f91c4f2e382e5834f05678cfcfa8ec666a4d2b
|
|
||||||
size 314213
|
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 16:35:59 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
- Run tests.
|
||||||
|
- Fix source URL.
|
||||||
|
- Update to version 0.11.
|
||||||
|
* For a full changelog please see:
|
||||||
|
https://github.com/joblib/joblib/blob/0.11/CHANGES.rst
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 24 13:14:03 UTC 2015 - toddrme2178@gmail.com
|
Sun May 24 13:14:03 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-joblib
|
# spec file for package python-joblib
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX Products 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
|
||||||
@@ -16,24 +16,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname joblib
|
%bcond_without test
|
||||||
Name: python-%{modname}
|
|
||||||
Version: 0.8.4
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-joblib
|
||||||
|
Version: 0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Lightweight pipelining: using Python functions as pipeline jobs
|
Summary: Lightweight pipelining: using Python functions as pipeline jobs
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://packages.python.org/joblib/
|
Url: https://github.com/joblib/joblib
|
||||||
Source: http://pypi.python.org/packages/source/j/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module devel}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module setuptools}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if %{with test}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
BuildRequires: %{python_module numpy}
|
||||||
%else
|
BuildRequires: %{python_module pytest}
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
Recommends: python-numpy
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Joblib is a set of tools to provide **lightweight pipelining in
|
Joblib is a set of tools to provide **lightweight pipelining in
|
||||||
@@ -47,36 +52,28 @@ Python**. In particular, joblib offers:
|
|||||||
3. logging and tracing of the execution
|
3. logging and tracing of the execution
|
||||||
|
|
||||||
Joblib is optimized to be **fast** and **robust** in particular on large
|
Joblib is optimized to be **fast** and **robust** in particular on large
|
||||||
data and has specific optimizations for `numpy` arrays. It is
|
data and has specific optimizations for `numpy` arrays.
|
||||||
**BSD-licensed**.
|
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
Documentation and help files for %{name}
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n joblib-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
# python setup.py build_sphinx
|
|
||||||
# # Remove hidden file
|
|
||||||
# rm -r build/sphinx/html/.buildinfo
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%if %{with test}
|
||||||
|
%check
|
||||||
|
%python_expand py.test-%{$python_bin_suffix}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{python_sitelib}/%{modname}-%{version}-py*.egg-info
|
%doc LICENSE.txt README.rst
|
||||||
%{python_sitelib}/%{modname}/
|
%{python_sitelib}/joblib-%{version}-py*.egg-info
|
||||||
|
%{python_sitelib}/joblib/
|
||||||
# %files doc
|
|
||||||
# %defattr(-,root,root,-)
|
|
||||||
# %doc build/sphinx/html/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user