Compare commits

12 Commits

Author SHA256 Message Date
27b72a1470 Accepting request 1248167 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1248167
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exiv2?expand=0&rev=13
2025-02-25 15:47:06 +00:00
3f482cbe27 Accepting request 1248104 from home:glaubitz:branches:devel:languages:python
- Update to 0.17.3
  * Binary wheels incorporate libexiv2 v0.28.5.

OBS-URL: https://build.opensuse.org/request/show/1248104
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=36
2025-02-24 14:28:59 +00:00
f82570de21 Accepting request 1246961 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1246961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exiv2?expand=0&rev=12
2025-02-19 14:59:37 +00:00
64534c79e9 Accepting request 1246883 from home:glaubitz:branches:devel:languages:python
- Update to 0.17.2
  * Binary wheels incorporate libexiv2 v0.28.4.
  * Fix TimeValue test when run with local negative UTC offset.

OBS-URL: https://build.opensuse.org/request/show/1246883
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=34
2025-02-19 08:49:47 +00:00
db2f64e188 Accepting request 1227179 from devel:languages:python
- Fix building
- Enable tests
- Add skip_network_tests.patch to mark network-requiring tests
  and skip them

- Update to 0.17.1:
  * Update README and INSTALL docs
  * Allow linux libdir name to be 'lib64' or 'lib'
  * Test localised exception with non-ASCII characters
- Updates from 0.17.0:
  * API change: derived classes of BasicIo are omitted from Python.
  * enableBMFF() function is deprecated.
  * Documentation is available on
    https://python-exiv2.readthedocs.io/
- Updates from 0.16.2:
  * Removed AnyError alias of Exiv2Error exception.
  * Metadatum.print() method is no longer renamed to _print.
  * Improved handling of enums:
  * Enum results are returned as Python enum instead of int.
  * Passing ints as enum parameters is deprecated.
  * Added dict-like behaviour to "data" structs.
  * Log handlers can be set/cleared from Python.
  * SWIG v4.1.0 or later required to run SWIG.
- Updates from 0.16.0:
  * Include native language support in Windows binary wheel builds.
  * API change: DateValue.getDate() returns Python dict.
  * API change: TimeValue.getTime() returns Python dict.
  * Deprecated: exiv2.Date and exiv2.Time objects.
  * Added buffer interface to PreviewImage
  * Set datum value from Python object directly instead of via

OBS-URL: https://build.opensuse.org/request/show/1227179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exiv2?expand=0&rev=11
2024-11-28 21:43:24 +00:00
c7ba640d4d - Fix building
- Enable tests
- Add skip_network_tests.patch to mark network-requiring tests
  and skip them

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=32
2024-11-28 17:58:42 +00:00
38c2408a65 WIP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=31
2024-11-26 02:17:11 +00:00
5ba6440a01 Fix SLE-15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=30
2024-11-26 01:58:59 +00:00
daf18d6d79 - Fix building.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=29
2024-11-26 01:54:50 +00:00
ca0eaf170b We actually do not need pytest.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=28
2024-11-25 23:48:43 +00:00
cb2797368e - Enable tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=27
2024-11-25 23:34:41 +00:00
c58fe92efa Accepting request 1226079 from home:smolsheep:upgrades
- Update to 0.17.1:
  * Update README and INSTALL docs
  * Allow linux libdir name to be 'lib64' or 'lib'
  * Test localised exception with non-ASCII characters
- Updates from 0.17.0:
  * API change: derived classes of BasicIo are omitted from Python.
  * enableBMFF() function is deprecated.
  * Documentation is available on
    https://python-exiv2.readthedocs.io/
- Updates from 0.16.2:
  * Removed AnyError alias of Exiv2Error exception.
  * Metadatum.print() method is no longer renamed to _print.
  * Improved handling of enums:
  * Enum results are returned as Python enum instead of int.
  * Passing ints as enum parameters is deprecated.
  * Added dict-like behaviour to "data" structs.
  * Log handlers can be set/cleared from Python.
  * SWIG v4.1.0 or later required to run SWIG.
- Updates from 0.16.0:
  * Include native language support in Windows binary wheel builds.
  * API change: DateValue.getDate() returns Python dict.
  * API change: TimeValue.getTime() returns Python dict.
  * Deprecated: exiv2.Date and exiv2.Time objects.
  * Added buffer interface to PreviewImage
  * Set datum value from Python object directly instead of via
    string.
  * Moved Position enum to BasicIo class.
  * Moved CharsetId enum to CommentValue class.
  * Moved XmpArrayType and XmpStruct enums to XmpValue class.
  * Added enums for LogMsg.Level
  * More exiv2 structs are iterable for easy conversion to Python
    dict.
- Updates from 0.15.0:
  * Added __version_tuple__ for easy runtime version testing.
  * exiv2.testVersion() can be called from Python.
  * exiv2.DataBuf can be created from Python data.
  * Most data() methods return a Python memoryview.
  * exiv2.DataBuf and exiv2.BasicIo have writeable Python buffer
    interface.

OBS-URL: https://build.opensuse.org/request/show/1226079
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=26
2024-11-25 23:25:42 +00:00
4 changed files with 4 additions and 41 deletions

3
0.17.3.tar.gz Normal file
View File

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

View File

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

View File

@@ -1,40 +1,3 @@
-------------------------------------------------------------------
Tue Oct 28 08:55:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.18.0
* Removed features deprecated in v0.13.0:
Value (and derived types) copy constructors
Single value (such as DateValue) index methods
DataBuf indexing.
* Deprecated many BasicIo methods (read, write, seek, etc.) that should not
be needed in Python scripts. Please let me know if this is a problem.
* Deprecated copy, write, and read(buffer) methods of Value (and
subclasses) that should not be needed in Python scripts. Please let me
know if this is a problem.
* Deprecated copy and write methods of Metadatum (and subclasses) that
should not be needed in Python scripts. Please let me know if this is a
problem.
* Deprecated 'buffer interface' to BasicIo, DataBuf, and PreviewImage. They
all have 'data()' to get their contents.
* Added binary wheels for Linux on arm64.
* Exiv2 struct member names with a trailing underscore have more Pythonic
aliases without the underscore.
* Add data() method to exiv2.PreviewImage, deprecate pData() method.
* Add data() method to exiv2.Image. This will replace using Image.io().
* Add data() method to exiv2.DataValue.
* BasicIo.read (& readOrThrow) now extract count from the buffer size.
* Invalidate data iterators if data is deleted. (Requires swig >= 4.4)
* Deprecated iteration of exiv2 "data" structure types.
* API CHANGE: exiv2.LogMsg.pythonHandler is replaced by exiv2.pythonHandler
-------------------------------------------------------------------
Fri Sep 26 06:51:44 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.17.5
* Binary wheels incorporate libexiv2 v0.28.7
- from version 0.17.4
* Binary wheels incorporate libexiv2 v0.28.5
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 24 10:47:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Feb 24 10:47:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-exiv2 Name: python-exiv2
Version: 0.18.0 Version: 0.17.3
Release: 0 Release: 0
Summary: Python3 bindings for the exiv2 library Summary: Python3 bindings for the exiv2 library
License: GPL-3.0-only License: GPL-3.0-only