if do_clean:
msg = _("Clean the source directories ...")
logger.write(msg, 3)
+ logger.flush()
res_clean, __ = runner.clean(args_clean, batch=True, verbose = 0,
logger_add_link = logger)
if res_clean == 0:
-CAS_6_9_1p1 :
+CAS :
{
name : "CAS"
build_source : "autotools"
configure_options : "-without-tcl --without-tk --disable-draw --with-freetype=$FREETYPEDIR --enable-debug=no --enable-production=yes --with-gl2ps=$GL2PSDIR --with-freeimage=$FREEIMAGEDIR"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-6.9.1p1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Cython_0_23_2 :
+Cython :
{
name : "Cython"
build_source : "script"
compil_script : "cython.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + "Cython-0.23.2.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Homard_11_7 :
+Homard :
{
name : "Homard"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-11.7.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Jinja2_2_7_3 :
+Jinja2 :
{
name : "Jinja2"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.7.3.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-MeshGems_2_1_11 :
+MeshGems :
{
name : "MeshGems"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.1-11.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + "-3.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.1.1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-PyQt_4_9_6 :
+PyQt :
{
name : "PyQt"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-4.9.6.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Pygments_2_0_2 :
+Pygments :
{
name : "Pygments"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.0.2.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Python_2_7_10 :
+Python :
{
name : "Python"
build_source : "script"
compil_script : "Python.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + "Python-2.7.10.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-Sphinx_1_2_3 :
+Sphinx :
{
name : "Sphinx"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.2.3.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-boost_1_58_0 :
+boost :
{
name : "boost"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.58.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-cgns_3_1_3_4 :
+cgns :
{
name : "cgns"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.1.3-4.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-cmake_3_5_2 :
+cmake :
{
name : "cmake"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.5.2.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-cppunit_1_12_1 :
+cppunit :
{
name : "cppunit"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.12.1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-dateutil_2_4_0 :
+dateutil :
{
name : "dateutil"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.4.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-distribute_0_6_28 :
+distribute :
{
name : "distribute"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-0.6.28.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-docutils_0_12 :
+docutils :
{
name : "docutils"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-0.12.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.8.3.1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-fftw_3_3_4 :
+fftw :
{
name : "fftw"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.3.4.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + "-3.16.0.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.16.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + "-2.38.0.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.38.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-hdf5_1_8_14 :
+hdf5 :
{
name : "hdf5"
build_source : "script"
compil_script : $name + "CMake.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.8.14.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-lapack_3_5_0 :
+lapack :
{
name : "lapack"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.5.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
get_source : "archive"
archive_info:
{
- archive_name : $SITE.prepare.archive_dir + $name + "-2.9.0.tar.gz"
}
environ :
{
-markupsafe_0_23 :
+markupsafe :
{
name : "markupsafe"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-0.23.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-med_3_2_0 :
+med :
{
name : "med"
build_source : "script"
compil_script : $name + "CMake.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.2.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-metis_5_1_0 :
+metis :
{
name : "metis"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-5.1.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-numpy_1_9_2 :
+numpy :
{
name : "numpy"
build_source : "script"
compil_script : "numpy.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + "numpy-1.9.2.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-omniORB_4_1_6 :
+omniORB :
{
name : "omniORB"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-4.1.6.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-omniORBpy_3_6 :
+omniORBpy :
{
name : "omniORBpy"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-3.6.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-opencv_2_4_6_1 :
+opencv :
{
name : "opencv"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.4.6.1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + "-5.0.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-5.0.1p1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-pyparsing_1_5_6 :
+pyparsing :
{
name : "pyparsing"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.5.6.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-pyreadline_2_0 :
+pyreadline :
{
name : "pyreadline"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-pytz_2014_10 :
+pytz :
{
name : "pytz"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2014.10.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-4.8.4.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-0.15.1.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
build_source : "script"
compil_script : $name + "-5.1.12.sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-5.1.12b.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-setuptools_0_6c11 :
+setuptools :
{
name : "setuptools"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-0.6c11.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-sip_4_14_2 :
+sip :
{
name : "sip"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-4.14.2.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-six_1_9_0 :
+six :
{
name : "six"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-1.9.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-swig_2_0_8 :
+swig :
{
name : "swig"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-2.0.8.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-tcl_8_6_0 :
+tcl :
{
name : "tcl"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-8.6.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
-tk_8_6_0 :
+tk :
{
name : "tk"
build_source : "script"
compil_script : $name + ".sh"
get_source : "archive"
- archive_info:
- {
- archive_name : $SITE.prepare.archive_dir + $name + "-8.6.0.tar.gz"
- }
environ :
{
env_script : $VARS.datadir + $VARS.sep + "env_scripts" + $VARS.sep + $name + ".py"
prod_info.dev = dev
prod_info.version = version
+ # Set the archive_info if the product is get in archive mode
+ if prod_info.get_source == "archive":
+ if not "archive_info" in prod_info:
+ prod_info.addMapping("archive_info",
+ src.pyconf.Mapping(prod_info),
+ "")
+ if "archive_name" not in prod_info.archive_info:
+ arch_name = os.path.join(config.SITE.prepare.archive_dir,
+ product_name + "-" + version + ".tar.gz")
+ prod_info.archive_info.archive_name = arch_name
+
# Set the install_dir key
if "install_dir" not in prod_info:
# Set it to the default value (in application directory)