From owner-svn-ports-head@FreeBSD.ORG Sat Apr 5 09:04:29 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BE1B557; Sat, 5 Apr 2014 09:04:29 +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 D2DC3262; Sat, 5 Apr 2014 09:04:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3594SJp090736; Sat, 5 Apr 2014 09:04:28 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3594Sso090735; Sat, 5 Apr 2014 09:04:28 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201404050904.s3594Sso090735@svn.freebsd.org> From: Antoine Brodin Date: Sat, 5 Apr 2014 09:04:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350207 - head/lang/python27/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.17 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: Sat, 05 Apr 2014 09:04:29 -0000 Author: antoine Date: Sat Apr 5 09:04:28 2014 New Revision: 350207 URL: http://svnweb.freebsd.org/changeset/ports/350207 QAT: https://qat.redports.org/buildarchive/r350207/ Log: Allow staging/packaging as a regular user: - pycompile only once, previously it would pycompile 3 imported modules (getopt, struct and py_compile) and make them read-only, and later try to pycompile them again and fail - ranlib before installing archive read-only With hat: portmgr Modified: head/lang/python27/files/patch-Makefile.pre.in Modified: head/lang/python27/files/patch-Makefile.pre.in ============================================================================== --- head/lang/python27/files/patch-Makefile.pre.in Sat Apr 5 08:01:26 2014 (r350206) +++ head/lang/python27/files/patch-Makefile.pre.in Sat Apr 5 09:04:28 2014 (r350207) @@ -1,6 +1,6 @@ ---- ./Makefile.pre.in.orig 2013-04-06 18:02:34.000000000 +0400 -+++ ./Makefile.pre.in 2013-04-07 22:30:19.000000000 +0400 -@@ -281,9 +281,9 @@ +--- ./Makefile.pre.in.orig 2013-11-10 07:36:41.000000000 +0000 ++++ ./Makefile.pre.in 2014-04-04 09:16:00.000000000 +0000 +@@ -285,9 +285,9 @@ ########################################################################## # AST @@ -12,3 +12,28 @@ AST_C= $(AST_C_DIR)/Python-ast.c AST_ASDL= $(srcdir)/Parser/Python.asdl +@@ -1006,12 +1006,12 @@ + $(DESTDIR)$(LIBDEST)/distutils/tests ; \ + fi + PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(PYTHON_FOR_BUILD) -B -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ + $(DESTDIR)$(LIBDEST) + PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +- $(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ ++ $(PYTHON_FOR_BUILD) -B -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ + -d $(LIBDEST) -f \ + -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ + $(DESTDIR)$(LIBDEST) +@@ -1089,8 +1089,8 @@ + if test "$(SO)" = .dll; then \ + $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ + else \ ++ $(RANLIB) $(LIBRARY) ; \ + $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ +- $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \ + fi; \ + else \ + echo Skip install of $(LIBRARY) - use make frameworkinstall; \