aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-04-23 05:54:10 +0800
committerkwm <kwm@FreeBSD.org>2013-04-23 05:54:10 +0800
commitbd6c4eb4db5e940c6bb6ec22ceb2418a91d2193a (patch)
tree9e58830e183dd188fe6c129f71fc798671b41558
parentc2bb2db04896c770d4923e79d25627e2fa1d0dfd (diff)
downloadfreebsd-ports-gnome-bd6c4eb4db5e940c6bb6ec22ceb2418a91d2193a.tar.gz
freebsd-ports-gnome-bd6c4eb4db5e940c6bb6ec22ceb2418a91d2193a.tar.zst
freebsd-ports-gnome-bd6c4eb4db5e940c6bb6ec22ceb2418a91d2193a.zip
Add py-gobject 3.8.0.
This is the next version of the python GLib/GObject/GIO bindings, including full GObject introspection support.
-rw-r--r--Mk/bsd.gnome.mk7
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-gobject3/Makefile41
-rw-r--r--devel/py-gobject3/distinfo2
-rw-r--r--devel/py-gobject3/pkg-descr4
-rw-r--r--devel/py-gobject3/pkg-plist76
6 files changed, 130 insertions, 1 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 6954a2e5fcdf..13d0367fd5a9 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -91,7 +91,7 @@ _USE_GNOME_ALL+= atk atspi cairo desktopfileutils eel2 evolutiondataserver gal2
pygtksourceview vte
# GNOME 3 components
-_USE_GNOME_ALL+= dconf gtk30 gtksourceview3
+_USE_GNOME_ALL+= dconf gtk30 gtksourceview3 pygobject3
# C++ bindings
_USE_GNOME_ALL+=atkmm cairomm gconfmm gconfmm26 glibmm gtkmm20 gtkmm24 \
@@ -534,6 +534,11 @@ pygobject_BUILD_DEPENDS= pygobject-codegen-2.0:${PORTSDIR}/devel/py-gobject
pygobject_RUN_DEPENDS= pygobject-codegen-2.0:${PORTSDIR}/devel/py-gobject
pygobject_USE_GNOME_IMPL= glib20
+pygobject3_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc
+pygobject3_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc:${PORTSDIR}/devel/py-gobject3
+pygobject3_RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pygobject-3.0.pc:${PORTSDIR}/devel/py-gobject3
+pygobject3_USE_GNOME_IMPL= glib20
+
pygtk2_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc
pygtk2_BUILD_DEPENDS= ${pygtk2_DETECT}:${PORTSDIR}/x11-toolkits/py-gtk2
pygtk2_RUN_DEPENDS= ${pygtk2_DETECT}:${PORTSDIR}/x11-toolkits/py-gtk2
diff --git a/devel/Makefile b/devel/Makefile
index 7760aa4584fa..be747f412a71 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3495,6 +3495,7 @@
SUBDIR += py-gitosis
SUBDIR += py-gitpython
SUBDIR += py-gobject
+ SUBDIR += py-gobject3
SUBDIR += py-greenlet
SUBDIR += py-grizzled
SUBDIR += py-grouch
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
new file mode 100644
index 000000000000..e15e9e4c0fd4
--- /dev/null
+++ b/devel/py-gobject3/Makefile
@@ -0,0 +1,41 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom: ports/trunk/devel/py-gobject3/Makefile 17268 2013-04-01 05:13:11Z marcus $
+
+PORTNAME= gobject
+PORTVERSION= 3.8.0
+CATEGORIES= devel python
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pygobject-${PORTVERSION}
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for GObject
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
+RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+
+LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}3
+USE_XZ= yes
+USE_GMAKE= yes
+USES= pathfix
+USE_GNOME= glib20
+USE_PYTHON= 2.5+
+USE_PKGCONFIG= build
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+# this port doesn't work with py-gobject < 2.28.6_2, clungle below
+CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
+ py*-gobject-2.*.6_1
+PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
+
+.include <bsd.port.mk>
diff --git a/devel/py-gobject3/distinfo b/devel/py-gobject3/distinfo
new file mode 100644
index 000000000000..0cec83c7037d
--- /dev/null
+++ b/devel/py-gobject3/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome3/pygobject-3.8.0.tar.xz) = 9c57f581ae35587108c978cb116eeb7ec186b50c95b145f62033589ee248b32d
+SIZE (gnome3/pygobject-3.8.0.tar.xz) = 652616
diff --git a/devel/py-gobject3/pkg-descr b/devel/py-gobject3/pkg-descr
new file mode 100644
index 000000000000..eded7fcd4d05
--- /dev/null
+++ b/devel/py-gobject3/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-gobject3/pkg-plist b/devel/py-gobject3/pkg-plist
new file mode 100644
index 000000000000..5f135153920e
--- /dev/null
+++ b/devel/py-gobject3/pkg-plist
@@ -0,0 +1,76 @@
+include/pygobject-3.0/pygobject.h
+lib/libpyglib-gi-2.0-python%%PYTHON_VER%%.la
+lib/libpyglib-gi-2.0-python%%PYTHON_VER%%.so
+lib/libpyglib-gi-2.0-python%%PYTHON_VER%%.so.0
+%%PYTHON_SITELIBDIR%%/gi/__init__.py
+%%PYTHON_SITELIBDIR%%/gi/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gi/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gi/_gi.la
+%%PYTHON_SITELIBDIR%%/gi/_gi.so
+%%PYTHON_SITELIBDIR%%/gi/_gi_cairo.la
+%%PYTHON_SITELIBDIR%%/gi/_gi_cairo.so
+%%PYTHON_SITELIBDIR%%/gi/_glib/__init__.py
+%%PYTHON_SITELIBDIR%%/gi/_glib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gi/_glib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gi/_glib/_glib.la
+%%PYTHON_SITELIBDIR%%/gi/_glib/_glib.so
+%%PYTHON_SITELIBDIR%%/gi/_glib/option.py
+%%PYTHON_SITELIBDIR%%/gi/_glib/option.pyc
+%%PYTHON_SITELIBDIR%%/gi/_glib/option.pyo
+%%PYTHON_SITELIBDIR%%/gi/_gobject/__init__.py
+%%PYTHON_SITELIBDIR%%/gi/_gobject/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gi/_gobject/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gi/_gobject/_gobject.la
+%%PYTHON_SITELIBDIR%%/gi/_gobject/_gobject.so
+%%PYTHON_SITELIBDIR%%/gi/_gobject/constants.py
+%%PYTHON_SITELIBDIR%%/gi/_gobject/constants.pyc
+%%PYTHON_SITELIBDIR%%/gi/_gobject/constants.pyo
+%%PYTHON_SITELIBDIR%%/gi/_gobject/propertyhelper.py
+%%PYTHON_SITELIBDIR%%/gi/_gobject/propertyhelper.pyc
+%%PYTHON_SITELIBDIR%%/gi/_gobject/propertyhelper.pyo
+%%PYTHON_SITELIBDIR%%/gi/importer.py
+%%PYTHON_SITELIBDIR%%/gi/importer.pyc
+%%PYTHON_SITELIBDIR%%/gi/importer.pyo
+%%PYTHON_SITELIBDIR%%/gi/module.py
+%%PYTHON_SITELIBDIR%%/gi/module.pyc
+%%PYTHON_SITELIBDIR%%/gi/module.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/GIMarshallingTests.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/GIMarshallingTests.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/GIMarshallingTests.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/GLib.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/GLib.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/GLib.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gdk.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gdk.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gdk.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gio.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gio.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gio.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gtk.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gtk.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/Gtk.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/Pango.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/Pango.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/Pango.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/__init__.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gi/overrides/keysyms.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/keysyms.pyc
+%%PYTHON_SITELIBDIR%%/gi/overrides/keysyms.pyo
+%%PYTHON_SITELIBDIR%%/gi/pygtkcompat.py
+%%PYTHON_SITELIBDIR%%/gi/pygtkcompat.pyc
+%%PYTHON_SITELIBDIR%%/gi/pygtkcompat.pyo
+%%PYTHON_SITELIBDIR%%/gi/repository/__init__.py
+%%PYTHON_SITELIBDIR%%/gi/repository/__init__.pyc
+%%PYTHON_SITELIBDIR%%/gi/repository/__init__.pyo
+%%PYTHON_SITELIBDIR%%/gi/types.py
+%%PYTHON_SITELIBDIR%%/gi/types.pyc
+%%PYTHON_SITELIBDIR%%/gi/types.pyo
+libdata/pkgconfig/pygobject-3.0.pc
+@dirrm %%PYTHON_SITELIBDIR%%/gi/repository
+@dirrm %%PYTHON_SITELIBDIR%%/gi/overrides
+@dirrm %%PYTHON_SITELIBDIR%%/gi/_gobject
+@dirrm %%PYTHON_SITELIBDIR%%/gi/_glib
+@dirrm %%PYTHON_SITELIBDIR%%/gi
+@dirrmtry include/pygobject-3.0