From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D793D1381F3 for ; Mon, 15 Apr 2013 11:30:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A692E08BA; Mon, 15 Apr 2013 11:30:43 +0000 (UTC) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C54FE089A for ; Mon, 15 Apr 2013 11:30:41 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id gf12so3114803vcb.32 for ; Mon, 15 Apr 2013 04:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=8p05K0Bb8lqIsXQRd1SqlEGHSk1bKO48m4GkBO83YCg=; b=xZdIeSHCNQRKKEBxPPpk1GxJjbQHV8wkAdNjNkzDZgIdYUq7KO/OvebNWBd08+cbOe K6A9QTvM89LEErvDLQtGVwDjx/6S8QXK+K3QU2MJIDHVUbo44lCPkQO2Ffw1iH1PEQ+D /rLUTaqkp9drpNvfAuPrTmJFCry3UW+PAMtCE2GAmLl2JMsrHaoLTjnu+K06ZPgCazsX k1h4llAHev7uaiUw38+hE4Vxc9aZ6DrisPpSoKl2pOkMrfE7P4WeR9mPnbdOYDrxsJf5 khd+12Y9YGKCQ/MKQkZOPJ76CF0jYnTPd8tw2ctZWgyzvcNiFceJBHptgN0utSaUsoP0 mFvA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.220.245.4 with SMTP id ls4mr920625vcb.17.1366025440727; Mon, 15 Apr 2013 04:30:40 -0700 (PDT) Sender: freemanrich@gmail.com Received: by 10.52.168.4 with HTTP; Mon, 15 Apr 2013 04:30:40 -0700 (PDT) In-Reply-To: <2047118.lrJGOsM85g@cschwan-laptop> References: <2047118.lrJGOsM85g@cschwan-laptop> Date: Mon, 15 Apr 2013 07:30:40 -0400 X-Google-Sender-Auth: ayreXcciVVrKmDNRpVM_tfuvJaU Message-ID: Subject: Re: [gentoo-dev] Opportunities to use slot operators From: Rich Freeman To: gentoo-dev Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: cfbdec26-1163-4102-b5a8-cfdb0c05b011 X-Archives-Hash: 4fd88593263e3acc049ad73d3abd0ad5 On Mon, Apr 15, 2013 at 5:39 AM, Christopher Schwan wrote: > Is it possible to check a local overlay? Specifying CPV for a single ebuild > works, but I wonder if its possible to parse an entire overlay at once. The script already checks all configured overlays as well as the main tree if you invoke it with no parameters. However, I just added metadata.xml parsing last night and it lacks error handling in the event the file is not present. So, you'll have to add this, wait until I get a chance to add it, or use the older version of the script if you want to process most overlays. If you want to only process the overlay I suspect you could modify the source to point to it (likely by changing the porttree initialization). Pointing PORTDIR in your environment to some copy of portage minus the packages would likely work as well (I suspect it may still need access to eclasses/etc). Rich