15
0
forked from pool/python-exiv2

- 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
This commit is contained in:
2023-10-11 11:42:32 +00:00
committed by Git OBS Bridge
parent a0ab3936c3
commit 69e8801cea
5 changed files with 35 additions and 22 deletions

View File

@@ -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 pythons 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