[OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-07-07 Thread Robert Yang
The recipe's DESCRIPTION is wrapped automatically by textwrap, make it support newline ("\n") to let the user can wrap it manually, e.g.: DESCRIPTION = "Foo1\nFoo2" In the past, it would be: Foo1\nFoo2 Now: Foo1 Foo2 [YOCTO #4348] Signed-off-by: Robert Yang --- meta/classes/package_ipk.bbcla

Re: [OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-27 Thread Robert Yang
Sorry, it's only replied to Enrico, now, reply to the list ... On 06/19/2013 06:33 PM, Enrico Scholz wrote: Robert Yang writes: The recipe's DESCRIPTION is wrapped automatically by textwrap, make it support newline ("\n") to let the user can wrap it manually, e.g.: -ct

Re: [OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-19 Thread Enrico Scholz
Robert Yang writes: > The recipe's DESCRIPTION is wrapped automatically by textwrap, make it > support newline ("\n") to let the user can wrap it manually, e.g.: > > -ctrlfile.write('Description: %s\n' % summary) > -ctrlfile.write('%s\n' % textwrap.fill(des

Re: [OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-19 Thread Phil Blundell
On Wed, 2013-06-19 at 11:29 +0200, Martin Jansa wrote: > On Wed, Jun 19, 2013 at 05:00:40AM -0400, Robert Yang wrote: > > The recipe's DESCRIPTION is wrapped automatically by textwrap, make it > > support newline ("\n") to let the user can wrap it manually, e.g.: > > > > DESCRIPTION = "Foo1\nFoo2"

Re: [OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-19 Thread Richard Purdie
On Wed, 2013-06-19 at 11:29 +0200, Martin Jansa wrote: > On Wed, Jun 19, 2013 at 05:00:40AM -0400, Robert Yang wrote: > > The recipe's DESCRIPTION is wrapped automatically by textwrap, make it > > support newline ("\n") to let the user can wrap it manually, e.g.: > > > > DESCRIPTION = "Foo1\nFoo2"

Re: [OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-19 Thread Martin Jansa
On Wed, Jun 19, 2013 at 05:00:40AM -0400, Robert Yang wrote: > The recipe's DESCRIPTION is wrapped automatically by textwrap, make it > support newline ("\n") to let the user can wrap it manually, e.g.: > > DESCRIPTION = "Foo1\nFoo2" > > In the past, it would be: > Foo1\nFoo2 > > Now: > Foo1 > F

[OE-core] [PATCH 2/3] package_ipk.bbclass: make DESCRIPTION support newline

2013-06-19 Thread Robert Yang
The recipe's DESCRIPTION is wrapped automatically by textwrap, make it support newline ("\n") to let the user can wrap it manually, e.g.: DESCRIPTION = "Foo1\nFoo2" In the past, it would be: Foo1\nFoo2 Now: Foo1 Foo2 [YOCTO #4348] Signed-off-by: Robert Yang --- meta/classes/package_ipk.bbcla