blob: 1403a702bb279b2e35972410ae33ddc19258396b (
plain) (
tree)
|
|
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-imagesize
_pkgname=imagesize
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=1.1.0
pkgrel=0
pkgdesc="Parse image file header and return image size"
url="https://pypi.python.org/pypi/imagesize"
arch="noarch"
license="MIT"
depends="python3"
makedepends="python3-dev"
#subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="11af71a5120decb88450d1bc7609e25e560e448fcaef72c273690ffe3ad06856e6a172e20738a8dd5650efe1ba8d599e797692eb5cae2b7d74a71f1f55438a03 py3-imagesize-1.1.0.tar.gz"
|