- Update to 0.13.6
* Refactor Jp2k class into Jp2k, Jp2kr * Remove python 3.8 anachronisms * Change parsing of precinct sizes due to numpy 2.0 * End official support for OpenJPEG 2.3.x * Fix tiff2jp2 when tile coverage not square OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=26
This commit is contained in:
commit
aad8fc35aa
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
Glymur-0.12.9post1.tar.gz
Normal file
3
Glymur-0.12.9post1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:15b0b439e6a0f9261148e32fe9df3e00e90f47beabc8d6b80857b1e097a717c3
|
||||
size 4552642
|
3
Glymur-0.13.6.tar.gz
Normal file
3
Glymur-0.13.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:30aa8cb81341397949a4bf35e01f7a43756fbd531f0eda575f6c07ab7e1916d2
|
||||
size 4566291
|
180
python-Glymur.changes
Normal file
180
python-Glymur.changes
Normal file
@ -0,0 +1,180 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 12:43:48 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 0.13.6
|
||||
* Refactor Jp2k class into Jp2k, Jp2kr
|
||||
* Remove python 3.8 anachronisms
|
||||
* Change parsing of precinct sizes due to numpy 2.0
|
||||
* End official support for OpenJPEG 2.3.x
|
||||
* Fix tiff2jp2 when tile coverage not square
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 16 16:32:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to v0.10.2
|
||||
Fix appveyor builds
|
||||
Fix tiff2jp2 when ExifTag is present
|
||||
Address warnings in TIFF interface
|
||||
Update glymur.config documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 7 19:14:14 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 11 00:02:44 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- NEP 29: NumPy dropped Python 3.6 -- skip python36 build in TW
|
||||
- Make importlib_resources conditional for Python < 3.7 (SLE/Leap)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Don't install tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 16:12:50 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.9.2
|
||||
* Update setup.py to include tests in source distribution to PyPi
|
||||
* Update gdal imports to comply with GDAL recommendations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 06:34:26 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 26 10:14:42 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 16:24:39 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 0.8.19
|
||||
* Qualify on Python 3.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 18:44:56 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Disable python2 support since dependencies dropped python2
|
||||
- Use pytest to simplify test invocation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 27 08:01:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Initial commit, needed by sunpy
|
83
python-Glymur.spec
Normal file
83
python-Glymur.spec
Normal file
@ -0,0 +1,83 @@
|
||||
#
|
||||
# spec file for package python-Glymur
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-Glymur
|
||||
Version: 0.13.6
|
||||
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 pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
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
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python interface to the OpenJPEG library
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n glymur-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/jp2dump
|
||||
%python_clone -a %{buildroot}%{_bindir}/tiff2jp2
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test says: "SCENARIO: the XDG_CONFIG_HOME environment variable is not present"
|
||||
# which is not true with our pytest macro
|
||||
donttest+="test_config_dir_on_windows"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%post
|
||||
%python_install_alternative jp2dump tiff2jp2
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative jp2dump
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md CHANGES.txt
|
||||
%license LICENSE.txt
|
||||
%python_alternative %{_bindir}/jp2dump
|
||||
%python_alternative %{_bindir}/tiff2jp2
|
||||
%{python_sitelib}/glymur
|
||||
%{python_sitelib}/Glymur-%{version}.dist-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user