aboutsummaryrefslogtreecommitdiff
path: root/devel/py-gobject
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-17 03:39:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-01-17 03:39:21 +0000
commitb57f5e3f6fe8d24f8abebe530106b2c5f8412d0d (patch)
tree3f44bd7df7e49d67e61fa43a36d31b50833ebc31 /devel/py-gobject
parent7108c2b92996ba653a074ba9c2614481bbcad285 (diff)
downloadports-b57f5e3f6fe8d24f8abebe530106b2c5f8412d0d.tar.gz
ports-b57f5e3f6fe8d24f8abebe530106b2c5f8412d0d.zip
Add py-gobject, Python bindings around GLib's GObject. This port is useful
for developers that need to write Gobjects in Python but do not need to pull in all of py-gtk2.
Notes
Notes: svn path=/head/; revision=153700
Diffstat (limited to 'devel/py-gobject')
-rw-r--r--devel/py-gobject/Makefile27
-rw-r--r--devel/py-gobject/distinfo3
-rw-r--r--devel/py-gobject/pkg-descr4
-rw-r--r--devel/py-gobject/pkg-plist9
4 files changed, 43 insertions, 0 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
new file mode 100644
index 000000000000..e35def9cb036
--- /dev/null
+++ b/devel/py-gobject/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: py-gobject
+# Date created: 10 January 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= gobject
+PORTVERSION= 2.8.0
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/pygobject/2.8
+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
+USE_AUTOTOOLS= libtool:15
+
+CONFLICTS= py*-gtk-[0-9]*
+
+.include <bsd.port.mk>
diff --git a/devel/py-gobject/distinfo b/devel/py-gobject/distinfo
new file mode 100644
index 000000000000..4e818922b9f5
--- /dev/null
+++ b/devel/py-gobject/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome2/pygobject-2.8.0.tar.bz2) = 9ad0bd2d296417321bccea4d9abf077c
+SHA256 (gnome2/pygobject-2.8.0.tar.bz2) = 82dfc3054c4fcfb37847e43df8ad298808fda955aa7c2056f5cab991fd9aa145
+SIZE (gnome2/pygobject-2.8.0.tar.bz2) = 262853
diff --git a/devel/py-gobject/pkg-descr b/devel/py-gobject/pkg-descr
new file mode 100644
index 000000000000..eded7fcd4d05
--- /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 000000000000..6a749433f416
--- /dev/null
+++ b/devel/py-gobject/pkg-plist
@@ -0,0 +1,9 @@
+include/pygtk-2.0/pygobject.h
+%%PYTHON_SITELIBDIR%%/gtk-2.0/gobject.so
+%%PYTHON_SITELIBDIR%%/pygtk.pth
+%%PYTHON_SITELIBDIR%%/pygtk.py
+%%PYTHON_SITELIBDIR%%/pygtk.pyc
+%%PYTHON_SITELIBDIR%%/pygtk.pyo
+libdata/pkgconfig/pygobject-2.0.pc
+@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0
+@dirrm include/pygtk-2.0