15
0
forked from pool/python-Glymur

Accepting request 1318955 from devel:languages:python

- Update to 0.14.4:
  * Add User-Agent header to powershell script for Appveyor
  * Remove remaining openjpeg<2.4 artifacts
  * Fix DeprecationWarning upon import
  * Fix test suite for python 3.14 regular expressions
  * Remove long-since-deprecated Jp2kr.read method
  * Make Jp2kr.parse method private
  * Make glymur.lib.tiff module private
  * Add doctests into circleci config
  * Add additional API examples for Jp2k, Jp2kr
  * Fix tilesize reporting
  * Refactor all of setup.cfg into pyproject.toml
  * Add description of raw IFD for geojp2 UUIDs
  * Add feature to convert JPEGs to JP2
  * Remove support for python 3.10

OBS-URL: https://build.opensuse.org/request/show/1318955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=16
This commit is contained in:
2025-11-21 15:56:46 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 9 deletions

View File

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

3
Glymur-0.14.4.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Nov 21 06:15:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.14.4:
* Add User-Agent header to powershell script for Appveyor
* Remove remaining openjpeg<2.4 artifacts
* Fix DeprecationWarning upon import
* Fix test suite for python 3.14 regular expressions
* Remove long-since-deprecated Jp2kr.read method
* Make Jp2kr.parse method private
* Make glymur.lib.tiff module private
* Add doctests into circleci config
* Add additional API examples for Jp2k, Jp2kr
* Fix tilesize reporting
* Refactor all of setup.cfg into pyproject.toml
* Add description of raw IFD for geojp2 UUIDs
* Add feature to convert JPEGs to JP2
* Remove support for python 3.10
-------------------------------------------------------------------
Mon Apr 14 05:53:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Glymur
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-Glymur
Version: 0.13.8
Version: 0.14.4
Release: 0
Summary: Tools for accessing JPEG2000 files
License: MIT
URL: https://github.com/quintusdias/glymur
Source: https://github.com/quintusdias/glymur/archive/v%{version}.tar.gz#/Glymur-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module base >= 3.11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -32,14 +32,12 @@ BuildRequires: procps
BuildRequires: python-rpm-macros
Requires: python-lxml
Requires: python-numpy
Requires: python-packaging
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scikit-image}
# /SECTION
@@ -57,6 +55,7 @@ Python interface to the OpenJPEG library
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/jp2dump
%python_clone -a %{buildroot}%{_bindir}/jpeg2jp2
%python_clone -a %{buildroot}%{_bindir}/tiff2jp2
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -67,7 +66,7 @@ donttest+="test_config_dir_on_windows"
%pytest -k "not ($donttest)"
%post
%python_install_alternative jp2dump tiff2jp2
%python_install_alternative jp2dump jpeg2jp2 tiff2jp2
%postun
%python_uninstall_alternative jp2dump
@@ -76,6 +75,7 @@ donttest+="test_config_dir_on_windows"
%doc README.md CHANGES.txt
%license LICENSE.txt
%python_alternative %{_bindir}/jp2dump
%python_alternative %{_bindir}/jpeg2jp2
%python_alternative %{_bindir}/tiff2jp2
%{python_sitelib}/glymur
%{python_sitelib}/[Gg]lymur-%{version}.dist-info