diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-15 18:25:07 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-15 18:25:07 +0000 |
commit | ba48e0f310d6ff023170d029b08553b13ab1589b (patch) | |
tree | 4aadc8d3adc53088fd9105edb3332947c42f414f /graphics/py-cairo | |
parent | d35c266b0a5822f1a921edaf1be681df85480cf7 (diff) | |
download | pkgsrc-ba48e0f310d6ff023170d029b08553b13ab1589b.tar.gz |
Import py-cairo from pkgsrc-wip. Packaged by Christoph Leuzinger in
PR pkg/33256.
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers. Experimental backends include OpenGL
(through glitz), Quartz, XCB, PostScript and PDF file output.
This package contains the Python bindings for Cairo.
Diffstat (limited to 'graphics/py-cairo')
-rw-r--r-- | graphics/py-cairo/DESCR | 6 | ||||
-rw-r--r-- | graphics/py-cairo/Makefile | 26 | ||||
-rw-r--r-- | graphics/py-cairo/PLIST | 9 | ||||
-rw-r--r-- | graphics/py-cairo/buildlink3.mk | 23 | ||||
-rw-r--r-- | graphics/py-cairo/distinfo | 5 |
5 files changed, 69 insertions, 0 deletions
diff --git a/graphics/py-cairo/DESCR b/graphics/py-cairo/DESCR new file mode 100644 index 00000000000..68f97ac7813 --- /dev/null +++ b/graphics/py-cairo/DESCR @@ -0,0 +1,6 @@ +Cairo is a 2D graphics library with support for multiple output +devices. Currently supported output targets include the X Window +System, win32, and image buffers. Experimental backends include OpenGL +(through glitz), Quartz, XCB, PostScript and PDF file output. + +This package contains the Python bindings for Cairo. diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile new file mode 100644 index 00000000000..0f371f317ce --- /dev/null +++ b/graphics/py-cairo/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/15 18:25:07 minskim Exp $ +# + +DISTNAME= pycairo-1.0.2 +PKGNAME= ${PYPKGPREFIX}-cairo-1.0.2 +CATEGORIES= graphics +MASTER_SITES= http://cairographics.org/releases/ + +MAINTAINER= leuzi@trash.net +HOMEPAGE= http://cairographics.org/pycairo/ +COMMENT= Python bindings for cairo + +USE_PKGLOCALEDIR= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes +CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} + +PKGCONFIG_OVERRIDE+= pycairo.pc.in +PYTHON_VERSIONS_ACCEPTED= 24 23 +PY_PATCHPLIST= yes + +.include "../../lang/python/extension.mk" +.include "../../math/py-Numeric/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/py-cairo/PLIST b/graphics/py-cairo/PLIST new file mode 100644 index 00000000000..5de9972dd24 --- /dev/null +++ b/graphics/py-cairo/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/15 18:25:07 minskim Exp $ +include/pycairo/pycairo.h +lib/pkgconfig/pycairo.pc +${PYSITELIB}/cairo/__init__.py +${PYSITELIB}/cairo/__init__.pyc +${PYSITELIB}/cairo/__init__.pyo +${PYSITELIB}/cairo/_cairo.la +@dirrm ${PYSITELIB}/cairo +@dirrm include/pycairo diff --git a/graphics/py-cairo/buildlink3.mk b/graphics/py-cairo/buildlink3.mk new file mode 100644 index 00000000000..841f2adf759 --- /dev/null +++ b/graphics/py-cairo/buildlink3.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/15 18:25:07 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_CAIRO_BUILDLINK3_MK:= ${PY_CAIRO_BUILDLINK3_MK}+ + +.include "../../lang/python/pyversion.mk" + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= pycairo +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npycairo} +BUILDLINK_PACKAGES+= pycairo + +.if !empty(PY_CAIRO_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.pycairo+= ${PYPKGPREFIX}-cairo>=1.0.2 +BUILDLINK_PKGSRCDIR.pycairo?= ../../graphics/py-cairo +.endif # PY_CAIRO_BUILDLINK3_MK + +.include "../../math/py-Numeric/buildlink3.mk" +.include "../../graphics/cairo/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/graphics/py-cairo/distinfo b/graphics/py-cairo/distinfo new file mode 100644 index 00000000000..c35a152425b --- /dev/null +++ b/graphics/py-cairo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/15 18:25:07 minskim Exp $ + +SHA1 (pycairo-1.0.2.tar.gz) = 92b51f670aaba03ac372dc2999e715bc5281f5e5 +RMD160 (pycairo-1.0.2.tar.gz) = d7e7db5271f756e045a9140389fe0b4136136d6a +Size (pycairo-1.0.2.tar.gz) = 469704 bytes |