1
0
forked from pool/python-Glymur

35 Commits

Author SHA256 Message Date
2c42bc7381 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
2025-11-21 15:56:46 +00:00
1b8e82b621 - 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/package/show/devel:languages:python/python-Glymur?expand=0&rev=35
2025-11-21 06:15:26 +00:00
5c9d232d23 Accepting request 1269074 from devel:languages:python
- Support both lowercased and unnormalized metadata directory names.

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1269074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=15
2025-04-14 10:59:35 +00:00
ba2e4d13f0 - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=33
2025-04-14 05:53:27 +00:00
9d5f20bb90 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=32
2025-03-25 04:19:19 +00:00
1f1228508d Accepting request 1240500 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=14
2025-01-27 19:56:02 +00:00
525611265d - Update to 0.13.8
* Fix tiff2jp2 bug when stripped TIFF has no RowsPerStrip tag

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=30
2025-01-27 10:59:56 +00:00
9c1541f000 Accepting request 1239857 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=13
2025-01-23 17:05:42 +00:00
a38eb641b7 - Update to 0.13.7
* Qualify on python 3.13
  * Fix test warnings due to scikit-image deprecation.
  * Update CI test matrix, tighten 3rd party library requirements.
  * Add ability to construct XML box from file-like object.
  * Add circle-ci CI.
  * Fix test suite for numpy 2.x printing (thanks to Arne Keller).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=28
2025-01-23 12:14:45 +00:00
dfbb51a30a Accepting request 1199748 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=12
2024-09-10 19:13:30 +00:00
4f326374b4 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
2024-01-12 22:45:35 +00:00
9a75284898 - 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/package/show/devel:languages:python/python-Glymur?expand=0&rev=24
2024-01-12 04:59:23 +00:00
b68b249316 Accepting request 1005483 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1005483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=10
2022-09-23 12:15:15 +00:00
e0dda4c3d6 Accepting request 1005478 from home:yarunachalam:branches:devel:languages:python
- Update to v0.11.7
  * Error out early when writing 1x1 tile-by-tile
- Update to v0.11.6
  * Do not install test, test.data packages
  * Fix Changelog regarding v0.11.6
  * Fix reads where COD segment not at index[2]
  * This fix not included in 0.11.5
- Update to v0.11.5
  * Fix reads where COD segment not at index[2]
- Update to v0.11.4
  * Fix ResolutionBox with tiff2jp2 
- Update to v0.11.3
  * Fix placement of Resolutionbox
- Update to v0.11.2
  * Relax ResolutionBox requirement on child boxes.
- Update to v0.11.1
  * Improve efficiency of striped TIFF to tiled JP2 conversion.
- Update to v0.11.0
  * Add options for supporting ResolutionBoxes.
  * Fix ctypes interface to C library on windows.
  * Add option to convert XMLPacket into UUID box.
  * Add option for excluding tags from Exif UUID box.

OBS-URL: https://build.opensuse.org/request/show/1005478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=22
2022-09-22 19:43:15 +00:00
aef78be3f3 Accepting request 997537 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/997537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=9
2022-08-17 16:17:11 +00:00
94dacb2712 Accepting request 997443 from home:yarunachalam:branches:devel:languages:python
- Update to v0.10.2
    Fix appveyor builds
    Fix tiff2jp2 when ExifTag is present
    Address warnings in TIFF interface
    Update glymur.config documentation

OBS-URL: https://build.opensuse.org/request/show/997443
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=20
2022-08-17 12:39:10 +00:00
b557bbdacb Accepting request 988319 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/988319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=8
2022-07-11 17:09:43 +00:00
c0f6d713ab Accepting request 987970 from home:bnavigator:branches:devel:languages:python
- Update to v0.10.1
  * Add write capability for Resolution boxes
  * Add example documentation for reading layers
- Release v0.10.0
  * Allow parsing of Exif UUIDs missing the EXIF\00\00 lead-in
  * Add read support for additional Exif tags
  * Add support for TLM segment generation
- Release  v0.9.9
  * Fix bug retrieving some TIFF tags on big endian systems
- Release v0.9.7
  * Remove distutils in favor of setuptools
  * Add recognition of IMF profiles
  * Add ndim, dtype properties
- Release v0.9.5
  * Add support for generation of PLT markers
  * Add support for converting TIFFs to JPEG 2000
- Release v0.9.4
  * Add support for writing images tile-by-tile
  * Add support for opj_set_decoded_components
  * Remove support for Python 3.6
