mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
python-exifread: drop package
This commit is contained in:
parent
63937ab462
commit
140a4c873e
3 changed files with 24 additions and 36 deletions
|
@ -1,35 +0,0 @@
|
||||||
# Template file for 'python-exifread'
|
|
||||||
pkgname=python-exifread
|
|
||||||
version=2.3.1
|
|
||||||
revision=1
|
|
||||||
wrksrc="exif-py-${version}"
|
|
||||||
build_style="python-module"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
short_desc="Python module to extract Exif metadata (Python2)"
|
|
||||||
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
|
|
||||||
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() {
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-exifread_package() {
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="EXIF:EXIF.py:/usr/bin/EXIF.py3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/EXIF.py3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-exifread
|
|
24
srcpkgs/python3-exifread/template
Normal file
24
srcpkgs/python3-exifread/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'python3-exifread'
|
||||||
|
pkgname=python3-exifread
|
||||||
|
version=2.3.1
|
||||||
|
revision=2
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue