Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 12:30:37 +0200
From:      nemysis <nemysis@FreeBSD.org>
To:        bug-followup@FreeBSD.org, gnome@FreeBSD.org
Cc:        nemysis@FreeBSD.org
Subject:   Re: ports/182069: [PATCH] devel/py27-gobject: Fix GFlags messages
Message-ID:  <20130929103037.GA3748@nemysis4now>

next in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

- Remove not needed LICENSE_FILE
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Support STAGEDIR, new pkg-plist with make makeplist
- Add patch, fix GFlags messages

--envbJBWh7q8WU6mo
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="py-gobject.diff"

Index: Makefile
===================================================================
--- Makefile	(revision 328651)
+++ Makefile	(working copy)
@@ -16,17 +16,15 @@
 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
+LIB_DEPENDS+=	libffi.so:${PORTSDIR}/devel/libffi
 RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
 
-USES=		pathfix pkgconfig
+USES=		gmake pathfix pkgconfig
 USE_XZ=		yes
-USE_GMAKE=	yes
 USE_GNOME=	glib20
 USE_PYTHON=	2.5+
 GNU_CONFIGURE=	yes
@@ -36,9 +34,8 @@
 CONFLICTS=	py*-gtk-0*
 PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
 
-NO_STAGE=	yes
 post-install:
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-		${PREFIX}/share/pygobject/2.0/codegen
+		${STAGEDIR}${PREFIX}/share/pygobject/2.0/codegen
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 328651)
+++ pkg-plist	(working copy)
@@ -23,6 +23,9 @@
 %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.py
 %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyc
 %%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyo
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
+%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.py
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyc
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyo
@@ -30,9 +33,6 @@
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/_gio.so
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.la
 %%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.so
-%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
-%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
-%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
 %%PYTHON_SITELIBDIR%%/pygtk.pth
 %%PYTHON_SITELIBDIR%%/pygtk.py
 %%PYTHON_SITELIBDIR%%/pygtk.pyc

--envbJBWh7q8WU6mo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130929103037.GA3748>