From f131801a916d664228d953633affdafb55a499cf Mon Sep 17 00:00:00 2001
From: Mayoro Diagne <mayoro@nexedi.com>
Date: Wed, 25 Apr 2012 18:52:00 +0000
Subject: [PATCH] use relative path of lamp stack for newsevolution and change
 application recipe

---
 software/newsevolution/software.cfg | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/software/newsevolution/software.cfg b/software/newsevolution/software.cfg
index 72b9f2659..51b806d9a 100644
--- a/software/newsevolution/software.cfg
+++ b/software/newsevolution/software.cfg
@@ -10,18 +10,12 @@ parts =
   downloadcache-workaround
 
 extends =
-  http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/lamp.cfg
-  http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp:/stack/shacache-client.cfg
+  ../../stack/lamp.cfg
 
 [application]
-recipe = slapos.recipe.build
+recipe = slapos.recipe.build:download-unpacked
 url = http://ftp1.toocharger.com/sckAYDm/news-evolution_3649.zip
 md5sum = 6b09a1bb7b02f37973764b911bae5dbc
-script =
-  if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
-  extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
-  workdir = guessworkdir(extract_dir)
-  self.copyTree(workdir + "/ne3", "${buildout:parts-directory}/${:_buildout_section_name_}")
 
 [instance-recipe]
 egg = slapos.cookbook
-- 
2.30.9