commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9633 - in trunk/gnue-common/packaging/osx: . build-env build-env


From: johannes
Subject: [gnue] r9633 - in trunk/gnue-common/packaging/osx: . build-env build-env/Resources
Date: Sun, 27 May 2007 06:22:46 -0500 (CDT)

Author: johannes
Date: 2007-05-27 06:22:46 -0500 (Sun, 27 May 2007)
New Revision: 9633

Added:
   trunk/gnue-common/packaging/osx/build-env/
   trunk/gnue-common/packaging/osx/build-env/Resources/
   trunk/gnue-common/packaging/osx/build-env/Resources/README
   trunk/gnue-common/packaging/osx/build-env/Resources/postflight
Modified:
   trunk/gnue-common/packaging/osx/create-build
Log:
Add the resource tree


Added: trunk/gnue-common/packaging/osx/build-env/Resources/README
===================================================================
--- trunk/gnue-common/packaging/osx/build-env/Resources/README  2007-05-27 
11:18:32 UTC (rev 9632)
+++ trunk/gnue-common/packaging/osx/build-env/Resources/README  2007-05-27 
11:22:46 UTC (rev 9633)
@@ -0,0 +1,31 @@
+# README
+
+1. Prerequisites
+
+  - Python2.3
+      Mac OS X Tiger comes with python 2.3.5 installed. That's ok, since this
+      package is designed for that python environment.
+
+  - Fix for handling python2.3 site-packages:
+      Download and install a small fix for Tiger's builtin python 2.3
+      site-packages from:
+      http://pythonmac.org/packages/TigerPython23Compat.pkg.zip
+
+  - egenix.mx.datetime
+      Download and install the egenix-mx-base package from
+      http://pythonmac.org/packages/egenix_mx_base-2.0.6-py2.3-macosx10.3.zip
+
+  - PIL
+      Download and install the Python Imaging Library from
+      http://pythonmac.org/packages/PIL-1.1.5-py2.3-macosx10.3.zip
+
+
+2. Installation
+
+  To install GNU Enterprise Common double click on the installer package.
+
+
+3. Additional resources and packages:
+
+  If you're looking for a given package (like database drivers) you might visit
+  "http://www.gnuenterprise.org/downloads/depends";.

Added: trunk/gnue-common/packaging/osx/build-env/Resources/postflight
===================================================================
--- trunk/gnue-common/packaging/osx/build-env/Resources/postflight      
2007-05-27 11:18:32 UTC (rev 9632)
+++ trunk/gnue-common/packaging/osx/build-env/Resources/postflight      
2007-05-27 11:22:46 UTC (rev 9633)
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Postflight script: 
+# Compile and optimize all python files of gnue
+#
+
+PYTHON=python2.3
+COMPILE=/usr/lib/$PYTHON/compileall.py
+SITELIB="/usr/lib/$PYTHON/site-packages/gnue/"
+
+if which $PYTHON >/dev/null 2>&1 && [ -e "$COMPILE" ];
+then
+  for i in $SITELIB ; do
+    $PYTHON -O $COMPILE -q $i
+    $PYTHON $COMPILE -q $i
+  done
+fi


Property changes on: 
trunk/gnue-common/packaging/osx/build-env/Resources/postflight
___________________________________________________________________
Name: svn:executable
   + *

Modified: trunk/gnue-common/packaging/osx/create-build
===================================================================
--- trunk/gnue-common/packaging/osx/create-build        2007-05-27 11:18:32 UTC 
(rev 9632)
+++ trunk/gnue-common/packaging/osx/create-build        2007-05-27 11:22:46 UTC 
(rev 9633)
@@ -115,7 +115,7 @@
 # Get rid of the obsolte directories
 # ---------------------------------------------------------------------------
 
-rm -rf "$curdir/build-env"
+rm -rf "$destdir"
 
 
 # ---------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]