[Erp5-report] r31994 luke - /erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 26 17:38:19 CET 2010


Author: luke
Date: Tue Jan 26 17:38:16 2010
New Revision: 31994

URL: http://svn.erp5.org?rev=31994&view=rev
Log:
 - patch is 'installed' and available from location of tritonn-patch

Modified:
    erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg

Modified: erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg?rev=31994&r1=31993&r2=31994&view=diff
==============================================================================
--- erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg [utf8] (original)
+++ erp5/trunk/buildout/mysql-tritonn-5.0/buildout.cfg [utf8] Tue Jan 26 17:38:16 2010
@@ -14,7 +14,8 @@
 
 [tritonn-patch]
 recipe = hexagonit.recipe.download
-url = http://dl.sourceforge.jp/tritonn/44472/tritonn-1.0.12-mysql-5.0.87.diff
+patch = tritonn-1.0.12-mysql-5.0.87.diff
+url = http://dl.sourceforge.jp/tritonn/44472/${:patch}
 download-only = true
 
 [mysql-tritonn-5.0]
@@ -24,10 +25,8 @@
 pre-configure-hook = ${buildout:directory}/mysql-tritonn-5.0/src/mysql_pre_configure.py:hook
 configure-options = --with-senna --without-mecab
 patch-options = -p1
-# XXX: Need to unhardcode file url, but download-cache is not available if not set
-#      But if download-cache is set, patch is available there, not in below
-#      hardcoded directory
-patches = ${buildout:directory}/downloads/tritonn-1.0.12-mysql-5.0.87.diff
+# XXX: Workarounded by using installed parts location, better solution welcome
+patches = ${tritonn-patch:location}/${tritonn-patch:patch}
 environment =
     PATH =${senna:location}/bin:%(PATH)s
 




More information about the Erp5-report mailing list