Package Details: python-exiv2 0.4.0-1

Git Clone URL: https://aur.archlinux.org/python-exiv2.git (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: https://launchpad.net/py3exiv2
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/libexiv2python.so: 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: http://www.py3exiv2.tuxfamily.org/releases/python3-exiv2-0.5.0.tar.gz

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: libboost_python37.so.1.67.0: 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 http://www.py3exiv2.tuxfamily.org/releases/python3-exiv2_0.2.0.tar.gz 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

Hi,

I've just release the version 0.3

http://www.py3exiv2.tuxfamily.org/releases/python3-exiv2-0.3.0.tar.gz

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().
Aborting...

A quick search turned up this stack overflow page, which fixed the problem:
http://stackoverflow.com/questions/19810940/ubuntu-linking-boost-python-fatal-error-pyconfig-cannot-be-found

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().

---Start---
# Maintainer : Artem Klevtsov a.a.klevtsov@gmail.com

_pkgname=python3-exiv2
pkgname=python-exiv2
pkgver=0.2.0
pkgrel=1
pkgdesc="py3exiv2 is a Python3 binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata."
url="https://launchpad.net/py3exiv2"
arch=('i686' 'x86_64')
depends=('python' 'boost-libs' 'exiv2')
makedepends=('boost')
license=('GPL3')
source=("http://www.py3exiv2.tuxfamily.org/releases/${_pkgname}_${pkgver}.tar.gz")
md5sums=('a1d9ff06e543a68f2fa1b01a9a52e8cf')

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/libexiv2python.so -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/libexiv2python.so "${pkgdir}/usr/lib/python3.5/site-packages/libexiv2python.so"
install -D -m644 src/pyexiv2/__init__.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/__init__.py"
install -D -m644 src/pyexiv2/exif.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/exif.py"
install -D -m644 src/pyexiv2/iptc.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/iptc.py"
install -D -m644 src/pyexiv2/metadata.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/metadata.py"
install -D -m644 src/pyexiv2/preview.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/preview.py"
install -D -m644 src/pyexiv2/utils.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/utils.py"
install -D -m644 src/pyexiv2/xmp.py "${pkgdir}/usr/lib/python3.5/site-packages/pyexiv2/xmp.py"
}
---End---

artemklevtsov commented on 2016-06-27 11:40

@DrTebi: thanks for the report.