Accepting request 1138197 from devel:languages:python

- Update to 0.12.9post1:
  * Fix setup.cfg for v0.12.9 release
  * Fix handling of null-bytes with XML data
  * Add API references to docs
  * Qualify on python 3.12
  * Fix printing issue on 3.12beta, Fedora rawhide
  * Fix failing test on fedora
  * Change private attribute to prevent downstream test failure with tiatoolbox
  * Fix conversion of uint16 TIFFs to single jp2 tile.
  * Fix command line arguments --psnr and --cratio.
  * Minor documentation updates.
  * Add --num-threads option to tiff2jp2.
  * Refactor GeoJP2 code to get support for GML-JP2.
  * Fix broken uint16 test.
  * Fix stripped tiff oddity with partial last strip.
  * Refactor RGBA interface.
  * Fix plane ordering on RGBA TIFFs on big-endian
  * Fix TIFF reads on partian final strips
  * Fix regression on default value of numres.
  * Add support for type hints.
  * Remove support for Python 3.8.
  * Fix error condition when MCT specified as false for grayscale image.
  * Make properties conform to numpydoc.
  * Fix YCbCr/JPEG TIFF conversion test failure on Fedora.
  * Stop using libtiff to create test files on the fly.
  * Do not error out for JP2 files with multiple codestreams.
  * Relax validation for invalid JP2 files with multiple jp2h boxes.
  * Drop support for python 3.7.
  * Add support for ICC profiles, colormaps when converting from TIFF.
  * Add shortcut for retrieving lowest resolution thumbnail.

OBS-URL: https://build.opensuse.org/request/show/1138197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2024-01-12 22:45:35 +00:00 committed by Git OBS Bridge
commit 4f326374b4
5 changed files with 50 additions and 31 deletions

View File

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

View File

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

View File

@ -1,21 +0,0 @@
Index: glymur-0.10.1/setup.cfg
===================================================================
--- glymur-0.10.1.orig/setup.cfg
+++ glymur-0.10.1/setup.cfg
@@ -28,7 +28,6 @@ install_requires =
numpy
lxml
packaging
- setuptools
python_requires = >=3.7
include_package_data = True
zip_safe = False
@@ -43,3 +42,8 @@ glymur =
data/*.jp2
data/*.jpx
data/*.j2k
+
+[options.packages.find]
+exclude =
+ tests
+ tests.*

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Fri Jan 12 04:57:57 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.12.9post1:
* Fix setup.cfg for v0.12.9 release
* Fix handling of null-bytes with XML data
* Add API references to docs
* Qualify on python 3.12
* Fix printing issue on 3.12beta, Fedora rawhide
* Fix failing test on fedora
* Change private attribute to prevent downstream test failure with tiatoolbox
* Fix conversion of uint16 TIFFs to single jp2 tile.
* Fix command line arguments --psnr and --cratio.
* Minor documentation updates.
* Add --num-threads option to tiff2jp2.
* Refactor GeoJP2 code to get support for GML-JP2.
* Fix broken uint16 test.
* Fix stripped tiff oddity with partial last strip.
* Refactor RGBA interface.
* Fix plane ordering on RGBA TIFFs on big-endian
* Fix TIFF reads on partian final strips
* Fix regression on default value of numres.
* Add support for type hints.
* Remove support for Python 3.8.
* Fix error condition when MCT specified as false for grayscale image.
* Make properties conform to numpydoc.
* Fix YCbCr/JPEG TIFF conversion test failure on Fedora.
* Stop using libtiff to create test files on the fly.
* Do not error out for JP2 files with multiple codestreams.
* Relax validation for invalid JP2 files with multiple jp2h boxes.
* Drop support for python 3.7.
* Add support for ICC profiles, colormaps when converting from TIFF.
* Add shortcut for retrieving lowest resolution thumbnail.
* Remove setuptools from runtime requirement.
* Improve pretty-printing of Exif UUIDs, TLM segments.
* Change default value of --create-xmp-uuid to True.
* Error out early when writing 1x1 tile-by-tile
* Do not install test, test.data packages
* Fix reads where COD segment not at index[2]
* Fix ResolutionBox with tiff2jp2
- Drop patch glymur-pr553-no-setuptools.patch, included upstream.
-------------------------------------------------------------------
Thu Sep 22 19:12:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Glymur
#
# Copyright (c) 2022 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,17 +16,15 @@
#
%define dotted_version 0.12.9.post1
Name: python-Glymur
Version: 0.11.3
Version: 0.12.9post1
Release: 0
Summary: Tools for accessing JPEG2000 files
License: MIT
Group: Development/Languages/Python
URL: https://github.com/quintusdias/glymur
Source: https://github.com/quintusdias/glymur/archive/v%{version}.tar.gz#/Glymur-%{version}.tar.gz
# PATCH-FIX-UPSTREAM glymur-pr553-no-setuptools.patch gh#quintusdias/glymur#553 + gh#quintusdias/glymur#554
Patch1: glymur-pr553-no-setuptools.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@ -81,6 +79,6 @@ donttest+="test_config_dir_on_windows"
%python_alternative %{_bindir}/jp2dump
%python_alternative %{_bindir}/tiff2jp2
%{python_sitelib}/glymur
%{python_sitelib}/Glymur-%{version}*-info
%{python_sitelib}/Glymur-%{dotted_version}.dist-info
%changelog