From patchwork Thu Feb 7 10:00:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Bugfixes for create-recipe easy_install handling. Date: Thu, 07 Feb 2013 10:00:26 -0000 From: =?utf-8?b?RGF2aWQgTnlzdHLDtm0gPGRhdmlkLmMubnlzdHJvbUBnbWFpbC5jb20+?= X-Patchwork-Id: 44257 Message-Id: <1360231226-6093-1-git-send-email-david.nystrom@enea.com> To: openembedded-core@lists.openembedded.org 1. Tell easy_install to always download, regardless of python install content. 2. Support https/ftp et.c. URLs provided by easy_install Signed-off-by: David Nyström --- scripts/create-recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/create-recipe b/scripts/create-recipe index 1b10e1b..5613e92 100755 --- a/scripts/create-recipe +++ b/scripts/create-recipe @@ -1918,9 +1918,9 @@ if ( -e "$dir/setup.py" ) { if ($recurse_python == 1) { foreach (@rawpythondeps) { my $ptempdir = tempdir(); - $purl = `easy_install -eb $ptempdir "$_" 2>/dev/null`; - $purl =~ s/#.*//; - @purllist = $purl =~ m/Downloading (http:\/\/.*\n)/g; + $purl = `easy_install -aeb $ptempdir "$_" 2>/dev/null`; + $purl =~ s/#.*//g; + @purllist = $purl =~ m/Downloading (.*:\/\/.*\n)/g; chomp(@purllist); # Remove empty lines