summaryrefslogtreecommitdiff
path: root/python3-imagesize
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2020-04-27 21:14:19 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2020-04-27 21:14:19 -0400
commit03c327e2d2cf9dfbe8e266a73973fc370b7d3b0c (patch)
tree12fe624f6e2757b8c88c94413d377ac88defa949 /python3-imagesize
parent2a782c1031cf2d8993ba5821d02ef5030d723d72 (diff)
downloadcontrib-03c327e2d2cf9dfbe8e266a73973fc370b7d3b0c.tar.gz
contrib-03c327e2d2cf9dfbe8e266a73973fc370b7d3b0c.tar.xz
python3-imagesize: initial import
Diffstat (limited to 'python3-imagesize')
-rw-r--r--python3-imagesize/.footprint13
-rw-r--r--python3-imagesize/.signature5
-rw-r--r--python3-imagesize/Pkgfile18
3 files changed, 36 insertions, 0 deletions
diff --git a/python3-imagesize/.footprint b/python3-imagesize/.footprint
new file mode 100644
index 000000000..876d615ed
--- /dev/null
+++ b/python3-imagesize/.footprint
@@ -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
diff --git a/python3-imagesize/.signature b/python3-imagesize/.signature
new file mode 100644
index 000000000..c7a959cb7
--- /dev/null
+++ b/python3-imagesize/.signature
@@ -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
diff --git a/python3-imagesize/Pkgfile b/python3-imagesize/Pkgfile
new file mode 100644
index 000000000..dcd7a8511
--- /dev/null
+++ b/python3-imagesize/Pkgfile
@@ -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
+}

Generated by cgit