diff options
Diffstat (limited to 'main/py-imagesize/APKBUILD')
-rw-r--r-- | main/py-imagesize/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/main/py-imagesize/APKBUILD b/main/py-imagesize/APKBUILD new file mode 100644 index 0000000000..03abe22d44 --- /dev/null +++ b/main/py-imagesize/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=py-imagesize +_pkgname=imagesize_py +pkgver=0.7.1 +pkgrel=0 +pkgdesc="Getting image size from png/jpeg/jpeg2000/gif file" +url="https://github.com/shibukawa/imagesize_py" +arch="noarch" +license="MIT" +depends="python" +makedepends="py-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/shibukawa/$_pkgname/archive/$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python setup.py build +} + +package() { + cd "$builddir" + python setup.py install --prefix=/usr --root="$pkgdir" +} + +md5sums="1ddd41c09cf289a8897fda3cfe8f72e2 py-imagesize-0.7.1.tar.gz" +sha256sums="781367e05a2aba5b66c76e46394cf627bfdd85dba94e066c49df7d57897c67c3 py-imagesize-0.7.1.tar.gz" +sha512sums="05f6db46d871eef6771a8b1e797bb6c9c33af3bab1efd86d2abf365e91575823cfad905162656606f552a0fab7d59a3596a2210d4246e0148ea605ffc01eb733 py-imagesize-0.7.1.tar.gz" |