summaryrefslogtreecommitdiffstats
path: root/devel/py-gobject
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-07 16:47:32 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-07 16:47:32 +0800
commitfae469be82c10d52aa10340ea870960e95412d7a (patch)
tree0f2aa65bc003a7f420b12d24850ca91378df5cdc /devel/py-gobject
parent30a53d8fa0b04d1cd5c12c03f2a6244c8117de64 (diff)
downloadmarcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar.gz
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar.bz2
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar.lz
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar.xz
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.tar.zst
marcuscom-ports-fae469be82c10d52aa10340ea870960e95412d7a.zip
Enable pygi wrapper support. needed for py-gi.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14203 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/py-gobject')
-rw-r--r--devel/py-gobject/Makefile37
-rw-r--r--devel/py-gobject/distinfo3
-rw-r--r--devel/py-gobject/files/patch-docs_Makefile.in11
-rw-r--r--devel/py-gobject/files/patch-pygobject-2.0.pc.in11
-rw-r--r--devel/py-gobject/pkg-descr4
-rw-r--r--devel/py-gobject/pkg-plist191
6 files changed, 257 insertions, 0 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
new file mode 100644
index 000000000..f717e61ab
--- /dev/null
+++ b/devel/py-gobject/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-gobject
+# Date created: 10 January 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/py-gobject/Makefile,v 1.15 2010/05/10 21:18:11 kwm Exp $
+# $MCom: ports/devel/py-gobject/Makefile,v 1.37 2010/01/03 06:54:20 marcus Exp $
+#
+
+PORTNAME= gobject
+PORTVERSION= 2.21.1
+PORTREVISION= 1
+CATEGORIES= devel python
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pygobject-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for GObject
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack glib20
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-docs --enable-pygi
+
+CONFLICTS= py*-gtk-0*
+PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/pygobject/2.0/codegen
+
+.include <bsd.port.mk>
diff --git a/devel/py-gobject/distinfo b/devel/py-gobject/distinfo
new file mode 100644
index 000000000..2c1792ed6
--- /dev/null
+++ b/devel/py-gobject/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/pygobject-2.21.1.tar.bz2) = c12eef0cd6725dc7245c3db78ef85d2d
+SHA256 (gnome2/pygobject-2.21.1.tar.bz2) = e6ae6c70966899d2040c82ae4e1590cf941ebf121a3ec61e80bf517ce8d9be0a
+SIZE (gnome2/pygobject-2.21.1.tar.bz2) = 681795
diff --git a/devel/py-gobject/files/patch-docs_Makefile.in b/devel/py-gobject/files/patch-docs_Makefile.in
new file mode 100644
index 000000000..39d35befb
--- /dev/null
+++ b/devel/py-gobject/files/patch-docs_Makefile.in
@@ -0,0 +1,11 @@
+--- docs/Makefile.in.orig Sat May 5 01:25:03 2007
++++ docs/Makefile.in Sat May 5 01:25:39 2007
+@@ -223,7 +223,7 @@ XSL_FILES = \
+ # fixxref cannot be included in XSL_FILES, because automake is touching it
+ # so the date is newer then the files in HTML_FILES
+ FIXXREF = xsl/fixxref.py
+-TARGET_DIR = $(datadir)/gtk-doc/html/pygobject
++TARGET_DIR = $(prefix)/share/doc/pygobject
+ CSSdir = $(TARGET_DIR)
+ CSS_DATA = $(CSS_FILES)
+ XSLdir = $(datadir)/pygobject/xsl
diff --git a/devel/py-gobject/files/patch-pygobject-2.0.pc.in b/devel/py-gobject/files/patch-pygobject-2.0.pc.in
new file mode 100644
index 000000000..76ee71ccd
--- /dev/null
+++ b/devel/py-gobject/files/patch-pygobject-2.0.pc.in
@@ -0,0 +1,11 @@
+--- pygobject-2.0.pc.in.orig 2008-09-03 15:31:23.000000000 +0000
++++ pygobject-2.0.pc.in 2008-09-03 15:31:43.000000000 +0000
+@@ -10,7 +10,7 @@
+ # install additional headers.
+ pygtkincludedir=${includedir}/pygtk-2.0
+ fixxref=${datadir}/pygobject/xsl/fixxref.py
+-pygdocs=${datadir}/gtk-doc/html/pygobject
++pygdocs=${datadir}/doc/pygobject
+ defsdir=${datadir}/pygobject/2.0/defs
+ codegendir=${datadir}/pygobject/2.0/codegen
+
diff --git a/devel/py-gobject/pkg-descr b/devel/py-gobject/pkg-descr
new file mode 100644
index 000000000..eded7fcd4
--- /dev/null
+++ b/devel/py-gobject/pkg-descr
@@ -0,0 +1,4 @@
+PyGObject provides a convenient wrapper for the GObject+ library for use
+in Python programs, and takes care of many of the boring details such as
+managing memory and type casting. When combined with PyGTK, PyORBit and
+gnome-python, it can be used to write full featured Gnome applications.
diff --git a/devel/py-gobject/pkg-plist b/devel/py-gobject/pkg-plist
new file mode 100644
index 000000000..67f431338
--- /dev/null
+++ b/devel/py-gobject/pkg-plist
@@ -0,0 +1,191 @@
+bin/pygobject-codegen-2.0
+include/pygtk-2.0/pyglib.h
+include/pygtk-2.0/pygobject.h
+lib/libpyglib-2.0-python%%PYTHON_VER%%.la
+lib/libpyglib-2.0-python%%PYTHON_VER%%.so
+lib/libpyglib-2.0-python%%PYTHON_VER%%.so.0
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/_gio.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/_gio.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/_glib.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/_glib.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/option.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/option.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/glib/option.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/_gobject.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/_gobject.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/constants.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/constants.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/constants.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/propertyhelper.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/propertyhelper.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject/propertyhelper.pyo
+%%PYTHON_SITELIBDIR%%/pygtk.pth
+%%PYTHON_SITELIBDIR%%/pygtk.py
+%%PYTHON_SITELIBDIR%%/pygtk.pyc
+%%PYTHON_SITELIBDIR%%/pygtk.pyo
+libdata/pkgconfig/pygobject-2.0.pc
+share/doc/pygobject/class-gioappinfo.html
+share/doc/pygobject/class-gioapplaunchcontext.html
+share/doc/pygobject/class-gioasyncresult.html
+share/doc/pygobject/class-giobufferedinputstream.html
+share/doc/pygobject/class-giobufferedoutputstream.html
+share/doc/pygobject/class-giocancellable.html
+share/doc/pygobject/class-giodatainputstream.html
+share/doc/pygobject/class-giodataoutputstream.html
+share/doc/pygobject/class-giodrive.html
+share/doc/pygobject/class-gioemblem.html
+share/doc/pygobject/class-gioemblemedicon.html
+share/doc/pygobject/class-giofile.html
+share/doc/pygobject/class-giofileattributeinfo.html
+share/doc/pygobject/class-giofileenumerator.html
+share/doc/pygobject/class-giofileicon.html
+share/doc/pygobject/class-giofileinfo.html
+share/doc/pygobject/class-giofileinputstream.html
+share/doc/pygobject/class-giofilemonitor.html
+share/doc/pygobject/class-giofileoutputstream.html
+share/doc/pygobject/class-giofilterinputstream.html
+share/doc/pygobject/class-giofilteroutputstream.html
+share/doc/pygobject/class-gioicon.html
+share/doc/pygobject/class-gioinputstream.html
+share/doc/pygobject/class-gioloadableicon.html
+share/doc/pygobject/class-giomemoryinputstream.html
+share/doc/pygobject/class-giomemoryoutputstream.html
+share/doc/pygobject/class-giomount.html
+share/doc/pygobject/class-giomountoperation.html
+share/doc/pygobject/class-giooutputstream.html
+share/doc/pygobject/class-gioseekable.html
+share/doc/pygobject/class-giosimpleasyncresult.html
+share/doc/pygobject/class-giothemedicon.html
+share/doc/pygobject/class-giounixinputstream.html
+share/doc/pygobject/class-giounixoutputstream.html
+share/doc/pygobject/class-giovolume.html
+share/doc/pygobject/class-giovolumemonitor.html
+share/doc/pygobject/class-glibmaincontext.html
+share/doc/pygobject/class-glibmainloop.html
+share/doc/pygobject/class-gobject.html
+share/doc/pygobject/class-gobjectgboxed.html
+share/doc/pygobject/class-gobjectginterface.html
+share/doc/pygobject/class-gobjectgpointer.html
+share/doc/pygobject/gio-class-reference.html
+share/doc/pygobject/gio-constants.html
+share/doc/pygobject/gio-functions.html
+share/doc/pygobject/giounix-class-reference.html
+share/doc/pygobject/glib-class-reference.html
+share/doc/pygobject/glib-constants.html
+share/doc/pygobject/glib-functions.html
+share/doc/pygobject/gobject-class-reference.html
+share/doc/pygobject/gobject-constants.html
+share/doc/pygobject/gobject-functions.html
+share/doc/pygobject/index.html
+share/doc/pygobject/index.sgml
+share/doc/pygobject/pygobject-introduction.html
+share/doc/pygobject/pygobject.devhelp
+share/doc/pygobject/style.css
+share/pygobject/2.0/codegen/__init__.py
+share/pygobject/2.0/codegen/__init__.pyc
+share/pygobject/2.0/codegen/__init__.pyo
+share/pygobject/2.0/codegen/argtypes.py
+share/pygobject/2.0/codegen/argtypes.pyc
+share/pygobject/2.0/codegen/argtypes.pyo
+share/pygobject/2.0/codegen/code-coverage.py
+share/pygobject/2.0/codegen/code-coverage.pyc
+share/pygobject/2.0/codegen/codegen.py
+share/pygobject/2.0/codegen/codegen.pyc
+share/pygobject/2.0/codegen/createdefs.py
+share/pygobject/2.0/codegen/createdefs.pyc
+share/pygobject/2.0/codegen/definitions.py
+share/pygobject/2.0/codegen/definitions.pyc
+share/pygobject/2.0/codegen/definitions.pyo
+share/pygobject/2.0/codegen/defsconvert.py
+share/pygobject/2.0/codegen/defsconvert.pyc
+share/pygobject/2.0/codegen/defsgen.py
+share/pygobject/2.0/codegen/defsgen.pyc
+share/pygobject/2.0/codegen/defsparser.py
+share/pygobject/2.0/codegen/defsparser.pyc
+share/pygobject/2.0/codegen/defsparser.pyo
+share/pygobject/2.0/codegen/docextract.py
+share/pygobject/2.0/codegen/docextract.pyc
+share/pygobject/2.0/codegen/docextract.pyo
+share/pygobject/2.0/codegen/docextract_to_xml.py
+share/pygobject/2.0/codegen/docextract_to_xml.pyc
+share/pygobject/2.0/codegen/docgen.py
+share/pygobject/2.0/codegen/docgen.pyc
+share/pygobject/2.0/codegen/h2def.py
+share/pygobject/2.0/codegen/h2def.pyc
+share/pygobject/2.0/codegen/mergedefs.py
+share/pygobject/2.0/codegen/mergedefs.pyc
+share/pygobject/2.0/codegen/missingdefs.py
+share/pygobject/2.0/codegen/missingdefs.pyc
+share/pygobject/2.0/codegen/mkskel.py
+share/pygobject/2.0/codegen/mkskel.pyc
+share/pygobject/2.0/codegen/override.py
+share/pygobject/2.0/codegen/override.pyc
+share/pygobject/2.0/codegen/override.pyo
+share/pygobject/2.0/codegen/reversewrapper.py
+share/pygobject/2.0/codegen/reversewrapper.pyc
+share/pygobject/2.0/codegen/reversewrapper.pyo
+share/pygobject/2.0/codegen/scanvirtuals.py
+share/pygobject/2.0/codegen/scanvirtuals.pyc
+share/pygobject/2.0/codegen/scmexpr.py
+share/pygobject/2.0/codegen/scmexpr.pyc
+share/pygobject/2.0/defs/gappinfo.override
+share/pygobject/2.0/defs/gapplaunchcontext.override
+share/pygobject/2.0/defs/gbufferedinputstream.override
+share/pygobject/2.0/defs/gdatainputstream.override
+share/pygobject/2.0/defs/gdrive.override
+share/pygobject/2.0/defs/gfile.override
+share/pygobject/2.0/defs/gfileattribute.override
+share/pygobject/2.0/defs/gfileenumerator.override
+share/pygobject/2.0/defs/gfileinfo.override
+share/pygobject/2.0/defs/gfileinputstream.override
+share/pygobject/2.0/defs/gfileiostream.override
+share/pygobject/2.0/defs/gfileoutputstream.override
+share/pygobject/2.0/defs/gicon.override
+share/pygobject/2.0/defs/ginputstream.override
+share/pygobject/2.0/defs/gio-types.defs
+share/pygobject/2.0/defs/gio.defs
+share/pygobject/2.0/defs/gio.override
+share/pygobject/2.0/defs/giostream.override
+share/pygobject/2.0/defs/gmemoryinputstream.override
+share/pygobject/2.0/defs/gmemoryoutputstream.override
+share/pygobject/2.0/defs/gmount.override
+share/pygobject/2.0/defs/goutputstream.override
+share/pygobject/2.0/defs/gresolver.override
+share/pygobject/2.0/defs/gsocket.override
+share/pygobject/2.0/defs/gvolume.override
+share/pygobject/2.0/defs/gvolumemonitor.override
+share/pygobject/2.0/defs/unix-types.defs
+share/pygobject/2.0/defs/unix.defs
+share/pygobject/2.0/defs/unix.override
+share/pygobject/xsl/common.xsl
+share/pygobject/xsl/devhelp.xsl
+share/pygobject/xsl/fixxref.py
+share/pygobject/xsl/html.xsl
+share/pygobject/xsl/pdf-style.xsl
+share/pygobject/xsl/pdf.xsl
+share/pygobject/xsl/ref-html-style.xsl
+@dirrm share/pygobject/xsl
+@dirrm share/pygobject/2.0/defs
+@dirrm share/pygobject/2.0/codegen
+@dirrm share/pygobject/2.0
+@dirrm share/pygobject
+@dirrm share/doc/pygobject
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gobject
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/glib
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gio
+@dirrmtry %%PYTHON_SITELIBDIR%%/gtk-2.0
+@dirrmtry include/pygtk-2.0