void-packages/srcpkgs/python3-imagesize/template

20 lines
605 B
Bash

# Template file for 'python3-imagesize'
pkgname=python3-imagesize
version=1.2.0
revision=2
wrksrc="imagesize-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 library to get image size from png/jpeg/jpeg2000/gif file"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/shibukawa/imagesize_py"
distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz"
checksum=b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1
post_install() {
vlicense LICENSE.rst
}