|
Orion Poplawski |
fde84b2 |
%if 0%{?fedora}
|
|
Sergio Pascual |
5292e2d |
%global with_python3 1
|
|
Orion Poplawski |
fde84b2 |
%else
|
|
Orion Poplawski |
fde84b2 |
%global with_python3 0
|
|
Orion Poplawski |
fde84b2 |
%endif
|
|
Sergio Pascual |
633ba44 |
%global srcname scikit-image
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
Name: python-scikit-image
|
|
Sergio Pascual |
fc9801c |
Version: 0.13.0
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9acc973 |
Release: 4%{?dist}
|
|
Sergio Pascual |
5292e2d |
Summary: Image processing in Python
|
|
Sergio Pascual |
5292e2d |
# The following files are BSD 2 clauses, the rest BSD 3 clauses
|
|
Sergio Pascual |
5292e2d |
# skimage/graph/_mcp.pyx
|
|
Sergio Pascual |
5292e2d |
# skimage/graph/heap.pyx
|
|
Sergio Pascual |
5292e2d |
License: BSD
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
URL: http://scikit-image.org/
|
|
Sergio Pascual |
633ba44 |
Source0: https://pypi.python.org/packages/source/s/scikit-image/scikit-image-%{version}.tar.gz
|
|
Sergio Pascual |
fc9801c |
|
|
Orion Poplawski |
cabb99e |
|
|
Orion Poplawski |
cabb99e |
BuildRequires: xorg-x11-server-Xvfb
|
|
Orion Poplawski |
cabb99e |
|
|
Orion Poplawski |
cabb99e |
%description
|
|
Orion Poplawski |
cabb99e |
The scikit-image SciKit (toolkit for SciPy) extends scipy.ndimage to provide a
|
|
Orion Poplawski |
cabb99e |
versatile set of image processing routines.
|
|
Orion Poplawski |
cabb99e |
|
|
Orion Poplawski |
cabb99e |
%package -n python2-%{srcname}
|
|
Orion Poplawski |
cabb99e |
Summary: Image processing in Python 2
|
|
Orion Poplawski |
fde84b2 |
BuildRequires: python2-devel python-setuptools numpy
|
|
Sergio Pascual |
5292e2d |
BuildRequires: scipy python-matplotlib python-nose
|
|
Orion Poplawski |
fde84b2 |
%if 0%{?rhel}
|
|
Orion Poplawski |
fde84b2 |
BuildRequires: python-matplotlib-qt4
|
|
Orion Poplawski |
fde84b2 |
%endif
|
|
Sergio Pascual |
5292e2d |
BuildRequires: python-six >= 1.3
|
|
Sergio Pascual |
6ab6891 |
BuildRequires: python-networkx-core
|
|
Sergio Pascual |
6ab6891 |
BuildRequires: python-pillow
|
|
Sergio Pascual |
2573f7d |
BuildRequires: python2-pywt
|
|
Sergio Pascual |
5292e2d |
Requires: scipy
|
|
Sergio Pascual |
5292e2d |
Requires: python-six >= 1.3
|
|
Sergio Pascual |
6ab6891 |
Requires: python-networkx-core
|
|
Sergio Pascual |
6ab6891 |
Requires: python-pillow
|
|
Sergio Pascual |
2573f7d |
Requires: python2-pywt >= 0.4.0
|
|
Orion Poplawski |
cabb99e |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
Sergio Pascual |
360c9da |
|
|
Orion Poplawski |
cabb99e |
%description -n python2-%{srcname}
|
|
Sergio Pascual |
5292e2d |
The scikit-image SciKit (toolkit for SciPy) extends scipy.ndimage to provide a
|
|
Sergio Pascual |
5292e2d |
versatile set of image processing routines.
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%if 0%{?with_python3}
|
|
Sergio Pascual |
633ba44 |
%package -n python3-%{srcname}
|
|
Orion Poplawski |
cabb99e |
Summary: Image processing in Python 3
|
|
Orion Poplawski |
fde84b2 |
BuildRequires: python3-devel python3-setuptools python3-numpy
|
|
Sergio Pascual |
5292e2d |
BuildRequires: python3-scipy python3-matplotlib python3-nose
|
|
Sergio Pascual |
5292e2d |
BuildRequires: python3-six >= 1.3
|
|
Sergio Pascual |
6ab6891 |
BuildRequires: python3-networkx-core
|
|
Sergio Pascual |
6ab6891 |
BuildRequires: python3-pillow
|
|
Sergio Pascual |
2573f7d |
BuildRequires: python3-pywt
|
|
Sergio Pascual |
5292e2d |
Requires: python3-scipy
|
|
Sergio Pascual |
5292e2d |
Requires: python3-six >= 1.3
|
|
Sergio Pascual |
6ab6891 |
Requires: python3-networkx-core
|
|
Sergio Pascual |
6ab6891 |
Requires: python3-pillow
|
|
Sergio Pascual |
2573f7d |
Requires: python3-pywt >= 0.4.0
|
|
Orion Poplawski |
cabb99e |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
633ba44 |
%description -n python3-%{srcname}
|
|
Sergio Pascual |
5292e2d |
The scikit-image SciKit (toolkit for SciPy) extends scipy.ndimage to provide a
|
|
Sergio Pascual |
5292e2d |
versatile set of image processing routines.
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
633ba44 |
%package -n %{srcname}-tools
|
|
Sergio Pascual |
5292e2d |
Summary: Scikit-image utility tools
|
|
Sergio Pascual |
5292e2d |
BuildArch: noarch
|
|
Sergio Pascual |
360c9da |
%if 0%{?with_python3}
|
|
Sergio Pascual |
633ba44 |
Requires: python3-%{srcname} = %{version}-%{release}
|
|
Sergio Pascual |
360c9da |
%else
|
|
Sergio Pascual |
633ba44 |
Requires: python2-%{srcname} = %{version}-%{release}
|
|
Sergio Pascual |
360c9da |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
633ba44 |
%description -n %{srcname}-tools
|
|
Sergio Pascual |
5292e2d |
Utilities provided by scikit-image: 'skivi'
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%prep
|
|
Sergio Pascual |
633ba44 |
%setup -n %{srcname}-%{version} -q
|
|
Sergio Pascual |
fc9801c |
#%patch0 -p1 -b .Cython
|
|
Sergio Pascual |
5292e2d |
# Remove some shebangs
|
|
Sergio Pascual |
5292e2d |
pushd skimage
|
|
Sergio Pascual |
5292e2d |
for i in $(grep -l -r "/usr/bin/env"); do
|
|
Sergio Pascual |
5292e2d |
sed -i -e '1d' $i;
|
|
Sergio Pascual |
5292e2d |
done
|
|
Sergio Pascual |
5292e2d |
popd
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%build
|
|
Orion Poplawski |
cabb99e |
%py2_build
|
|
Sergio Pascual |
5292e2d |
# Requires plot2rst
|
|
Sergio Pascual |
5292e2d |
#%{__python2} setup.py build_sphinx
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%if 0%{?with_python3}
|
|
Orion Poplawski |
cabb99e |
%py3_build
|
|
Sergio Pascual |
5292e2d |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%install
|
|
Orion Poplawski |
cabb99e |
%py2_install
|
|
Sergio Pascual |
360c9da |
|
|
Sergio Pascual |
5292e2d |
%if 0%{?with_python3}
|
|
Orion Poplawski |
cabb99e |
%py3_install
|
|
Sergio Pascual |
5292e2d |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
find %{buildroot} -name "*.so" | xargs chmod 755
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
# Checks are not working at the moment
|
|
Sergio Pascual |
35d399c |
%check
|
|
Sergio Pascual |
35d399c |
# Fake matplotlibrc
|
|
Sergio Pascual |
35d399c |
mkdir -p matplotlib
|
|
Sergio Pascual |
35d399c |
touch matplotlib/matplotlibrc
|
|
Sergio Pascual |
35d399c |
export XDG_CONFIG_HOME=`pwd`
|
|
Sergio Pascual |
35d399c |
pushd %{buildroot}/%{python2_sitearch}
|
|
Orion Poplawski |
41ebd5e |
xvfb-run nosetests-%{python2_version} skimage || :
|
|
Sergio Pascual |
35d399c |
popd
|
|
Sergio Pascual |
35d399c |
|
|
Sergio Pascual |
35d399c |
%if 0%{?with_python3}
|
|
Sergio Pascual |
35d399c |
# Fake matplotlibrc
|
|
Sergio Pascual |
35d399c |
mkdir -p matplotlib
|
|
Sergio Pascual |
35d399c |
touch matplotlib/matplotlibrc
|
|
Sergio Pascual |
35d399c |
export XDG_CONFIG_HOME=`pwd`
|
|
Sergio Pascual |
35d399c |
pushd %{buildroot}/%{python3_sitearch}
|
|
Orion Poplawski |
41ebd5e |
xvfb-run nosetests-%{python3_version} skimage || :
|
|
Sergio Pascual |
35d399c |
popd
|
|
Sergio Pascual |
35d399c |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Orion Poplawski |
cabb99e |
%files -n python2-%{srcname}
|
|
Sergio Pascual |
6ab6891 |
%doc CONTRIBUTORS.txt DEPENDS.txt RELEASE.txt TASKS.txt
|
|
Sergio Pascual |
6ab6891 |
%license LICENSE.txt
|
|
Sergio Pascual |
5292e2d |
%{python2_sitearch}/skimage
|
|
Sergio Pascual |
5292e2d |
%{python2_sitearch}/scikit_image-*.egg-info
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%if 0%{?with_python3}
|
|
Sergio Pascual |
633ba44 |
%files -n python3-%{srcname}
|
|
Sergio Pascual |
6ab6891 |
%doc CONTRIBUTORS.txt DEPENDS.txt RELEASE.txt TASKS.txt
|
|
Sergio Pascual |
6ab6891 |
%license LICENSE.txt
|
|
Sergio Pascual |
5292e2d |
%{python3_sitearch}/skimage
|
|
Sergio Pascual |
5292e2d |
%{python3_sitearch}/scikit_image-*.egg-info
|
|
Sergio Pascual |
5292e2d |
%endif # with_python3
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
633ba44 |
%files -n %{srcname}-tools
|
|
Sergio Pascual |
5292e2d |
%{_bindir}/skivi
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9acc973 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9acc973 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
9acc973 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e0256ed |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-3
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e0256ed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e0256ed |
|
|
Sergio Pascual |
2573f7d |
* Thu Jun 01 2017 Sergio Pascual <sergiopr@fedoraproject.org> - 0.13.0-2
|
|
Sergio Pascual |
2573f7d |
- Add dependency on pywt (PyWavelets)
|
|
Sergio Pascual |
2573f7d |
|
|
Sergio Pascual |
fc9801c |
* Mon May 15 2017 Sergio Pascual <sergiopr@fedoraproject.org> - 0.13.0-1
|
|
Sergio Pascual |
fc9801c |
- New upstream version (0.13.0)
|
|
Sergio Pascual |
fc9801c |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
db70afc |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-7
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
db70afc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
db70afc |
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
a7bbcbf |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.12.3-6
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
a7bbcbf |
- Rebuild for Python 3.6
|
|
![](https://seccdn.libravatar.org/avatar/3c06a168eac5e10baa83f960445b9b006df35865b76dcf7a899f6215ea86b54f?s=16&d=retro) |
a7bbcbf |
|
|
Orion Poplawski |
fde84b2 |
* Tue Aug 16 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.3-5
|
|
Orion Poplawski |
fde84b2 |
- Remove Cython build requirement
|
|
Orion Poplawski |
fde84b2 |
- Only build python3 for Fedora
|
|
Orion Poplawski |
fde84b2 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ecd6927 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ecd6927 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
ecd6927 |
|
|
Orion Poplawski |
41ebd5e |
* Wed Apr 6 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.3-3
|
|
Orion Poplawski |
41ebd5e |
- Run tests, but do not abort build on failure
|
|
Orion Poplawski |
cabb99e |
- Drop py3dir, use new python macros
|
|
Orion Poplawski |
41ebd5e |
|
|
Sergio Pascual |
eb54a46 |
* Tue Mar 29 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.12.3-2
|
|
Sergio Pascual |
633ba44 |
- New upstream source
|
|
Sergio Pascual |
633ba44 |
- Disable tests for the moment
|
|
Sergio Pascual |
633ba44 |
|
|
Sergio Pascual |
360c9da |
* Fri Feb 19 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.3-8
|
|
Sergio Pascual |
360c9da |
- skivi uses python3 (bz #1309240)
|
|
Sergio Pascual |
360c9da |
- Provides "versioned" python2-scikit-image
|
|
Sergio Pascual |
360c9da |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
73721d2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-7
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
73721d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
73721d2 |
|
|
Sergio Pascual |
681fa9c |
* Tue Jan 05 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.3-6
|
|
Sergio Pascual |
681fa9c |
- Tarball without problematic copyrigth images (fixes bz #1295193)
|
|
Sergio Pascual |
681fa9c |
|
|
Sergio Pascual |
78b043d |
* Mon Nov 23 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.3-5
|
|
Sergio Pascual |
78b043d |
- Provides python2-scikit-image
|
|
Sergio Pascual |
78b043d |
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
2879c77 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-4
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
2879c77 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
![](https://seccdn.libravatar.org/avatar/4e8d68fe76de63043f2c89e9e363e4dc5af5775e488004cc7a8398c86381b072?s=16&d=retro) |
2879c77 |
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
f41ed31 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
f41ed31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/f970308d71f3ca61b27e8dd3eff4452513db64aa06f933115f14504cd846b4df?s=16&d=retro) |
f41ed31 |
|
|
Sergio Pascual |
6712e7a |
* Thu May 21 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.3-2
|
|
Sergio Pascual |
6712e7a |
- Disable tests
|
|
Sergio Pascual |
35d399c |
- New upstream version (0.11.3)
|
|
Sergio Pascual |
35d399c |
|
|
Sergio Pascual |
e9d9c31 |
* Thu Mar 12 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.2-1
|
|
Sergio Pascual |
e9d9c31 |
- New upstream version (0.11.2)
|
|
Sergio Pascual |
e9d9c31 |
|
|
Sergio Pascual |
6ab6891 |
* Wed Feb 04 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.0-1
|
|
Sergio Pascual |
6ab6891 |
- New upstream version
|
|
Sergio Pascual |
6ab6891 |
|
|
Sergio Pascual |
5292e2d |
* Tue Jul 29 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.10.1-2
|
|
Sergio Pascual |
5292e2d |
- Remove __provides_exclude_from, is not needed in f20+
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
* Wed Jul 09 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.10.1-1
|
|
Sergio Pascual |
5292e2d |
- New upstream 0.10.1
|
|
Sergio Pascual |
5292e2d |
|
|
Sergio Pascual |
5292e2d |
* Thu Apr 18 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.9.3-1
|
|
Sergio Pascual |
5292e2d |
- Initial spec file
|
|
Sergio Pascual |
5292e2d |
|