python3-imagesize: initial import

This commit is contained in:
John Vogel 2020-04-27 21:14:19 -04:00
parent 2a782c1031
commit 03c327e2d2
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,13 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.7/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/__pycache__/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/__pycache__/imagesize.cpython-37.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.7/site-packages/__pycache__/imagesize.cpython-37.pyc
drwxr-xr-x root/root usr/lib/python3.7/site-packages/imagesize-1.1.0-py3.7.egg-info/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/imagesize-1.1.0-py3.7.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.7/site-packages/imagesize-1.1.0-py3.7.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/imagesize-1.1.0-py3.7.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/imagesize-1.1.0-py3.7.egg-info/top_level.txt
-rw-r--r-- root/root usr/lib/python3.7/site-packages/imagesize.py

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31FDWHw7boVBb+bA/Bg/wgX34tA3brf0Otp89Y3LQFIVhQQ7MJ07vT09kzLEkVpy+THKZH+h206FSnMUrtVGjAA=
SHA256 (Pkgfile) = dd5e5a701a8a616c4c3302e8eba4d6dcb3cbf4a43ec53dd14fa1e7542e0cfda9
SHA256 (.footprint) = 36064ecf3f1d5e6ef8e6af28f2671d77867edc402e9d005cb774cb8410575feb
SHA256 (imagesize-1.1.0.tar.gz) = a10b0cade3e33a8e770677897ce14f5226dc321db864c1887bab8f3ed4a1c251

18
python3-imagesize/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# Description: Getting image size from png/jpeg/jpeg2000/gif file.
# URL: https://github.com/shibukawa/imagesize_py/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
# Depends on: python3-setuptools
name=python3-imagesize
version=1.1.0
release=1
source=(https://github.com/shibukawa/imagesize_py/archive/$version/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}_py-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
chmod -R go-w,a+r,u+w $PKG
}