15
0
forked from pool/python-exiv2

Accepting request 842971 from devel:languages:python

- Update to version 0.8.0
  * Add XmpSeq support
  * Add a datetime conversion to Python with iso format, update some unittests
- Added py3exiv2-link-boost.patch

OBS-URL: https://build.opensuse.org/request/show/842971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-exiv2?expand=0&rev=6
This commit is contained in:
2020-10-21 12:38:34 +00:00
committed by Git OBS Bridge
5 changed files with 32 additions and 7 deletions

View File

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

3
py3exiv2-0.8.0.tar.gz Normal file
View File

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

13
py3exiv2-link-boost.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: py3exiv2-0.8.0/setup.py
===================================================================
--- py3exiv2-0.8.0.orig/setup.py 2020-09-29 18:30:38.000000000 +0200
+++ py3exiv2-0.8.0/setup.py 2020-10-20 08:52:35.836907091 +0200
@@ -37,7 +37,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,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 20 06:39:52 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 0.8.0
* Add XmpSeq support
* Add a datetime conversion to Python with iso format, update some unittests
- Added py3exiv2-link-boost.patch
-------------------------------------------------------------------
Tue Jul 2 14:47:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-exiv2
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,17 @@
# This is a python3 only package
%define skip_python2 1
Name: python-exiv2
Version: 0.7.1
Version: 0.8.0
Release: 0
Summary: Python3 bindings for the exiv2 library
License: GPL-3.0-only
Group: Development/Languages/Python
URL: https://launchpad.net/py3exiv2
Source: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz
#
Source0: https://files.pythonhosted.org/packages/source/p/py3exiv2/py3exiv2-%{version}.tar.gz
#
Patch0: py3exiv2-link-boost.patch
#
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -48,7 +52,7 @@ libexiv2. Using pythons built-in data types and standard modules, it provides
easy manipulation of image metadata.
%prep
%setup -q -n py3exiv2-%{version}
%autosetup -p1 -n py3exiv2-%{version}
%build
%python_build