- Add glymur-pr553-no-setuptools.patch
  * gh#quintusdias/glymur#553 + gh#quintusdias/glymur#554

OBS-URL: https://build.opensuse.org/request/show/987970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=18
2022-07-11 09:36:09 +00:00
e4dee1fda6 Accepting request 871407 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/871407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=7
2021-02-19 22:43:16 +00:00
e10cf3cd00 Accepting request 871229 from home:bnavigator:branches:devel:languages:python
- NEP 29: NumPy dropped Python 3.6 -- skip python36 build in TW
- Make importlib_resources conditional for Python < 3.7 (SLE/Leap)

OBS-URL: https://build.opensuse.org/request/show/871229
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=16
2021-02-12 10:56:44 +00:00
a5d997ba41 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
2021-01-23 22:27:23 +00:00
8a384c3df1 Accepting request 820974 from devel:languages:python
- Update to 0.9.2:
 * Update setup.py to include tests in source distribution to PyPi
 * Update gdal imports to comply with GDAL recommendations.
 * Don't install tests

OBS-URL: https://build.opensuse.org/request/show/820974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=6
2020-07-15 09:29:35 +00:00
98c5ec3d4e Add BR importlib_resources
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=13
2020-07-14 19:41:09 +00:00
3f2258d4d1 - Don't install tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=12
2020-07-14 16:55:49 +00:00
c5771d3e2c - update to 0.9.2
* Update setup.py to include tests in source distribution to PyPi
 * Update gdal imports to comply with GDAL recommendations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=11
2020-07-09 16:15:12 +00:00
6626e9600e Accepting request 809364 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=5
2020-05-28 07:16:44 +00:00
Tomáš Chvátal
3009d5df89 Accepting request 809265 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=9
2020-05-27 10:06:19 +00:00
a0e66d2875 Accepting request 788483 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=4
2020-03-26 22:34:14 +00:00
Tomáš Chvátal
db2d72c962 Accepting request 788478 from home:mcalabkova:branches:devel:languages:python
- update to 0.9.1
  * Removed support for python2.7
  * Fixed Cygwin support.
  * Fixed appveyor builds, Travis-CI framework reworked.
  * Some fragile tests removed.
  * Remove GDAL from setup.py requirements

OBS-URL: https://build.opensuse.org/request/show/788478
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=7
2020-03-26 10:33:28 +00:00
554e31671a Accepting request 764115 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/764115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=3
2020-01-13 21:23:26 +00:00
92e1173e1f Accepting request 764083 from home:mcalabkova:branches:devel:languages:python
- update to 0.8.19
  * Qualify on Python 3.8.

OBS-URL: https://build.opensuse.org/request/show/764083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=5
2020-01-13 19:07:03 +00:00
b06d243fb3 Accepting request 754758 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/754758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=2
2019-12-07 14:08:31 +00:00
Todd R
bd387144f8 Accepting request 754757 from home:TheBlackCat:branches:devel:languages:python
- Disable python2 support since dependencies dropped python2
- Use pytest to simplify test invocation

OBS-URL: https://build.opensuse.org/request/show/754757
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=3
2019-12-06 19:05:54 +00:00
cfd6bbb2ba Accepting request 733618 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/733618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Glymur?expand=0&rev=1
2019-09-27 12:53:36 +00:00
Tomáš Chvátal
ea8a59fd95 - Initial commit, needed by sunpy
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=1
2019-09-27 08:28:44 +00:00
5 changed files with 56 additions and 13 deletions

View File

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

View File

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

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,49 @@
-------------------------------------------------------------------
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>
- Support both lowercased and unnormalized metadata directory names.
-------------------------------------------------------------------
Tue Mar 25 04:19:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Mon Jan 27 10:38:41 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.13.8
* Fix tiff2jp2 bug when stripped TIFF has no RowsPerStrip tag
-------------------------------------------------------------------
Thu Jan 23 10:12:59 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.13.7
* Qualify on python 3.13
* Fix test warnings due to scikit-image deprecation.
* Update CI test matrix, tighten 3rd party library requirements.
* Add ability to construct XML box from file-like object.
* Add circle-ci CI.
* Fix test suite for numpy 2.x printing (thanks to Arne Keller).
-------------------------------------------------------------------
Mon Sep 9 12:43:48 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Glymur
#
# Copyright (c) 2024 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.6
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,8 +75,9 @@ 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}/Glymur-%{version}.dist-info
%{python_sitelib}/[Gg]lymur-%{version}.dist-info
%changelog