aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-imagesize
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-06-07 01:58:10 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-10 14:25:35 +0000
commit4a918c5cea103649567f685b21af47d048cb6b2a (patch)
tree4b3dbf1ff4789de86bb665a06d41e0ed7717c37b /main/py-imagesize
parentdcaf26487297f51012317be637b89376212aba19 (diff)
downloadaports-4a918c5cea103649567f685b21af47d048cb6b2a.tar.bz2
aports-4a918c5cea103649567f685b21af47d048cb6b2a.tar.xz
main/py-imagesize: new abuild
https://github.com/shibukawa/imagesize_py Getting image size from png/jpeg/jpeg2000/gif file
Diffstat (limited to 'main/py-imagesize')
-rw-r--r--main/py-imagesize/APKBUILD28
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"