import gnome-python-extras 2.19.1

py-gnome-extras (also known as gnome-python-extras) is a set of bindings
for the GNOME platform libraries. It extends py-gnome with bindings for
several libraries.

Currently covered parts are:
 - gtkhtml2
 - gtkmozembed
 - gtkspell
 - gdl
 ..etc

based on an older port by landry@
feedback and ok ajacoutot@
This commit is contained in:
jasper 2008-05-13 22:18:15 +00:00
parent 44181d3799
commit d31dc90ed2
4 changed files with 142 additions and 0 deletions

View File

@ -0,0 +1,67 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/05/13 22:18:15 jasper Exp $
COMMENT= additional Python bindings for GNOME
GNOME_PROJECT= gnome-python-extras
GNOME_VERSION= 2.19.1
PKGNAME= py-gnome-extras-${VERSION}
HOMEPAGE= http://www.pygtk.org/
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 aspell atk-1.0 audiofile bonobo-2 \
bonobo-activation bonoboui-2 cairo crypto dbus-1 \
dbus-glib-1 esd expat fontconfig freetype gailutil \
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 glib-2.0 \
glitz gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 \
gnomeui-2 gnomevfs-2 gobject-2.0 gthread-2.0 \
gtk-x11-2.0 gtop-2.0 jpeg kvm m nspr4 pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pcre plc4 plds4 png popt \
ssl startup-notification-1 util xml2 z
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= ${RUN_DEPENDS} \
:xulrunner-devel->=1.8:devel/xulrunner,-devel
LIB_DEPENDS= xulrunner/gtkembedmoz,xulrunner/xpcom:xulrunner->=1.8:devel/xulrunner \
gksu2::sysutils/libgksu \
gtkspell::textproc/gtkspell \
gdl-1,gdl-gnome-1::x11/gnome/gdl \
gtkhtml-2::x11/gnome/libgtkhtml
RUN_DEPENDS= :py-gnome->=2.20.0:x11/gnome/py-gnome
REGRESS_DEPENDS= :${PKGNAME}:${BUILD_PKGPATH}
USE_X11= Yes
MODGNOME_DEVHELP_FILES= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
CONFIGURE_ARGS= --with-gtkmozembed=xulrunner
pre-configure:
@find ${WRKDIST} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-gnome-extras
cd ${WRKSRC}/examples; tar cf - * | tar xf - -C \
${PREFIX}/share/examples/py-gnome-extras
chown -R ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/share/examples/py-gnome-extras
do-regress: fake
cd ${WRKSRC}/tests && \
env PYTHONPATH="${WRKINST}${MODPY_LIBDIR}/site-packages/gtk-2.0" \
${MODPY_BIN} runtests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (gnome/gnome-python-extras-2.19.1.tar.bz2) = CIlsY9cc5E0g+vuvnA7ceA==
RMD160 (gnome/gnome-python-extras-2.19.1.tar.bz2) = HdVW3vE7bNEO+aOnR+c+o47nDmI=
SHA1 (gnome/gnome-python-extras-2.19.1.tar.bz2) = +XMDqpLDAAUIGKyKAdC8BleyqeM=
SHA256 (gnome/gnome-python-extras-2.19.1.tar.bz2) = xfdPTEbbs3nRGdb3TKSkdlOvJRvqF23HoOyszLiDOfA=
SIZE (gnome/gnome-python-extras-2.19.1.tar.bz2) = 361721

View File

@ -0,0 +1,12 @@
py-gnome-extras (also known as gnome-python-extras) is a set of bindings
for the GNOME platform libraries. It extends py-gnome with bindings for
several libraries.
Currently covered parts are:
- gtkhtml2
- egg.trayicon
- egg.recent
- gtkmozembed
- gtkspell
- gdl
- gksu2

View File

@ -0,0 +1,58 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/13 22:18:15 jasper Exp $
lib/pkgconfig/gnome-python-extras-2.0.pc
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/__init__.py
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/recent.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/recent.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/trayicon.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/egg/trayicon.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gdl.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gdl.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/__init__.py
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/__init__.pyo
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/_gksu2.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gksu2/_gksu2.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkhtml2.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkhtml2.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkmozembed.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkmozembed.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkspell.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtkspell.so
share/examples/py-gnome-extras/
share/examples/py-gnome-extras/egg/
share/examples/py-gnome-extras/egg/recent/
share/examples/py-gnome-extras/egg/recent/Bonobo_Sample_Hello.xml
share/examples/py-gnome-extras/egg/recent/bonobo-view.py
share/examples/py-gnome-extras/egg/recent/gtk-view.py
share/examples/py-gnome-extras/egg/recent/populate-recent.py
share/examples/py-gnome-extras/egg/trayicon.py
share/examples/py-gnome-extras/gdl/
share/examples/py-gnome-extras/gdl/gdl_combo_button.py
share/examples/py-gnome-extras/gdl/gdl_dock.py
share/examples/py-gnome-extras/gdl/gdl_test.py
share/examples/py-gnome-extras/gksu2/
share/examples/py-gnome-extras/gksu2/simple.py
share/examples/py-gnome-extras/gtkhtml2/
share/examples/py-gnome-extras/gtkhtml2/simple-browser.py
share/examples/py-gnome-extras/gtkspell/
share/examples/py-gnome-extras/gtkspell/gtkspell.py
share/examples/py-gnome-extras/gtkspell/test.py
share/gtk-doc/html/pygtkmozembed/
share/gtk-doc/html/pygtkmozembed/class-gtkmozembed.html
share/gtk-doc/html/pygtkmozembed/gtkmozembed-class-reference.html
share/gtk-doc/html/pygtkmozembed/index.html
share/gtk-doc/html/pygtkmozembed/index.sgml
share/gtk-doc/html/pygtkmozembed/pygtkmozembed.devhelp
share/gtk-doc/html/pygtkspell/
share/gtk-doc/html/pygtkspell/class-gtkspell.html
share/gtk-doc/html/pygtkspell/gtkspell-class-reference.html
share/gtk-doc/html/pygtkspell/index.html
share/gtk-doc/html/pygtkspell/index.sgml
share/gtk-doc/html/pygtkspell/pygtkspell.devhelp
share/pygtk/2.0/defs/gtkhtml2.defs
share/pygtk/2.0/defs/gtkmozembed.defs
share/pygtk/2.0/defs/trayicon.defs