[Lunar-commits] <moonbase-core> Python: don't build byte code of site-packages

v4hn me at v4hn.de
Wed Oct 15 18:29:53 CEST 2014


commit c259705826166409f6e8a88f55a87e21050369dd
Author: v4hn <v4hn at lunar-linux.org>
Date: Mon, 13 Oct 2014 10:41:36 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/c259705826166409f6e8a88f55a87e21050369dd

Python: don't build byte code of site-packages
---
  python/Python/BUILD     | +0/-12    
  python/Python/DETAILS   | +1/-1     
  python/Python/PRE_BUILD | +11/-0    
  3 files changed, 12 insertions(+), 13 deletions(-)

--- a/python/Python/BUILD
+++ b/python/Python/BUILD
@@ -1,13 +1,3 @@
-(
-
-# This fixes some import not being installed when compiled against kernels 3.x
-  if [ `uname -r | cut -c 1` == "3" ] ; then
-    mkdir Lib/plat-linux3 &&
-    cp Lib/plat-linux2/* Lib/plat-linux3/
-  fi &&
-
-  sedit "s:-O3:$CFLAGS -Os:g" configure  &&
-
   OPTS+=" --enable-shared"  &&
 
   default_build &&
@@ -21,5 +11,3 @@
   mv Misc/{cheatsheet,NEWS} .  &&
   chmod 644 cheatsheet NEWS README  &&
   gather_docs cheatsheet NEWS README
-
-) > $C_FIFO 2>&1
--- a/python/Python/DETAILS
+++ b/python/Python/DETAILS
@@ -5,7 +5,7 @@
       SOURCE_VFY=sha1:9c6281eeace0c3646fa556c8087bb1b7e033c9c4
         WEB_SITE=http://www.python.org
          ENTERED=20010922
-         UPDATED=20140708
+         UPDATED=20141013
            PSAFE=no
            SHORT="Interpreted, interactive, object-oriented programming language"
 
--- /dev/null
+++ b/python/Python/PRE_BUILD
@@ -0,0 +1,11 @@
+default_pre_build &&
+
+# This fixes some import not being installed when compiled against kernels 3.x
+if [ `uname -r | cut -c 1` == "3" ] ; then
+  mkdir Lib/plat-linux3 &&
+  cp Lib/plat-linux2/* Lib/plat-linux3/
+fi &&
+
+sedit "s:-O3:$CFLAGS -Os:g" configure  &&
+
+sedit "s/ badsyntax / 'badsyntax|site-packages' /" Makefile.pre.in




More information about the Lunar-commits mailing list