summaryrefslogtreecommitdiff
path: root/graphics/py-imagesize
diff options
context:
space:
mode:
authoradam <adam>2016-04-23 17:46:30 +0000
committeradam <adam>2016-04-23 17:46:30 +0000
commitc299060665dae2e9cb214ecd434a4640f28cfea3 (patch)
tree7cac0c2367613bcffd84929ca02118583aa09cb3 /graphics/py-imagesize
parentb338c9a5c269329006a6d4ef9475729826b7c7d3 (diff)
downloadpkgsrc-c299060665dae2e9cb214ecd434a4640f28cfea3.tar.gz
This module analyzes jpeg/jpeg2000/png/gif image header and return image size.
Diffstat (limited to 'graphics/py-imagesize')
-rw-r--r--graphics/py-imagesize/DESCR1
-rw-r--r--graphics/py-imagesize/Makefile15
-rw-r--r--graphics/py-imagesize/PLIST11
-rw-r--r--graphics/py-imagesize/distinfo6
4 files changed, 33 insertions, 0 deletions
diff --git a/graphics/py-imagesize/DESCR b/graphics/py-imagesize/DESCR
new file mode 100644
index 00000000000..c832ffb6a0a
--- /dev/null
+++ b/graphics/py-imagesize/DESCR
@@ -0,0 +1 @@
+This module analyzes jpeg/jpeg2000/png/gif image header and return image size.
diff --git a/graphics/py-imagesize/Makefile b/graphics/py-imagesize/Makefile
new file mode 100644
index 00000000000..13d707a9bb5
--- /dev/null
+++ b/graphics/py-imagesize/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2016/04/23 17:46:30 adam Exp $
+
+DISTNAME= imagesize-0.7.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+#MASTER_SITES= http://pypi.python.org/packages/source/i/imagesize/
+MASTER_SITES= http://pypi.python.org/packages/53/72/6c6f1e787d9cab2cc733cf042f125abec07209a58308831c9f292504e826/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/shibukawa/imagesize_py/
+COMMENT= Parses image files' header and returns image size
+LICENSE= mit
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-imagesize/PLIST b/graphics/py-imagesize/PLIST
new file mode 100644
index 00000000000..4d44d678666
--- /dev/null
+++ b/graphics/py-imagesize/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2016/04/23 17:46:30 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/imagesize/__init__.py
+${PYSITELIB}/imagesize/__init__.pyc
+${PYSITELIB}/imagesize/__init__.pyo
+${PYSITELIB}/imagesize/get.py
+${PYSITELIB}/imagesize/get.pyc
+${PYSITELIB}/imagesize/get.pyo
diff --git a/graphics/py-imagesize/distinfo b/graphics/py-imagesize/distinfo
new file mode 100644
index 00000000000..16cd8ef7c6a
--- /dev/null
+++ b/graphics/py-imagesize/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/04/23 17:46:30 adam Exp $
+
+SHA1 (imagesize-0.7.1.tar.gz) = cfef5d52e8822cca4adecf6a894ca41ddf162de4
+RMD160 (imagesize-0.7.1.tar.gz) = c2165ac9d0e6dc5eb1c8666e2fa05abce3f586d7
+SHA512 (imagesize-0.7.1.tar.gz) = 61ff92167cc90bb1dcc78bb358419a526f09dc567709548bbe399694aa15dab63744f56c67bf33a940f5f443fd3a5ddc08ef9e17799b6fede1b11c0ad6a17f75
+Size (imagesize-0.7.1.tar.gz) = 2871 bytes