public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "David Nyström" <david.c.nystrom@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] Bugfixes for create-recipe easy_install handling.
Date: Thu,  7 Feb 2013 11:00:26 +0100	[thread overview]
Message-ID: <1360231226-6093-1-git-send-email-david.nystrom@enea.com> (raw)

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@enea.com>
---
 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
-- 
1.7.9.5




                 reply	other threads:[~2013-02-07 23:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360231226-6093-1-git-send-email-david.nystrom@enea.com \
    --to=david.c.nystrom@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox