From 69e8801cea1729581d74dc224b00649e35ca21bfacde5424486fa5cad858c002 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 11 Oct 2023 11:42:32 +0000 Subject: [PATCH] - Update to 0.14.1: - Added enums for XmpStruct and XmpArrayType - Added method for copy-free access to XmpTextValue raw data. - Fix occasional segfault with Image.io() of in-memory image data. - Add data() method to access Exiv2::StringValueBase raw bytes. - Enable video support in binary wheels. - Automatically cast Exiv2::Value return values to correct type. - Exiv2::byte* return values are converted to a simple buffer object. - Deprecated some superseded features. Use 'python -Wd' when testing. - Exiv2's Date & Time structs can be used from Python. - Removed Value.downCast methods deprecated in v0.7.0. - Reduced probability of segfaults by keeping references to other objects. - Fix iterator bug introduced in v0.10.0. (Issue #7.) - Remove now superfluous py3exiv2-link-boost.patch - Update to 0.12.3: - upstream doesn't release proper changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=23 --- 0.14.1.tar.gz | 3 +++ py3exiv2-0.12.0.tar.gz | 3 --- py3exiv2-link-boost.patch | 15 --------------- python-exiv2.changes | 29 +++++++++++++++++++++++++++++ python-exiv2.spec | 7 +++---- 5 files changed, 35 insertions(+), 22 deletions(-) create mode 100644 0.14.1.tar.gz delete mode 100644 py3exiv2-0.12.0.tar.gz delete mode 100644 py3exiv2-link-boost.patch diff --git a/0.14.1.tar.gz b/0.14.1.tar.gz new file mode 100644 index 0000000..2745ecc --- /dev/null +++ b/0.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6f63e9343ce12c880f8b8654b94188285e31625b8a4396daac545c7de2b7457 +size 2237216 diff --git a/py3exiv2-0.12.0.tar.gz b/py3exiv2-0.12.0.tar.gz deleted file mode 100644 index e0c6621..0000000 --- a/py3exiv2-0.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72b23e5f760c4733cf9a918db08d94fbd6d9830711d2a4e8c09b8f34563f3a8a -size 47082 diff --git a/py3exiv2-link-boost.patch b/py3exiv2-link-boost.patch deleted file mode 100644 index be162a0..0000000 --- a/py3exiv2-link-boost.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/setup.py -+++ b/setup.py -@@ -40,7 +40,7 @@ if platform.system() == "Darwin": - boostlib = get_libboost_osx() - - else: -- python_version = str(sys.version_info.major) + str(sys.version_info.minor) -+ python_version = str(sys.version_info.major) - boostlib = 'boost_python' + python_version - - setup( diff --git a/python-exiv2.changes b/python-exiv2.changes index 5135382..e5e2557 100644 --- a/python-exiv2.changes +++ b/python-exiv2.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Wed Oct 11 09:53:14 UTC 2023 - Matej Cepl + +- Update to 0.14.1: + - Added enums for XmpStruct and XmpArrayType + - Added method for copy-free access to XmpTextValue raw data. + - Fix occasional segfault with Image.io() of in-memory image + data. + - Add data() method to access Exiv2::StringValueBase raw bytes. + - Enable video support in binary wheels. + - Automatically cast Exiv2::Value return values to correct + type. + - Exiv2::byte* return values are converted to a simple buffer + object. + - Deprecated some superseded features. Use 'python -Wd' when + testing. + - Exiv2's Date & Time structs can be used from Python. + - Removed Value.downCast methods deprecated in v0.7.0. + - Reduced probability of segfaults by keeping references to + other objects. + - Fix iterator bug introduced in v0.10.0. (Issue #7.) +- Remove now superfluous py3exiv2-link-boost.patch + ------------------------------------------------------------------- Thu Oct 5 11:22:05 UTC 2023 - Matej Cepl @@ -5,6 +28,12 @@ Thu Oct 5 11:22:05 UTC 2023 - Matej Cepl - Fix bug #2027823 (Compilation errors with exiv2-0.28) - Remove the exiv2_0-28-0.patch patch again. +------------------------------------------------------------------- +Thu Aug 10 21:33:24 UTC 2023 - Matej Cepl + +- Update to 0.12.3: + - upstream doesn't release proper changelog + ------------------------------------------------------------------- Fri Aug 4 23:06:13 UTC 2023 - Matej Cepl diff --git a/python-exiv2.spec b/python-exiv2.spec index 5ec253c..0e1ad5b 100644 --- a/python-exiv2.spec +++ b/python-exiv2.spec @@ -17,16 +17,15 @@ Name: python-exiv2 -Version: 0.12.0 +Version: 0.14.1 Release: 0 Summary: Python3 bindings for the exiv2 library License: GPL-3.0-only Group: Development/Languages/Python URL: https://launchpad.net/py3exiv2 # -Source0: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz +Source: https://github.com/jim-easterbrook/python-exiv2/archive/refs/tags/%{version}.tar.gz # -Patch0: py3exiv2-link-boost.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -48,7 +47,7 @@ libexiv2. Using python’s built-in data types and standard modules, it provides easy manipulation of image metadata. %prep -%autosetup -p1 -n py3exiv2-%{version} +%autosetup -p1 %build %python_build