Package Details: python-exiv2 0.12.0-1

Git Clone URL: https://aur.archlinux.org/python-exiv2.git (read-only, click to copy)
Package Base: python-exiv2
Description: A Python 3 binding to exiv2, the C++ library for manipulation of EXIF, IPTC and XMP image metadata.
Upstream URL: https://launchpad.net/py3exiv2
Keywords: binding graphics libexiv2
Licenses: GPL3
Submitter: artemklevtsov
Maintainer: salsergey
Last Packager: salsergey
Votes: 13
Popularity: 0.000000
First Submitted: 2016-03-19 22:15 (UTC)
Last Updated: 2023-08-30 04:10 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4

DrTebi commented on 2017-02-18 04:22 (UTC) (edited on 2017-02-18 04:23 (UTC) by DrTebi)

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

@ReedWood: thanks. Updated.

ReedWood commented on 2016-10-04 21:05 (UTC) (edited on 2016-10-05 09:14 (UTC) by ReedWood)

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

@DrTebi: thanks for the report.

DrTebi commented on 2016-06-27 08:13 (UTC)

boost is also a dependency. Without it, I get this: ==> Starting build()... In file included from src/exiv2wrapper.cpp:26:0: src/exiv2wrapper.hpp:34:28: fatal error: boost/python.hpp: No such file or directory #include "boost/python.hpp" ^ compilation terminated. ==> ERROR: A failure occurred in build(). Aborting... With boost installed, the package installed successfully.