[Erp5-report] r32398 nicolas.dumazet - in /erp5/trunk/buildout: ./ erp5-software/ zope-inst...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 10 10:14:23 CET 2010


Author: nicolas.dumazet
Date: Wed Feb 10 10:14:18 2010
New Revision: 32398

URL: http://svn.erp5.org?rev=32398&view=rev
Log:
mysql-python needs custom treatment when built with a specific mysql

in particular, PATH has to be changed so the configurator can find
mysql_config

Modified:
    erp5/trunk/buildout/erp5-software/buildout.cfg
    erp5/trunk/buildout/official.cfg
    erp5/trunk/buildout/zope-instance/buildout.cfg

Modified: erp5/trunk/buildout/erp5-software/buildout.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/erp5-software/buildout.cfg?rev=32398&r1=32397&r2=32398&view=diff
==============================================================================
--- erp5/trunk/buildout/erp5-software/buildout.cfg [utf8] (original)
+++ erp5/trunk/buildout/erp5-software/buildout.cfg [utf8] Wed Feb 10 10:14:18 2010
@@ -2,6 +2,7 @@
 parts =
   cmf15
   itools
+  mysql-python
   products-other
   products-deps
   products-erp5
@@ -56,6 +57,14 @@
 egg = itools
 include-dirs = /usr/include/glib-2.0:/usr/lib/glib-2.0/include/:/usr/lib64/glib-2.0/include/
 
+[mysql-python-env]
+PATH =${software_definition:mysql_software}/bin:%(PATH)s
+
+[mysql-python]
+recipe = zc.recipe.egg:custom
+egg = MySQL-python
+environment = mysql-python-env
+
 [products-deps]
 recipe = plone.recipe.distros
 urls =

Modified: erp5/trunk/buildout/official.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/official.cfg?rev=32398&r1=32397&r2=32398&view=diff
==============================================================================
--- erp5/trunk/buildout/official.cfg [utf8] (original)
+++ erp5/trunk/buildout/official.cfg [utf8] Wed Feb 10 10:14:18 2010
@@ -32,6 +32,7 @@
   zope-2.8
   cmf15
   itools
+  mysql-python
   products-other
   products-deps
   products-erp5

Modified: erp5/trunk/buildout/zope-instance/buildout.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/zope-instance/buildout.cfg?rev=32398&r1=32397&r2=32398&view=diff
==============================================================================
--- erp5/trunk/buildout/zope-instance/buildout.cfg [utf8] (original)
+++ erp5/trunk/buildout/zope-instance/buildout.cfg [utf8] Wed Feb 10 10:14:18 2010
@@ -15,7 +15,6 @@
   </timer-server>
 
 eggs =
-    MySQL-python
     python-memcached
     PyXML
     ply




More information about the Erp5-report mailing list