15
0
forked from pool/python-exiv2

Accepting request 1117154 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1117154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exiv2?expand=0&rev=10
This commit is contained in:
2023-10-12 21:41:44 +00:00
committed by Git OBS Bridge
5 changed files with 43 additions and 28 deletions

3
0.14.1.tar.gz Normal file
View File

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

View File

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

View File

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

View File

@@ -1,9 +1,43 @@
-------------------------------------------------------------------
Wed Oct 11 15:14:43 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- fix files section
-------------------------------------------------------------------
Wed Oct 11 09:53:14 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
- 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 <mcepl@cepl.eu>
- Update to 0.12.0
- 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 <mcepl@suse.com>
- Update to 0.12.3:
- upstream doesn't release proper changelog
- Remove the exiv2_0-28-0.patch patch again.
-------------------------------------------------------------------
Fri Aug 4 23:06:13 UTC 2023 - Matej Cepl <mcepl@suse.com>

View File

@@ -17,16 +17,13 @@
Name: python-exiv2
Version: 0.12.3
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
#
Patch0: py3exiv2-link-boost.patch
Source: https://github.com/jim-easterbrook/python-exiv2/archive/refs/tags/%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -48,7 +45,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
@@ -58,8 +55,7 @@ easy manipulation of image metadata.
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%files %{python_files}
%{python_sitearch}/libexiv2python.*.so
%{python_sitearch}/pyexiv2
%{python_sitearch}/py3exiv2-%{version}*-info
%{python_sitearch}/exiv2
%{python_sitearch}/exiv2-%{version}*-info
%changelog