15
0
forked from pool/python-exiv2

Added py3exiv2-link-boost.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=14
This commit is contained in:
2020-10-20 06:54:42 +00:00
committed by Git OBS Bridge
parent f35bcbaeba
commit 8ff7d468d1
3 changed files with 20 additions and 2 deletions

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

@@ -4,6 +4,7 @@ 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

@@ -26,7 +26,11 @@ 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