Skip to content

Commit

Permalink
python-imagesize 1.4.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
tnut committed Apr 6, 2024
1 parent 83cf88b commit 194fc04
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions cli/python-imagesize/Pkgfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
description='Getting image size from png/jpeg/jpeg2000/gif file'
url='https://github.com/shibukawa/imagesize_py'

packager="spiky <spiky@nutyx.org>"
contributors="Tnut"

makedepends=(python)

name=python-imagesize
version=1.4.1

source=(https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-$version.tar.gz)

build() {
cd imagesize-$version
python setup.py build

#check
python -m unittest discover -v

python setup.py install --root=$PKG --optimize=1 --skip-build
}

0 comments on commit 194fc04

Please sign in to comment.