void-packages/srcpkgs/python3-exifread/template

25 lines
714 B
Bash

# Template file for 'python3-exifread'
pkgname=python3-exifread
version=2.3.1
revision=3
wrksrc="exif-py-${version}"
build_style="python3-module"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python module to extract Exif metadata (Python3)"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="BSD-3-Clause"
homepage="https://github.com/ianare/exif-py"
distfiles="https://github.com/ianare/exif-py/archive/${version}.tar.gz"
checksum=b6b012d72df9af6e8a4fb439914f3a293f0a63c2087c21e94f5b6e1221de45f4
conflicts="python-exifread>=0"
pre_build() {
# Upstream didn't update version in this file
sed -i "s/2.1.2/${version}/" exifread/__init__.py
}
post_install() {
vlicense LICENSE.txt
}