Patchwork [2/5] generate-manifest-*.py: set SUMMARY instead of DESCRIPTION

login
register
mail settings
Submitter Paul Eggleton
Date March 20, 2014, 7:24 p.m.
Message ID <2eb9d4b76dfe9fcbecccb6582fe2603061c99da8.1395343268.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/68977/
State Accepted
Commit 6bffd21b82a5fa08a9ba11c77b7178e1e1a34c11
Headers show

Comments

Paul Eggleton - March 20, 2014, 7:24 p.m.
Typically what's being set here is a short description, so it makes much
more sense to set SUMMARY.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 scripts/contrib/python/generate-manifest-2.7.py | 4 ++--
 scripts/contrib/python/generate-manifest-3.3.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/scripts/contrib/python/generate-manifest-2.7.py b/scripts/contrib/python/generate-manifest-2.7.py
index d9d91a4..419268d 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -103,7 +103,7 @@  class MakefileMaker:
             #
             # write out the description, revision and dependencies
             #
-            self.out( 'DESCRIPTION_%s="%s"' % ( name, desc ) )
+            self.out( 'SUMMARY_%s="%s"' % ( name, desc ) )
             self.out( 'RDEPENDS_%s="%s"' % ( name, deps ) )
 
             line = 'FILES_%s="' % name
@@ -127,7 +127,7 @@  class MakefileMaker:
             self.out( line )
             self.out( "" )
 
-        self.out( 'DESCRIPTION_${PN}-modules="All Python modules"' )
+        self.out( 'SUMMARY_${PN}-modules="All Python modules"' )
         line = 'RDEPENDS_${PN}-modules="'
 
         for name, data in sorted(self.packages.iteritems()):
diff --git a/scripts/contrib/python/generate-manifest-3.3.py b/scripts/contrib/python/generate-manifest-3.3.py
index 7449867..273f99f 100755
--- a/scripts/contrib/python/generate-manifest-3.3.py
+++ b/scripts/contrib/python/generate-manifest-3.3.py
@@ -106,7 +106,7 @@  class MakefileMaker:
             #
             # write out the description, revision and dependencies
             #
-            self.out( 'DESCRIPTION_%s="%s"' % ( name, desc ) )
+            self.out( 'SUMMARY_%s="%s"' % ( name, desc ) )
             self.out( 'RDEPENDS_%s="%s"' % ( name, deps ) )
 
             line = 'FILES_%s="' % name
@@ -130,7 +130,7 @@  class MakefileMaker:
             self.out( line )
             self.out( "" )
 
-        self.out( 'DESCRIPTION_${PN}-modules="All Python modules"' )
+        self.out( 'SUMMARY_${PN}-modules="All Python modules"' )
         line = 'RDEPENDS_${PN}-modules="'
 
         for name, data in sorted(self.packages.iteritems()):