diff options
author | obache <obache@pkgsrc.org> | 2009-05-10 11:39:26 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-05-10 11:39:26 +0000 |
commit | 8f5bbce6040a22313994208570b5a7d46f00ad51 (patch) | |
tree | ec60a30ae90f54667324ac7b6835ec2a94153a6c /graphics | |
parent | bab2cb1d86f57be0f5a4d559a276284ed94a3931 (diff) | |
download | pkgsrc-8f5bbce6040a22313994208570b5a7d46f00ad51.tar.gz |
Import py-goocanvas-0.14.0 as graphics/py-goocanvas.
PyGoocanvas are the python bindings for GooCanvas which is a canvas widget for
GTK+ that uses the cairo 2D library for drawing.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-goocanvas/DESCR | 2 | ||||
-rw-r--r-- | graphics/py-goocanvas/Makefile | 37 | ||||
-rw-r--r-- | graphics/py-goocanvas/PLIST | 3 | ||||
-rw-r--r-- | graphics/py-goocanvas/distinfo | 6 | ||||
-rw-r--r-- | graphics/py-goocanvas/patches/patch-aa | 16 |
5 files changed, 64 insertions, 0 deletions
diff --git a/graphics/py-goocanvas/DESCR b/graphics/py-goocanvas/DESCR new file mode 100644 index 00000000000..0702e444481 --- /dev/null +++ b/graphics/py-goocanvas/DESCR @@ -0,0 +1,2 @@ +PyGoocanvas are the python bindings for GooCanvas which is a canvas widget for +GTK+ that uses the cairo 2D library for drawing. diff --git a/graphics/py-goocanvas/Makefile b/graphics/py-goocanvas/Makefile new file mode 100644 index 00000000000..d75d148095c --- /dev/null +++ b/graphics/py-goocanvas/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/05/10 11:39:26 obache Exp $ +# + +DISTNAME= pygoocanvas-0.14.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} +CATEGORIES= graphics python +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygoocanvas/0.14/} + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://live.gnome.org/PyGoocanvas +COMMENT= Python bindings for GooCanvas + +LICENSE= gnu-lgpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= pygoocanvas.pc.in + +CONFIGURE_ARGS+= --disable-docs + +PY_PATCHPLIST= yes + +.include "../../lang/python/pyversion.mk" + +BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.10.0 +.include "../../x11/py-gtk2/buildlink3.mk" +.include "../../devel/py-gobject/buildlink3.mk" +BUILDLINK_API_DEPENDS.goocanvas+= goocanvas>=0.14.0 +.include "../../graphics/goocanvas/buildlink3.mk" +BUILDLINK_API_DEPENDS.pycairo+= ${PYPKGPREFIX}-cairo>=1.4.0 +.include "../../graphics/py-cairo/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/py-goocanvas/PLIST b/graphics/py-goocanvas/PLIST new file mode 100644 index 00000000000..e0808878a88 --- /dev/null +++ b/graphics/py-goocanvas/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/10 11:39:26 obache Exp $ +lib/pkgconfig/pygoocanvas.pc +${PYSITELIB}/goocanvasmodule.la diff --git a/graphics/py-goocanvas/distinfo b/graphics/py-goocanvas/distinfo new file mode 100644 index 00000000000..48536be41db --- /dev/null +++ b/graphics/py-goocanvas/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/05/10 11:39:26 obache Exp $ + +SHA1 (pygoocanvas-0.14.0.tar.gz) = 06c11ed0af43360b0b4a3699daf17c6edd124e96 +RMD160 (pygoocanvas-0.14.0.tar.gz) = 42e5c1cf5eac7791d562b15018d1babe342ee8d9 +Size (pygoocanvas-0.14.0.tar.gz) = 398880 bytes +SHA1 (patch-aa) = 310eda750c92120a13bd66f580c9ec4bb1f07118 diff --git a/graphics/py-goocanvas/patches/patch-aa b/graphics/py-goocanvas/patches/patch-aa new file mode 100644 index 00000000000..777001a1ca7 --- /dev/null +++ b/graphics/py-goocanvas/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/05/10 11:39:26 obache Exp $ + +Portability fix: + http://bugzilla.gnome.org/show_bug.cgi?id=582057 + +--- configure.orig 2009-03-17 21:28:37.000000000 +0000 ++++ configure +@@ -11801,7 +11801,7 @@ fi + fi + fi + +-if test x$enable_docs == xyes; then ++if test x$enable_docs = xyes; then + if ! $PKG_CONFIG "pygobject-2.0 >= 2.11.3"; then + { echo "$as_me:$LINENO: WARNING: pygobject-2.0 < 2.11.3; disabling generation of docs" >&5 + echo "$as_me: WARNING: pygobject-2.0 < 2.11.3; disabling generation of docs" >&2;} |