[cpl-plugin-xsh] 01/01: Correct link for user manual

Ole Streicher olebole-guest at alioth.debian.org
Thu Nov 7 11:19:13 UTC 2013


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-xsh.

commit 5035955015c9c4aef1d788ad108011b5f202b358
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Nov 7 12:19:08 2013 +0100

    Correct link for user manual
---
 debian/create_manpage.py |    2 +-
 debian/create_sphinx.py  |    8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/create_manpage.py b/debian/create_manpage.py
index d8f5f55..b0d8c6d 100644
--- a/debian/create_manpage.py
+++ b/debian/create_manpage.py
@@ -28,7 +28,7 @@ provided by the 'esorex --help' command.
 The full documentation for the {pipeline} pipeline can be downloaded as 
 a PDF file using the following URL:
 .IP
-.B ftp://ftp.eso.org/pub/dfs/pipelines/{pipeline}/{pipeline}-pipeline-manual-{version}.pdf
+.B ftp://ftp.eso.org/pub/dfs/pipelines/{pipeline}/{pipeline}-pipeline-manual-12.0.pdf
 .PP
 An overview over the existing ESO pipelines can be found on the web page
 \\fBhttp://www.eso.org/sci/software/pipelines/\\fR.
diff --git a/debian/create_sphinx.py b/debian/create_sphinx.py
index b921dfd..052a406 100644
--- a/debian/create_sphinx.py
+++ b/debian/create_sphinx.py
@@ -99,7 +99,7 @@ These pages describe the python interface for the {PIPELINE} pipeline recipes.
 .. seealso::
 
      * The `{PIPELINE} Pipeline User Manual 
-       <ftp://ftp.eso.org/pub/dfs/pipelines/{pipeline}/{pipeline}-pipeline-manual-1.2.3.pdf>`_ in PDF format,
+       <ftp://ftp.eso.org/pub/dfs/pipelines/{pipeline}/{pipeline}-pipeline-manual-12.0.pdf>`_ in PDF format,
 
      * an `overview <http://www.eso.org/sci/software/pipelines/>`_
        over the existing ESO pipelines,
@@ -138,7 +138,13 @@ cpl.Recipe.path = "recipes"
 recipes = [ cpl.Recipe(name) for name, version in cpl.Recipe.list() ]
 oca = file(os.path.join("calib", "gasgano", "config", pipeline + ".oca")).read()
 recipes_oca = [recipe for recipe in recipes if recipe.__name__ in oca]
+
+r_index = dict( (recipe, oca.index(recipe.__name__)) for recipe in recipes_oca)
+recipes_oca.sort(key = lambda recipe: r_index[recipe])
+del r_index
+
 recipes_x = [recipe for recipe in recipes if not recipe.__name__ in oca]
+recipes_x.sort(key = lambda recipe: recipe.__name__)
 
 def par(recipe, template, delimiter = "", count = None):
     return delimiter.join(template.format(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-xsh.git



More information about the debian-science-commits mailing list