Skip to content

Commit

Permalink
Merge from vendor branch FIX_VENDOR:
Browse files Browse the repository at this point in the history
Import py-gobject3-3.0.0.

This package contains bindings for the GObject, to be used in Python.
It is a fairly complete set of bindings, it's already rather useful, and
is usable to write moderately complex programs.

ok jasper@
  • Loading branch information
ajacoutot committed Sep 21, 2011
2 parents f1d3ba6 + 448d540 commit 492b5e6
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 0 deletions.
47 changes: 47 additions & 0 deletions devel/py-gobject3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/09/21 13:46:26 ajacoutot Exp $

COMMENT= Python bindings for glib2 gobject

GNOME_PROJECT= pygobject
GNOME_VERSION= 3.0.0

PKGNAME= py-gobject3-${GNOME_VERSION}

CATEGORIES= devel

SHARED_LIBS += pyglib-gi-2.0-python${MODPY_VERSION} 0.0 # 0.0

HOMEPAGE= http://www.pygtk.org/

MAINTAINER= Antoine Jacoutot <[email protected]>

# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes

WANTLIB += GL X11 Xau Xdamage Xdmcp Xext Xfixes Xrender Xxf86vm
WANTLIB += cairo drm expat ffi fontconfig freetype gio-2.0 girepository-1.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 m pcre
WANTLIB += pixman-1 png pthread-stubs xcb xcb-render xcb-shm z

MODULES= devel/gettext \
lang/python \
x11/gnome

BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= graphics/py-cairo
LIB_DEPENDS= devel/gobject-introspection>=1.30.0

CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-cairo

REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
REGRESS_IS_INTERACTIVE= x11

post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/share/pygobject/2.0/codegen

.include <bsd.port.mk>
5 changes: 5 additions & 0 deletions devel/py-gobject3/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
MD5 (pygobject-3.0.0.tar.xz) = QrlA7J7WSxxfDnkWTNDJPw==
RMD160 (pygobject-3.0.0.tar.xz) = BNDb2Oz0vh3nTlhsr00ucwsk7J0=
SHA1 (pygobject-3.0.0.tar.xz) = 7AaXMc6rv5eUwDkPTjfAEP8R+p4=
SHA256 (pygobject-3.0.0.tar.xz) = 72c1eSsNRChxJqajsYHIVVmEkGPXcFBv4GhIrbh86BU=
SIZE (pygobject-3.0.0.tar.xz) = 542416
3 changes: 3 additions & 0 deletions devel/py-gobject3/pkg/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This package contains bindings for the GObject, to be used in Python.
It is a fairly complete set of bindings, it's already rather useful, and
is usable to write moderately complex programs.
80 changes: 80 additions & 0 deletions devel/py-gobject3/pkg/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/09/21 13:46:26 ajacoutot Exp $
@conflict py-gtk2-2.8.6*
@conflict py-gobject-<2.28.6p2v0
include/pygobject-3.0/
include/pygobject-3.0/pygobject.h
lib/libpyglib-gi-2.0-python${MODPY_VERSION}.a
lib/libpyglib-gi-2.0-python${MODPY_VERSION}.la
@lib lib/libpyglib-gi-2.0-python${MODPY_VERSION}.so.${LIBpyglib-gi-2.0-python2.7_VERSION}
lib/pkgconfig/pygobject-3.0.pc
lib/python${MODPY_VERSION}/site-packages/gi/
lib/python${MODPY_VERSION}/site-packages/gi/__init__.py
lib/python${MODPY_VERSION}/site-packages/gi/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gi/__init__.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gi.a
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gi.la
lib/python${MODPY_VERSION}/site-packages/gi/_gi.so
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gi_cairo.a
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gi_cairo.la
lib/python${MODPY_VERSION}/site-packages/gi/_gi_cairo.so
lib/python${MODPY_VERSION}/site-packages/gi/_glib/
lib/python${MODPY_VERSION}/site-packages/gi/_glib/__init__.py
lib/python${MODPY_VERSION}/site-packages/gi/_glib/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gi/_glib/__init__.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gi/_glib/_glib.a
@comment lib/python${MODPY_VERSION}/site-packages/gi/_glib/_glib.la
lib/python${MODPY_VERSION}/site-packages/gi/_glib/_glib.so
lib/python${MODPY_VERSION}/site-packages/gi/_glib/option.py
lib/python${MODPY_VERSION}/site-packages/gi/_glib/option.pyc
lib/python${MODPY_VERSION}/site-packages/gi/_glib/option.pyo
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/__init__.py
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/__init__.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gobject/_gobject.a
@comment lib/python${MODPY_VERSION}/site-packages/gi/_gobject/_gobject.la
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/_gobject.so
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/constants.py
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/constants.pyc
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/constants.pyo
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/propertyhelper.py
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/propertyhelper.pyc
lib/python${MODPY_VERSION}/site-packages/gi/_gobject/propertyhelper.pyo
lib/python${MODPY_VERSION}/site-packages/gi/importer.py
lib/python${MODPY_VERSION}/site-packages/gi/importer.pyc
lib/python${MODPY_VERSION}/site-packages/gi/importer.pyo
lib/python${MODPY_VERSION}/site-packages/gi/module.py
lib/python${MODPY_VERSION}/site-packages/gi/module.pyc
lib/python${MODPY_VERSION}/site-packages/gi/module.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GIMarshallingTests.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GIMarshallingTests.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GIMarshallingTests.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GLib.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GLib.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/GLib.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gdk.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gdk.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gdk.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gio.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gio.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gio.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gtk.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gtk.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Gtk.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Pango.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Pango.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/Pango.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/__init__.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/gi/overrides/keysyms.py
lib/python${MODPY_VERSION}/site-packages/gi/overrides/keysyms.pyc
lib/python${MODPY_VERSION}/site-packages/gi/overrides/keysyms.pyo
lib/python${MODPY_VERSION}/site-packages/gi/repository/
lib/python${MODPY_VERSION}/site-packages/gi/repository/__init__.py
lib/python${MODPY_VERSION}/site-packages/gi/repository/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gi/repository/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/gi/types.py
lib/python${MODPY_VERSION}/site-packages/gi/types.pyc
lib/python${MODPY_VERSION}/site-packages/gi/types.pyo

0 comments on commit 492b5e6

Please sign in to comment.