python-imagesize: update to 1.0.0

This commit is contained in:
Alessio Sergi 2018-02-24 19:30:55 +01:00
parent 37a0145110
commit 8b8212671a

View File

@ -1,24 +1,24 @@
# Template file for 'python-imagesize' # Template file for 'python-imagesize'
pkgname=python-imagesize pkgname=python-imagesize
version=0.7.1 version=1.0.0
revision=3 revision=1
noarch=yes noarch=yes
wrksrc="imagesize-${version}" wrksrc="imagesize-${version}"
build_style=python-module build_style=python-module
pycompile_module="imagesize.py"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python"
pycompile_module="imagesize"
short_desc="Python2 library to get image size from png/jpeg/jpeg2000/gif file" short_desc="Python2 library to get image size from png/jpeg/jpeg2000/gif file"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/shibukawa/imagesize_py" homepage="https://github.com/shibukawa/imagesize_py"
license="MIT" license="MIT"
distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz" distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz"
checksum=0ab2c62b87987e3252f89d30b7cedbec12a01af9274af9ffa48108f2c13c6062 checksum=5b326e4678b6925158ccc66a9fa3122b6106d7c876ee32d7de6ce59385b96315
python3-imagesize_package() { python3-imagesize_package() {
noarch=yes noarch=yes
depends="python3" depends="python3"
pycompile_module="imagesize" pycompile_module="imagesize.py"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*