summaryrefslogtreecommitdiff
path: root/x11/py-gtksourceview
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-03 09:43:22 +0000
committerwiz <wiz>2008-12-03 09:43:22 +0000
commit8cf76bdf5d338ba3a12b89a02efe3c627706585f (patch)
tree0e8ae901189779583f0f98370a9eb3ee4baf9bae /x11/py-gtksourceview
parentfa0973c7d823f4109d7549b4d6c852eb99d87940 (diff)
downloadpkgsrc-8cf76bdf5d338ba3a12b89a02efe3c627706585f.tar.gz
Initial import of py-gtksourceview-2.4.0:
Python bindings for the version 2 of the GtkSourceView library.
Diffstat (limited to 'x11/py-gtksourceview')
-rw-r--r--x11/py-gtksourceview/DESCR1
-rw-r--r--x11/py-gtksourceview/Makefile30
-rw-r--r--x11/py-gtksourceview/PLIST19
-rw-r--r--x11/py-gtksourceview/distinfo6
-rw-r--r--x11/py-gtksourceview/patches/patch-aa13
5 files changed, 69 insertions, 0 deletions
diff --git a/x11/py-gtksourceview/DESCR b/x11/py-gtksourceview/DESCR
new file mode 100644
index 00000000000..df1a94cc64c
--- /dev/null
+++ b/x11/py-gtksourceview/DESCR
@@ -0,0 +1 @@
+Python bindings for the version 2 of the GtkSourceView library.
diff --git a/x11/py-gtksourceview/Makefile b/x11/py-gtksourceview/Makefile
new file mode 100644
index 00000000000..f79ee13d50b
--- /dev/null
+++ b/x11/py-gtksourceview/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/03 09:43:22 wiz Exp $
+#
+
+DISTNAME= pygtksourceview-2.4.0
+PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
+CATEGORIES= x11 python
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtksourceview/2.4/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= Python bindings for gtksourceview2
+
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+
+USE_LIBTOOL= YES
+PKGCONFIG_OVERRIDE+= pygtksourceview-2.0.pc.in
+GNU_CONFIGURE= YES
+USE_TOOLS+= pkg-config
+PY_PATCHPLIST= YES
+
+.include "../../lang/python/extension.mk"
+
+BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.2
+.include "../../devel/py-gobject/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtksourceview2+= gtksourceview2>=2.3.0
+.include "../../x11/gtksourceview2/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../textproc/gtk-doc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-gtksourceview/PLIST b/x11/py-gtksourceview/PLIST
new file mode 100644
index 00000000000..5b82d918d6a
--- /dev/null
+++ b/x11/py-gtksourceview/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/03 09:43:22 wiz Exp $
+lib/pkgconfig/pygtksourceview-2.0.pc
+${PYSITELIB}/gtksourceview2.la
+share/gtk-doc/html/pygtksourceview2/class-gtksourcebuffer2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcelanguage2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcelanguagemanager2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcemark2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourceprintcompositor2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcestyle2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcestylescheme2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourcestyleschememanager2.html
+share/gtk-doc/html/pygtksourceview2/class-gtksourceview2.html
+share/gtk-doc/html/pygtksourceview2/index.html
+share/gtk-doc/html/pygtksourceview2/index.sgml
+share/gtk-doc/html/pygtksourceview2/pygtksourceview2.devhelp
+share/gtk-doc/html/pygtksourceview2/style.css
+share/pygtk/2.0/defs/gtksourceview2.defs
+@comment in py-gtk2: @dirrm share/pygtk/2.0/defs
+@dirrm share/gtk-doc/html/pygtksourceview2
diff --git a/x11/py-gtksourceview/distinfo b/x11/py-gtksourceview/distinfo
new file mode 100644
index 00000000000..f06ed7afd17
--- /dev/null
+++ b/x11/py-gtksourceview/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/12/03 09:43:22 wiz Exp $
+
+SHA1 (pygtksourceview-2.4.0.tar.bz2) = 5b61ca338b6b80a9ee8448a77c78ce8e188730fc
+RMD160 (pygtksourceview-2.4.0.tar.bz2) = 88a94afde4892f1bf05d8a4b5be668f5e3f53f84
+Size (pygtksourceview-2.4.0.tar.bz2) = 271360 bytes
+SHA1 (patch-aa) = 134d29324cb2479960c3b53495bb5fe53bafdb31
diff --git a/x11/py-gtksourceview/patches/patch-aa b/x11/py-gtksourceview/patches/patch-aa
new file mode 100644
index 00000000000..2d7dfcf24b9
--- /dev/null
+++ b/x11/py-gtksourceview/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/12/03 09:43:22 wiz Exp $
+
+--- configure.orig 2008-12-03 09:32:34.000000000 +0000
++++ configure
+@@ -20813,7 +20813,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;}