summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-19 17:14:02 +0000
committerwiz <wiz>2014-01-19 17:14:02 +0000
commite8170d2a70fc8b84da900e2ff8409927dd1cb3ad (patch)
tree32d8531a6cf3cd1336ebb0b86ac5c1d2c641b68e /graphics
parent1cca7855cbdcd878e86a03db2cfd64e437c7011d (diff)
downloadpkgsrc-e8170d2a70fc8b84da900e2ff8409927dd1cb3ad.tar.gz
Import py27-gdmodule-0.58 as graphics/py-gdmodule.
GD module is an interface to the GD library written by Thomas Bouttel. "It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a .PNG file. This is particularly useful in World Wide Web applications, where .PNG is the unencumbered format used for inline images." It has been extended in some ways from the original GD library.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-gdmodule/DESCR9
-rw-r--r--graphics/py-gdmodule/Makefile24
-rw-r--r--graphics/py-gdmodule/PLIST6
-rw-r--r--graphics/py-gdmodule/distinfo6
4 files changed, 45 insertions, 0 deletions
diff --git a/graphics/py-gdmodule/DESCR b/graphics/py-gdmodule/DESCR
new file mode 100644
index 00000000000..7eff66fe597
--- /dev/null
+++ b/graphics/py-gdmodule/DESCR
@@ -0,0 +1,9 @@
+GD module is an interface to the GD library written by Thomas Bouttel.
+
+ "It allows your code to quickly draw images complete with lines,
+ arcs, text, multiple colors, cut and paste from other images, and
+ flood fills, and write out the result as a .PNG file. This is
+ particularly useful in World Wide Web applications, where .PNG is
+ the unencumbered format used for inline images."
+
+It has been extended in some ways from the original GD library.
diff --git a/graphics/py-gdmodule/Makefile b/graphics/py-gdmodule/Makefile
new file mode 100644
index 00000000000..972e416ef7d
--- /dev/null
+++ b/graphics/py-gdmodule/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2014/01/19 17:14:02 wiz Exp $
+
+DISTNAME= v0.58
+PKGNAME= ${PYPKGPREFIX}-gdmodule-${DISTNAME:S/v//}
+CATEGORIES= graphics python
+MASTER_SITES= https://github.com/Solomoriah/gdmodule/archive/
+
+MAINTAINER= darcy@NetBSD.org
+HOMEPAGE= https://github.com/Solomoriah/gdmodule
+COMMENT= Python interface to gd graphics library
+LICENSE= original-bsd
+
+DIST_SUBDIR= py-gd
+WRKSRC= ${WRKDIR}/gdmodule-${DISTNAME:S/v//}
+
+EGG_NAME= gdmodule-${DISTNAME:S/v//}
+
+PYSETUP= Setup.py
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.58
+
+BUILDLINK_API_DEPENDS.gd+= gd>=2.0.23
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-gdmodule/PLIST b/graphics/py-gdmodule/PLIST
new file mode 100644
index 00000000000..2952546ee46
--- /dev/null
+++ b/graphics/py-gdmodule/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/19 17:14:02 wiz Exp $
+${PYSITELIB}/_gd.so
+${PYSITELIB}/gd.py
+${PYSITELIB}/gd.pyc
+${PYSITELIB}/gd.pyo
+${PYSITELIB}/${EGG_FILE}
diff --git a/graphics/py-gdmodule/distinfo b/graphics/py-gdmodule/distinfo
new file mode 100644
index 00000000000..f0112f923f6
--- /dev/null
+++ b/graphics/py-gdmodule/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/01/19 17:14:02 wiz Exp $
+
+SHA1 (py-gd/v0.58.tar.gz) = 99513a36e601b983aba268860e09c205a6c54b9a
+RMD160 (py-gd/v0.58.tar.gz) = 014aeb3f1e417cf168e43c4f8b75d2269e073311
+Size (py-gd/v0.58.tar.gz) = 76670 bytes
+SHA1 (patch-aa) = 2349484cc6a150e2feef9b51eb9d481dc24410db