scripts/create-recipe: Bugfixes for create-recipe easy_install handling.
1. Tell easy_install to always download, regardless of python install content. 2. Support https/ftp et.c. URLs provided by easy_install (From OE-Core rev: 18e3654894175af0f51049cf2dcf42295bfbc905) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9ea8828fe4
commit
82b2679d2c
|
@ -1918,9 +1918,9 @@ if ( -e "$dir/setup.py" ) {
|
||||||
if ($recurse_python == 1) {
|
if ($recurse_python == 1) {
|
||||||
foreach (@rawpythondeps) {
|
foreach (@rawpythondeps) {
|
||||||
my $ptempdir = tempdir();
|
my $ptempdir = tempdir();
|
||||||
$purl = `easy_install -eb $ptempdir "$_" 2>/dev/null`;
|
$purl = `easy_install -aeb $ptempdir "$_" 2>/dev/null`;
|
||||||
$purl =~ s/#.*//;
|
$purl =~ s/#.*//g;
|
||||||
@purllist = $purl =~ m/Downloading (http:\/\/.*\n)/g;
|
@purllist = $purl =~ m/Downloading (.*:\/\/.*\n)/g;
|
||||||
chomp(@purllist);
|
chomp(@purllist);
|
||||||
|
|
||||||
# Remove empty lines
|
# Remove empty lines
|
||||||
|
|
Loading…
Reference in New Issue