Package Details: python-exiv2 0.4.0-1

Git Clone URL: (read-only)
Package Base: python-exiv2
Description: py3exiv2 is a Python3 binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata.
Upstream URL:
Keywords: graphics python
Licenses: GPL3
Submitter: artemklevtsov
Maintainer: None
Last Packager: elstoc
Votes: 8
Popularity: 0.124570
First Submitted: 2016-03-19 22:15
Last Updated: 2018-09-22 21:07

Latest Comments

1 2 Next › Last »

elstoc commented on 2019-02-16 14:35

@VinsS I get a 404 error when trying to access the link for 0.5.0. I found version 0.6.1 but when I try to use this version I get the following error when importing the module in python:

import libexiv2python ImportError: /usr/lib/python3.7/site-packages/ undefined symbol: _ZNK12exiv2wrapper7Preview7getDataEv

So two things really. First, the error. Second, it would be good if old versions remained available for download for at least a short amount of time after a new version is created, in case nobody has packaged up the new version yet.

VinsS commented on 2019-01-31 13:20

I just released the version 0.5.0

This version fix a fatal bug introduced in exiv2-0.27

The sources:

Bests, Vincent

DrTebi commented on 2019-01-27 07:10

Not sure if this is a python-exiv2 problem... but I always get this error when I try to run one of my programs:

ImportError: cannot open shared object file: No such file or directory

... my libboost_python version is 1.69. Once I create a symbolic link from 1.67 to 1.69, everything works fine. But that shouldn't be necessary?

I may be understanding something wrong, can someone enlighten me?

elstoc commented on 2018-09-22 21:11

Ok this should all be up to date now with v0.4.0 and latest python directory names. Enjoy.

pseyfert commented on 2018-05-29 15:03

The download link used in the PKGBUILD does not work (anymore?). The link to version 0.3 (posted by @VinsS) does work (NB: not only the version number changed 0.2.0→0.3.0 but also the underscore turned into a hyphen.

VinsS commented on 2018-05-18 04:33


I've just release the version 0.3

DrTebi commented on 2017-02-18 04:22

I had a few problems installing this package (version 0.2.0-1).

The PKGBUILD specified python 3.5, but as far as I know, python 3.6 is the current latest version on Arch. I changed all references to '3.5' to '3.6'. Without doing this, the package would install into the wrong 'site-packages' directory (of python 3.5).

When running `makepkg -i` I also got the following error:

In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,
from /usr/include/boost/python/args.hpp:8,
from /usr/include/boost/python.hpp:11,
from src/exiv2wrapper.hpp:35,
from src/exiv2wrapper.cpp:27:
/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
compilation terminated.
==> ERROR: A failure occurred in build().

A quick search turned up this stack overflow page, which fixed the problem:

In my case it was this:
export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/include/python3.6m/"

that fixed it.

Nevertheless, thank you for maintaining this package, just needs a couple of small updates I suppose :)

artemklevtsov commented on 2016-10-05 12:50

@ReedWood: thanks. Updated.

ReedWood commented on 2016-10-04 21:05

The pkgbuild at the end of this comment works with version 0.2.0.
I simply adapted pkgver, pkgrel, and the needed changes to the naming scheme of the source tar.gz and unpacked directory. The new version does not require changes to in build() or package().

# Maintainer : Artem Klevtsov

pkgdesc="py3exiv2 is a Python3 binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata."
arch=('i686' 'x86_64')
depends=('python' 'boost-libs' 'exiv2')

build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
mkdir build
g++ -o build/exiv2wrapper.os -c -fPIC -I/usr/include/python3.5m src/exiv2wrapper.cpp
g++ -o build/exiv2wrapper_python.os -c -fPIC -I/usr/include/python3.5m src/exiv2wrapper_python.cpp
g++ -o build/ -shared build/exiv2wrapper.os build/exiv2wrapper_python.os -lboost_python3 -lexiv2

package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
mkdir -p "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2"
install -D -m755 build/ "${pkgdir}/usr/lib/python3.5/site-packages/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"
install -D -m644 src/pyexiv2/ "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/"

artemklevtsov commented on 2016-06-27 11:40

@DrTebi: thanks for the report.