From owner-svn-ports-head@FreeBSD.ORG Wed Dec 3 17:53:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49E682D1; Wed, 3 Dec 2014 17:53:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CAB82F2; Wed, 3 Dec 2014 17:53:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sB3Hr6YD019345; Wed, 3 Dec 2014 17:53:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sB3Hr6aJ019342; Wed, 3 Dec 2014 17:53:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201412031753.sB3Hr6aJ019342@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 3 Dec 2014 17:53:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373847 - in head/x11-toolkits/py-gtkglext: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 17:53:07 -0000 Author: amdmi3 Date: Wed Dec 3 17:53:05 2014 New Revision: 373847 URL: https://svnweb.freebsd.org/changeset/ports/373847 QAT: https://qat.redports.org/buildarchive/r373847/ Log: - Fix python compilation to not reference stagedir in compiled files - Strip libraries MFH: 2014Q4 Added: head/x11-toolkits/py-gtkglext/files/ head/x11-toolkits/py-gtkglext/files/patch-py-compile (contents, props changed) Modified: head/x11-toolkits/py-gtkglext/Makefile head/x11-toolkits/py-gtkglext/pkg-plist Modified: head/x11-toolkits/py-gtkglext/Makefile ============================================================================== --- head/x11-toolkits/py-gtkglext/Makefile Wed Dec 3 17:10:21 2014 (r373846) +++ head/x11-toolkits/py-gtkglext/Makefile Wed Dec 3 17:53:05 2014 (r373847) @@ -20,4 +20,8 @@ USES= gmake libtool pathfix pkgconfig p USE_GNOME= pygtk2 GNU_CONFIGURE= yes +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gtkgl/_gtkgl.so + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/gtk-2.0/gtk/gdkgl/_gdkgl.so + .include Added: head/x11-toolkits/py-gtkglext/files/patch-py-compile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-toolkits/py-gtkglext/files/patch-py-compile Wed Dec 3 17:53:05 2014 (r373847) @@ -0,0 +1,19 @@ +--- py-compile.orig 2005-02-03 03:22:53.000000000 +0300 ++++ py-compile 2014-12-03 19:39:49.000000000 +0300 +@@ -72,7 +72,7 @@ + continue + print file, + sys.stdout.flush() +- py_compile.compile(path) ++ py_compile.compile(path, path + 'c', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR']))) + print" || exit $? + + # this will fail for python < 1.5, but that doesn't matter ... +@@ -87,6 +87,6 @@ + continue + print file, + sys.stdout.flush() +- py_compile.compile(path) ++ py_compile.compile(path, path + 'o', os.path.join('/', os.path.relpath(path, os.environ['DESTDIR']))) + print" 2>/dev/null || : + Modified: head/x11-toolkits/py-gtkglext/pkg-plist ============================================================================== --- head/x11-toolkits/py-gtkglext/pkg-plist Wed Dec 3 17:10:21 2014 (r373846) +++ head/x11-toolkits/py-gtkglext/pkg-plist Wed Dec 3 17:53:05 2014 (r373847) @@ -19,5 +19,3 @@ libdata/pkgconfig/pygtkglext-1.0.pc share/pygtk/2.0/defs/gdkglext-types.defs share/pygtk/2.0/defs/gdkglext.defs share/pygtk/2.0/defs/gtkglext.defs -@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/gtkgl -@dirrm %%PYTHON_SITELIBDIR%%/gtk-2.0/gtk/gdkgl