forked from pool/python-imageio
Accepting request 599627 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/599627 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imageio?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
918cac6f2f
commit
151cf96e69
@@ -16,18 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests don't work without internet
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-imageio
|
||||
Version: 2.1.2
|
||||
Version: 2.3.0
|
||||
Release: 0
|
||||
Summary: Python library for reading and writing image, video, and related formats
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://imageio.github.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.zip
|
||||
URL: http://imageio.github.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/i/imageio/imageio-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -35,17 +34,15 @@ BuildRequires: fdupes
|
||||
BuildRequires: ffmpeg
|
||||
BuildRequires: libfreeimage3
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: ffmpeg
|
||||
Requires: libfreeimage3
|
||||
Requires: python-numpy
|
||||
Recommends: libfreeimageplus3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -75,8 +72,10 @@ popd
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CONTRIBUTORS.txt LICENSE README.md
|
||||
%license LICENSE
|
||||
%doc CONTRIBUTORS.txt README.md
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_bindir}/imageio_download_bin
|
||||
%python3_only %{_bindir}/imageio_remove_bin
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user