[oe-commits] David Nyström : scripts/create-recipe: Bugfixes for create-recipe easy_install handling.
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 8 15:27:16 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 18e3654894175af0f51049cf2dcf42295bfbc905
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=18e3654894175af0f51049cf2dcf42295bfbc905
Author: David Nyström <david.c.nystrom at gmail.com>
Date: Thu Feb 7 11:00:26 2013 +0100
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
Signed-off-by: David Nyström <david.nystrom at enea.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
scripts/create-recipe | 6 +++---
1 files 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
More information about the Openembedded-commits
mailing list