Accepting request 866240 from home:bnavigator:branches:devel:languages:python
- Update to 0.9.3 * Qualify on Python 3.9 * Qualify on OpenJPEG 2.4.0 * Add support for multithreaded writes. - Always require importlib_resources for tests: the new python36 flavor on TW needs it, the python38 flavor is okay with it being installed. OBS-URL: https://build.opensuse.org/request/show/866240 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=15
This commit is contained in:
parent
98c5ec3d4e
commit
a5d997ba41
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9588a9918fac1b4ccffce0f5ca944ae26a12fc26b5ca68ed3f3fcbcce36477ad
|
|
||||||
size 3418731
|
|
3
Glymur-0.9.3.tar.gz
Normal file
3
Glymur-0.9.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:71acacd31807109f52f4526d0539c6171b8d67c357555e936b733c1c3529754a
|
||||||
|
size 3418726
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 23 12:18:53 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.9.3
|
||||||
|
* Qualify on Python 3.9
|
||||||
|
* Qualify on OpenJPEG 2.4.0
|
||||||
|
* Add support for multithreaded writes.
|
||||||
|
- Always require importlib_resources for tests: the new python36
|
||||||
|
flavor on TW needs it, the python38 flavor is okay with it being
|
||||||
|
installed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Tue Jul 14 16:55:39 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Glymur
|
# spec file for package python-Glymur
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-Glymur
|
Name: python-Glymur
|
||||||
Version: 0.9.2
|
Version: 0.9.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for accessing JPEG2000 files
|
Summary: Tools for accessing JPEG2000 files
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -36,13 +36,11 @@ Requires(postun): update-alternatives
|
|||||||
Recommends: python-lxml
|
Recommends: python-lxml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module importlib_resources}
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
BuildRequires: %{python_module numpy >= 1.7.1}
|
BuildRequires: %{python_module numpy >= 1.7.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module scikit-image}
|
BuildRequires: %{python_module scikit-image}
|
||||||
%if 0%{?suse_version} <= 1500
|
|
||||||
BuildRequires: %{python_module importlib_resources}
|
|
||||||
%endif
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -57,10 +55,11 @@ Python interface to the OpenJPEG library
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# don't install tests
|
|
||||||
rm -rf %{buildroot}%{python_sitelib}/tests
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/jp2dump
|
%python_clone -a %{buildroot}%{_bindir}/jp2dump
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand # don't install tests
|
||||||
|
rm -rf %{buildroot}%{$python_sitelib}/tests
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
@ -76,6 +75,6 @@ rm -rf %{buildroot}%{python_sitelib}/tests
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%python_alternative %{_bindir}/jp2dump
|
%python_alternative %{_bindir}/jp2dump
|
||||||
%{python_sitelib}/glymur*
|
%{python_sitelib}/glymur*
|
||||||
%{python_sitelib}/Glymur*
|
%{python_sitelib}/Glymur-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user