diff options
author | marcus <marcus@FreeBSD.org> | 2006-01-17 11:39:21 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-01-17 11:39:21 +0800 |
commit | eb357a1db1cf4f9c8d688fadb3654e4a2424b29b (patch) | |
tree | e431602c8ffd0fc4c16a232e769440644a0201d9 /devel | |
parent | 1f7e6b49f2d5e4b3f7656a105c54a6738faf445f (diff) | |
download | freebsd-ports-graphics-eb357a1db1cf4f9c8d688fadb3654e4a2424b29b.tar.gz freebsd-ports-graphics-eb357a1db1cf4f9c8d688fadb3654e4a2424b29b.tar.zst freebsd-ports-graphics-eb357a1db1cf4f9c8d688fadb3654e4a2424b29b.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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-gobject/Makefile | 27 | ||||
-rw-r--r-- | devel/py-gobject/distinfo | 3 | ||||
-rw-r--r-- | devel/py-gobject/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-gobject/pkg-plist | 9 |
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4bfce1a0f26..cddfd5c3fb7 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1397,6 +1397,7 @@ SUBDIR += py-game SUBDIR += py-gamin SUBDIR += py-getargs + SUBDIR += py-gobject SUBDIR += py-grouch SUBDIR += py-icalendar SUBDIR += py-ice diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile new file mode 100644 index 00000000000..e35def9cb03 --- /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 00000000000..4e818922b9f --- /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 00000000000..eded7fcd4d0 --- /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 00000000000..6a749433f41 --- /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 |