* [PATCH] distutils-common : Add -staticdev to PACKAGES.
@ 2012-11-20 22:58 Philip Balister
2012-11-21 6:03 ` Stefan Herbrechtsmeier
0 siblings, 1 reply; 3+ messages in thread
From: Philip Balister @ 2012-11-20 22:58 UTC (permalink / raw)
To: openembedded-core
Some python recipes may build static libraries that need packaging in
{PN}-static-dev.
This change fixes a QA error in python-numpy.
Signed-off-by: Philip Balister <philip@balister.org>
---
meta/classes/distutils-common-base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index f66a5cd..36c1e83 100644
--- a/meta/classes/distutils-common-base.bbclass
+++ b/meta/classes/distutils-common-base.bbclass
@@ -5,7 +5,7 @@ EXTRA_OEMAKE = ""
export STAGING_INCDIR
export STAGING_LIBDIR
-PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
+PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
--
1.7.11.7
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] distutils-common : Add -staticdev to PACKAGES.
2012-11-20 22:58 [PATCH] distutils-common : Add -staticdev to PACKAGES Philip Balister
@ 2012-11-21 6:03 ` Stefan Herbrechtsmeier
2012-11-21 12:59 ` Philip Balister
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Herbrechtsmeier @ 2012-11-21 6:03 UTC (permalink / raw)
To: Philip Balister; +Cc: openembedded-core
Am 20.11.2012 23:58, schrieb Philip Balister:
> Some python recipes may build static libraries that need packaging in
> {PN}-static-dev.
>
> This change fixes a QA error in python-numpy.
>
> Signed-off-by: Philip Balister <philip@balister.org>
> ---
> meta/classes/distutils-common-base.bbclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
> index f66a5cd..36c1e83 100644
> --- a/meta/classes/distutils-common-base.bbclass
> +++ b/meta/classes/distutils-common-base.bbclass
> @@ -5,7 +5,7 @@ EXTRA_OEMAKE = ""
> export STAGING_INCDIR
> export STAGING_LIBDIR
>
> -PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
> +PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
>
> FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
>
Hi,
I post a similarly patch parallel with the python-numpy fix:
http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/29575
Regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] distutils-common : Add -staticdev to PACKAGES.
2012-11-21 6:03 ` Stefan Herbrechtsmeier
@ 2012-11-21 12:59 ` Philip Balister
0 siblings, 0 replies; 3+ messages in thread
From: Philip Balister @ 2012-11-21 12:59 UTC (permalink / raw)
To: Stefan Herbrechtsmeier; +Cc: openembedded-core
On 11/21/2012 01:03 AM, Stefan Herbrechtsmeier wrote:
> Am 20.11.2012 23:58, schrieb Philip Balister:
>> Some python recipes may build static libraries that need packaging in
>> {PN}-static-dev.
>>
>> This change fixes a QA error in python-numpy.
>>
>> Signed-off-by: Philip Balister <philip@balister.org>
>> ---
>> meta/classes/distutils-common-base.bbclass | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/distutils-common-base.bbclass
>> b/meta/classes/distutils-common-base.bbclass
>> index f66a5cd..36c1e83 100644
>> --- a/meta/classes/distutils-common-base.bbclass
>> +++ b/meta/classes/distutils-common-base.bbclass
>> @@ -5,7 +5,7 @@ EXTRA_OEMAKE = ""
>> export STAGING_INCDIR
>> export STAGING_LIBDIR
>> -PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
>> +PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
>> FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
> Hi,
>
> I post a similarly patch parallel with the python-numpy fix:
> http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/29575
Provided the:
+FILES_${PN}-staticdev += "\
+ ${PYTHON_SITEPACKAGES_DIR}/*.a \
+"
Actually catches a lot of the .a files, I prefer Stefan's version. Numpy
still needs to to override the FILES though.
Philip
PS: WARNING, I am not a python expert, just trying to help fix QA issues
as they come up.
>
> Regards,
> Stefan
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-21 13:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-20 22:58 [PATCH] distutils-common : Add -staticdev to PACKAGES Philip Balister
2012-11-21 6:03 ` Stefan Herbrechtsmeier
2012-11-21 12:59 ` Philip Balister
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox