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.
This commit is contained in:
Joe Marcus Clarke 2006-01-17 03:39:21 +00:00
parent 7108c2b929
commit b57f5e3f6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153700
5 changed files with 44 additions and 0 deletions

View file

@ -1397,6 +1397,7 @@
SUBDIR += py-game SUBDIR += py-game
SUBDIR += py-gamin SUBDIR += py-gamin
SUBDIR += py-getargs SUBDIR += py-getargs
SUBDIR += py-gobject
SUBDIR += py-grouch SUBDIR += py-grouch
SUBDIR += py-icalendar SUBDIR += py-icalendar
SUBDIR += py-ice SUBDIR += py-ice

27
devel/py-gobject/Makefile Normal file
View file

@ -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>

View file

@ -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

View file

@ -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.

View file

@ -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