From 0367e88bf1fc43fa941240d99e36e57bb53b1fefa02a7dd7682339adb151925e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 Jan 2024 21:06:12 +0000 Subject: [PATCH] - 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 --- imread-0.7.4.tar.gz | 3 --- imread-0.7.5.tar.gz | 3 +++ python-imread.changes | 10 ++++++++-- python-imread.spec | 19 +++++++++---------- 4 files changed, 20 insertions(+), 15 deletions(-) delete mode 100644 imread-0.7.4.tar.gz create mode 100644 imread-0.7.5.tar.gz diff --git a/imread-0.7.4.tar.gz b/imread-0.7.4.tar.gz deleted file mode 100644 index 4432be4..0000000 --- a/imread-0.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0487adef11a22168700968c1727020361a72f6132b6ced2b8826b02d8cbf744f -size 151570 diff --git a/imread-0.7.5.tar.gz b/imread-0.7.5.tar.gz new file mode 100644 index 0000000..8320772 --- /dev/null +++ b/imread-0.7.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a25a9035dbc1ae2e56c15b50904071d555ea197eef58ca1d9117349db470db7 +size 130022 diff --git a/python-imread.changes b/python-imread.changes index 200991c..4a7a79e 100644 --- a/python-imread.changes +++ b/python-imread.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 6 21:05:08 UTC 2024 - Dirk Müller + +- 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 -- 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 @@ -17,7 +23,7 @@ Tue Apr 14 12:26:14 UTC 2020 - Marketa Calabkova - 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 diff --git a/python-imread.spec b/python-imread.spec index 03b046c..57562c6 100644 --- a/python-imread.spec +++ b/python-imread.spec @@ -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