summaryrefslogtreecommitdiffstats
path: root/scripts/create-recipe
diff options
context:
space:
mode:
authorDavid Nyström <david.c.nystrom@gmail.com>2013-02-07 11:00:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-08 14:50:36 +0000
commit82b2679d2ce8ee7a89ba0fc0757c33c15d680df4 (patch)
tree994eead4fbb2c5cb09974f68874f148c5582cfae /scripts/create-recipe
parent9ea8828fe42b99addadc14c196f7ec55a41fb3d7 (diff)
downloadpoky-82b2679d2ce8ee7a89ba0fc0757c33c15d680df4.tar.gz
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>
Diffstat (limited to 'scripts/create-recipe')
-rwxr-xr-xscripts/create-recipe6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/create-recipe b/scripts/create-recipe
index 1b10e1b591..5613e92cb9 100755
--- a/scripts/create-recipe
+++ b/scripts/create-recipe
@@ -1918,9 +1918,9 @@ if ( -e "$dir/setup.py" ) {
1918 if ($recurse_python == 1) { 1918 if ($recurse_python == 1) {
1919 foreach (@rawpythondeps) { 1919 foreach (@rawpythondeps) {
1920 my $ptempdir = tempdir(); 1920 my $ptempdir = tempdir();
1921 $purl = `easy_install -eb $ptempdir "$_" 2>/dev/null`; 1921 $purl = `easy_install -aeb $ptempdir "$_" 2>/dev/null`;
1922 $purl =~ s/#.*//; 1922 $purl =~ s/#.*//g;
1923 @purllist = $purl =~ m/Downloading (http:\/\/.*\n)/g; 1923 @purllist = $purl =~ m/Downloading (.*:\/\/.*\n)/g;
1924 chomp(@purllist); 1924 chomp(@purllist);
1925 1925
1926 # Remove empty lines 1926 # Remove empty lines