summaryrefslogtreecommitdiff
path: root/repo/python-imagesize/python-imagesize.xibuild
blob: 03d7b78a95171dc13c3563a5111f76db98093525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

MAKEDEPS="python"
DEPS=""

PKG_VER=1.3.0
SOURCE=https://files.pythonhosted.org/packages/f6/27/b147794d43249e8303a06f427e407a090696b65b81045e36f8873d8d8a42/imagesize-$PKG_VER.tar.gz
DESC="Getting image size from png/jpeg/jpeg2000/gif file"

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1
}