[Erp5-report] r32923 luke - in /erp5/trunk/buildout: ./ helpers/ profiles/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 22 10:46:15 CET 2010


Author: luke
Date: Mon Feb 22 10:46:15 2010
New Revision: 32923

URL: http://svn.erp5.org?rev=32923&view=rev
Log:
 - add helpers container
 - move buildout profile to simple shell script helper
 - update documentation about how to prepare Mandirva 2010.0

Added:
    erp5/trunk/buildout/helpers/
    erp5/trunk/buildout/helpers/mandriva2010.0.sh   (with props)
Removed:
    erp5/trunk/buildout/profiles/mandriva2010.0.cfg
Modified:
    erp5/trunk/buildout/README.txt

Modified: erp5/trunk/buildout/README.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/README.txt?rev=32923&r1=32922&r2=32923&view=diff
==============================================================================
--- erp5/trunk/buildout/README.txt [utf8] (original)
+++ erp5/trunk/buildout/README.txt [utf8] Mon Feb 22 10:46:15 2010
@@ -42,8 +42,8 @@
 In profiles directory there are profiles to help with preparation of used
 distributions.
 
-To prepare Mandriva 2010.0 please type, after bootstrapping:
+To prepare Mandriva 2010.0 please type, having root privileges:
 
-  bin/buildout -c profiles/mandriva2010.0.cfg install dependency
+  helpers/mandriva2010.0.sh
 
 sudo is used internally.

Added: erp5/trunk/buildout/helpers/mandriva2010.0.sh
URL: http://svn.erp5.org/erp5/trunk/buildout/helpers/mandriva2010.0.sh?rev=32923&view=auto
==============================================================================
--- erp5/trunk/buildout/helpers/mandriva2010.0.sh (added)
+++ erp5/trunk/buildout/helpers/mandriva2010.0.sh [utf8] Mon Feb 22 10:46:15 2010
@@ -1,0 +1,27 @@
+#!/bin/sh
+
+PACKAGE_LIST="""
+  bison
+  cpio
+  flex
+  gcc
+  gcc-c++
+  libbzip2-devel
+  libgdbm-devel
+  libglib2.0-devel
+  libjpeg-devel
+  libncurses-devel
+  libopenssl-devel
+  libtermcap-devel
+  libxml2-devel
+  libxslt-devel
+  make
+  patch
+  rpm
+  subversion
+  subversion-devel
+  subversion-tools
+  x11-server-xvfb
+  zlib1-devel
+"""
+urpmi $PACKAGE_LIST

Propchange: erp5/trunk/buildout/helpers/mandriva2010.0.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: erp5/trunk/buildout/helpers/mandriva2010.0.sh
------------------------------------------------------------------------------
    svn:executable = *

Removed: erp5/trunk/buildout/profiles/mandriva2010.0.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/profiles/mandriva2010.0.cfg?rev=32922&view=auto
==============================================================================
--- erp5/trunk/buildout/profiles/mandriva2010.0.cfg [utf8] (original)
+++ erp5/trunk/buildout/profiles/mandriva2010.0.cfg (removed)
@@ -1,51 +1,0 @@
-[buildout]
-# temporary solution for fast system preparation to run buildout
-develop = recipes/createmandrivaspec
-parts =
-
-[dependency]
-recipe = plone.recipe.command
-package_list =
-  bison
-  cpio
-  flex
-  gcc
-  gcc-c++
-  libbzip2-devel
-  libgdbm-devel
-  libglib2.0-devel
-  libjpeg-devel
-  libncurses-devel
-  libopenssl-devel
-  libtermcap-devel
-  libxml2-devel
-  libxslt-devel
-  make
-  patch
-  rpm
-  subversion
-  subversion-devel
-  subversion-tools
-  x11-server-xvfb
-  zlib1-devel
-
-command = echo "${:package_list}" | xargs sudo urpmi --auto
-update_command = ${:command}
-
-[create-spec]
-recipe = createmandrivaspec
-
-input = ${buildout:directory}/templates/${:base}.in
-output = ${buildout:directory}/${:base}
-name = erp5-official-buildout
-version = ${buildout:directory}/VERSION.txt
-package_list = ${dependency:package_list}
-svnpath = https://svn.erp5.org/repos/public/erp5/trunk/buildout
-
-# only a helper variable
-base = erp5-official-buildout-mandriva2010.spec
-
-[create-rpm]
-recipe = plone.recipe.command
-command = sudo rpmbuild -bb ${create-spec:output}
-update_command = ${:command}




More information about the Erp5-report mailing list