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 Next › Last »

yochananmarqos commented on 2020-08-12 16:14 (UTC) (edited on 2020-08-12 16:14 (UTC) by yochananmarqos)

@Tio: Use a different keyserver like the wiki says:

gpg --keyserver pgp.mit.edu --recv-keys 068346EEA7A91F52

Tio commented on 2020-08-12 11:07 (UTC)

I tried to import the key but I get this error:

gpg --recv-key 068346EEA7A91F52
gpg: keyserver receive failed: General error

Tio commented on 2020-08-09 10:13 (UTC)

ok thanks

yochananmarqos commented on 2020-08-06 15:40 (UTC)

@Tio: See Makepkg: Signature checking.

Tio commented on 2020-08-06 12:44 (UTC)

Error:

==> Validating source files with b2sums...
    py3exiv2-0.7.2.tar.gz ... Passed
    py3exiv2-0.7.2.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    py3exiv2-0.7.2.tar.gz ... FAILED (unknown public key 068346EEA7A91F52)
==> ERROR: One or more PGP signatures could not be verified!
Failed to build python-exiv2

spider-mario commented on 2020-08-05 19:18 (UTC)

Thanks, updated and added you as a co-maintainer.

yochananmarqos commented on 2020-08-03 03:17 (UTC)

Updated PKGBUILD for 0.7.2: https://pastebin.com/RZGv6xis

spider-mario commented on 2019-12-22 17:24 (UTC)

Thanks for the fix, I have applied it. Once I am back from vacation, I will try to make the PKGBUILD a bit more future-proof in this regard.

Kant commented on 2019-12-22 16:46 (UTC)

update for python 3.8, worked for me:

# Maintainer : Chris Elston chris.elston@blueyonder.co.uk
# Contributor : Artem Klevtsov a.a.klevtsov@gmail.com

_pkgname=python3-exiv2
pkgname=python-exiv2
pkgver=0.7.1
pkgrel=2
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>=3.7' 'boost-libs' 'exiv2')
makedepends=('boost')
license=('GPL3')
source=("http://www.py3exiv2.tuxfamily.org/releases/python3-exiv2-${pkgver}.tar.gz")
sha512sums=('ece1133b8ba0566617438e38f371044df52451a2952e55f05f52f2ec5f4323fe39b797a482c5a7b5666eea35fc88d1207d16d4246e984c05a56bb2fdb421e319')

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

package() {
    cd "${srcdir}/${_pkgname}-${pkgver}"
    local site_packages="${pkgdir}/$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')"
    mkdir -p "${site_packages}/pyexiv2"
    install -D -m755 build/libexiv2python.so "${site_packages}/libexiv2python.so"
    install -D -m644 src/pyexiv2/__init__.py "${site_packages}/pyexiv2/__init__.py"
    install -D -m644 src/pyexiv2/exif.py "${site_packages}/pyexiv2/exif.py"
    install -D -m644 src/pyexiv2/iptc.py "${site_packages}/pyexiv2/iptc.py"
    install -D -m644 src/pyexiv2/metadata.py "${site_packages}/pyexiv2/metadata.py"
    install -D -m644 src/pyexiv2/preview.py "${site_packages}/pyexiv2/preview.py"
    install -D -m644 src/pyexiv2/utils.py "${site_packages}/pyexiv2/utils.py"
    install -D -m644 src/pyexiv2/xmp.py "${site_packages}/pyexiv2/xmp.py"
}

Kant commented on 2019-12-22 16:36 (UTC) (edited on 2019-12-22 16:36 (UTC) by Kant)

A python update changed versions so I tried to rebuild the package, but I get an error:

> makepkg
==> Making package: python-exiv2 0.7.1-1 (dom 22 dic 2019 13:30:16 -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading python3-exiv2-0.7.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 46179  100 46179    0     0  36650      0  0:00:01  0:00:01 --:--:-- 36679
==> Validating source files with sha512sums...
    python3-exiv2-0.7.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting python3-exiv2-0.7.1.tar.gz with bsdtar
==> Starting build()...
In file included from /usr/include/boost/python/detail/prefix.hpp:13,
                 from /usr/include/boost/python/args.hpp:8,
                 from /usr/include/boost/python.hpp:11,
                 from src/exiv2wrapper.hpp:36,
                 from src/exiv2wrapper.cpp:27:
/usr/include/boost/python/detail/wrap_python.hpp:57:11: fatal error: pyconfig.h: No such file or directory
   57 | # include <pyconfig.h>
      |           ^~~~~~~~~~~~
compilation terminated.
==> ERROR: A failure occurred in build().
    Aborting...