15
0
forked from pool/python-imread

- update to 0.7.5:

* Fix build issue
- Don't build on Python 3.6, due to no NumPy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-imread?expand=0&rev=10
This commit is contained in:
2024-01-06 21:06:12 +00:00
committed by Git OBS Bridge
parent 8da20fb83d
commit 0367e88bf1
4 changed files with 20 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0487adef11a22168700968c1727020361a72f6132b6ced2b8826b02d8cbf744f
size 151570

3
imread-0.7.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a25a9035dbc1ae2e56c15b50904071d555ea197eef58ca1d9117349db470db7
size 130022

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 6 21:05:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.7.5:
* Fix build issue
-------------------------------------------------------------------
Wed Oct 27 10:04:03 UTC 2021 - pgajdos@suse.com
@@ -9,7 +15,7 @@ Wed Oct 27 10:04:03 UTC 2021 - pgajdos@suse.com
-------------------------------------------------------------------
Mon Apr 19 03:22:18 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Don't build on Python 3.6, due to no NumPy.
- Don't build on Python 3.6, due to no NumPy.
-------------------------------------------------------------------
Tue Apr 14 12:26:14 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
@@ -17,7 +23,7 @@ Tue Apr 14 12:26:14 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.7.4
* Add missing data to distribution
* Fix several memory access bugs in parsers (reported by Robert Scott)
-------------------------------------------------------------------
Wed May 22 10:57:59 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-imread
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,19 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-imread
Version: 0.7.4
Version: 0.7.5
Release: 0
Summary: Image reading library
License: MIT
URL: http://luispedro.org/software/imread
Source: https://files.pythonhosted.org/packages/source/i/imread/imread-%{version}.tar.gz
# https://github.com/luispedro/imread/issues/39
Patch0: python-imread-remove-nose.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: giflib-devel
@@ -58,15 +57,14 @@ imsave
%prep
%setup -q -n imread-%{version}
%patch0 -p1
%build
export EXCLUDE_WEBP=0
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -77,6 +75,7 @@ pushd imread
%files %{python_files}
%doc ChangeLog README.rst
%license COPYING.MIT
%{python_sitearch}/*
%{python_sitearch}/imread
%{python_sitearch}/imread-%{version}.dist-info
%changelog