void-packages/srcpkgs/python-exifread/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

32 lines
805 B
Bash

# Template file for 'python-exifread'
pkgname=python-exifread
version=2.1.2
revision=3
noarch=yes
wrksrc="ExifRead-${version}"
build_style="python-module"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="exifread"
short_desc="Python module to extract Exif metadata (Python2)"
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
homepage="https://github.com/ianare/exif-py"
license="BSD"
distfiles="${PYPI_SITE}/E/ExifRead/ExifRead-${version}.tar.gz"
checksum=79e244f2eb466709029e8806fe5e2cdd557870c3db5f68954db0ef548d9320ad
post_install() {
vlicense LICENSE.txt
}
python3-exifread_package() {
noarch=yes
depends="python3"
pycompile_module="exifread"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}