summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-23 06:17:25 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-01-23 06:17:25 +0800
commitabd20f4f9d3e6c7213b74f0a5254306f17827517 (patch)
treed96ee42d04dcc8691fa11b83dc879b1562adb768 /devel
parent044fa5e7d0290977e35f992ed138927a1408be2f (diff)
downloadmarcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar.gz
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar.bz2
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar.lz
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar.xz
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.tar.zst
marcuscom-ports-abd20f4f9d3e6c7213b74f0a5254306f17827517.zip
Update to 2.27.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15067 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/py-gobject/Makefile52
-rw-r--r--devel/py-gobject/distinfo2
-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-plist232
6 files changed, 312 insertions, 0 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
new file mode 100644
index 000000000..dae6ad1bf
--- /dev/null
+++ b/devel/py-gobject/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: py-gobject
+# Date created: 10 January 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/devel/py-gobject/Makefile,v 1.42 2010/09/27 18:04:22 kwm Exp $
+#
+
+PORTNAME= gobject
+PORTVERSION= 2.27.0
+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
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack glib20
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-docs
+
+CONFLICTS= py*-gtk-0*
+PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libffi.so)
+LIB_DEPENDS+= ffi.5:${PORTSDIR}/devel/libffi
+CONFIGURE_ARGS+=--with-ffi
+.else
+CONFIGURE_ARGS+=--without-ffi
+.endif
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/pygobject/2.0/codegen
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-gobject/distinfo b/devel/py-gobject/distinfo
new file mode 100644
index 000000000..63bb05c36
--- /dev/null
+++ b/devel/py-gobject/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/pygobject-2.27.0.tar.bz2) = 7594bd86c5b92a4ba1f26927800f1b29e1ec5c246cad67aa085c279d6425b8a2
+SIZE (gnome2/pygobject-2.27.0.tar.bz2) = 822179
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..b0230853e
--- /dev/null
+++ b/devel/py-gobject/pkg-plist
@@ -0,0 +1,232 @@
+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/gi/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/_gi.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/_gi.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/_gi_cairo.la
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/_gi_cairo.so
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/importer.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/importer.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/importer.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/module.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/module.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/module.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GIMarshallingTests.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GIMarshallingTests.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GIMarshallingTests.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GLib.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GLib.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/GLib.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gdk.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gdk.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gdk.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gtk.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gtk.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/Gtk.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/keysyms.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/keysyms.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides/keysyms.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/repository/__init__.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/repository/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/repository/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/types.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/types.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gi/types.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/gcancellable.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
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gi/repository
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gi/overrides
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gi
+@dirrmtry %%PYTHON_SITELIBDIR%%/gtk-2.0
+@dirrmtry include/pygtk-2.0