changeset 2390:f4589578664b

resolve.
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Fri, 20 Oct 2006 13:51:13 +0100
parents 36d2ebd783f4 (current diff) f739a9c7ffa3 (diff)
children ecd0c4b41d9c
files specs/fontconfig.py specs/lilypond.py
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/specs/fontconfig.py	Fri Oct 20 13:01:35 2006 +0100
+++ b/specs/fontconfig.py	Fri Oct 20 13:51:13 2006 +0100
@@ -5,8 +5,6 @@
 import toolpackage
 
 class Fontconfig (targetpackage.TargetBuildSpec):
-
-    ## - %(flavor)s  ## removed from docstr.
     '''Generic font configuration library 
 Fontconfig is a font configuration and customization library, which
 does not depend on the X Window System.  It is designed to locate
@@ -165,7 +163,8 @@
                   'devel': 'development',
                   'doc': 'documentation',
                   'runtime': 'runtime'}[split]
-        return Fontconfig.__doc__ % locals ()
+        return (Fontconfig.__doc__.replace ('\n', ' - %(flavor)s\n', 1)
+                % locals ())
 
     def configure_command (self):
         return (Fontconfig.configure_command (self)
--- a/specs/lilypond.py	Fri Oct 20 13:01:35 2006 +0100
+++ b/specs/lilypond.py	Fri Oct 20 13:51:13 2006 +0100
@@ -10,8 +10,6 @@
 from context import *
 
 class LilyPond (targetpackage.TargetBuildSpec):
-
-    ##  - %(flavor)s --hwn
     '''A program for printing sheet music
 LilyPond lets you create music notation.  It produces
 beautiful sheet music from a high-level description file.'''
@@ -290,7 +288,8 @@
 
     def get_subpackage_doc (self, split):
         flavor = {'': 'executables', 'doc': 'documentation'}[split]
-        return LilyPond.__doc__ % locals ()
+        return (LilyPond.__doc__.replace ('\n', ' - %(flavor)s\n', 1)
+                % locals ())
         
 class LilyPond__freebsd (LilyPond):
     def get_dependency_dict (self):