python-exifread: update to 2.3.1.

This commit is contained in:
fosslinux 2020-09-20 11:05:57 +10:00 committed by Andrew J. Hesford
parent 809d55b00b
commit 930c2ddf89

View file

@ -1,19 +1,17 @@
# Template file for 'python-exifread' # Template file for 'python-exifread'
pkgname=python-exifread pkgname=python-exifread
version=2.2.0 version=2.3.1
revision=2 revision=1
archs=noarch
wrksrc="exif-py-${version}" wrksrc="exif-py-${version}"
build_style="python-module" build_style="python-module"
pycompile_module="exifread"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python"
short_desc="Python module to extract Exif metadata (Python2)" short_desc="Python module to extract Exif metadata (Python2)"
maintainer="Peter Bui <pbui@github.bx612.space>" maintainer="Peter Bui <pbui@github.bx612.space>"
license="BSD" license="BSD-3-Clause"
homepage="https://github.com/ianare/exif-py" homepage="https://github.com/ianare/exif-py"
distfiles="https://github.com/ianare/exif-py/archive/${version}.tar.gz" distfiles="https://github.com/ianare/exif-py/archive/${version}.tar.gz"
checksum=55b8dbdfa1c55da50a0b989cbcd591bb996f36adff27cc207b350b25d76d2828 checksum=b6b012d72df9af6e8a4fb439914f3a293f0a63c2087c21e94f5b6e1221de45f4
alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py2" alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py2"
pre_build() { pre_build() {
@ -26,9 +24,7 @@ post_install() {
} }
python3-exifread_package() { python3-exifread_package() {
archs=noarch
depends="python3" depends="python3"
pycompile_module="exifread"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py3" alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py3"
pkg_install() { pkg_install() {