mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
python-exifread: update to 2.2.0.
- Switch to github for archive - Update maintainer email - Add alternative for EXIF.py - Add temporary fix for package version
This commit is contained in:
parent
7547c9f57f
commit
1301944058
1 changed files with 16 additions and 8 deletions
|
@ -1,19 +1,25 @@
|
||||||
# Template file for 'python-exifread'
|
# Template file for 'python-exifread'
|
||||||
pkgname=python-exifread
|
pkgname=python-exifread
|
||||||
version=2.1.2
|
version=2.2.0
|
||||||
revision=3
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="ExifRead-${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"
|
||||||
pycompile_module="exifread"
|
|
||||||
short_desc="Python module to extract Exif metadata (Python2)"
|
short_desc="Python module to extract Exif metadata (Python2)"
|
||||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
maintainer="Peter Bui <pbui@github.bx612.space>"
|
||||||
homepage="https://github.com/ianare/exif-py"
|
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="${PYPI_SITE}/E/ExifRead/ExifRead-${version}.tar.gz"
|
homepage="https://github.com/ianare/exif-py"
|
||||||
checksum=79e244f2eb466709029e8806fe5e2cdd557870c3db5f68954db0ef548d9320ad
|
distfiles="https://github.com/ianare/exif-py/archive/${version}.tar.gz"
|
||||||
|
checksum=55b8dbdfa1c55da50a0b989cbcd591bb996f36adff27cc207b350b25d76d2828
|
||||||
|
alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py2"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
# Upstream didn't update version in this file
|
||||||
|
sed -i "s/2.1.2/${version}/" exifread/__init__.py
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
@ -24,7 +30,9 @@ python3-exifread_package() {
|
||||||
depends="python3"
|
depends="python3"
|
||||||
pycompile_module="exifread"
|
pycompile_module="exifread"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/bin/EXIF.py3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue