public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Christian Birchinger <joker@gentoo.org>
To: Gentoo Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] correct package depends
Date: Thu, 16 Oct 2003 10:13:15 +0200	[thread overview]
Message-ID: <20031016081315.GB8395@netswarm.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0310152037130.18783@localhost>

Some of my db entries have a "USE" but not a "IUSE" file.
I changed the check to [[ -r ${pdir}/USE && -r ${pdir}/IUSE ]]
to avoid ugly error messages.

On Wed, Oct 15, 2003 at 08:43:41PM +0200, Eldad Zack wrote:
> 
> I've wanted the same functionality myself, so I went ahead and changed
> qpkg.
> 
> apply this patch to qpkg.
> 
> If the developers maintaining gentoolkit would apply this at well, it'll 
> be even better.
> 
> --- /usr/bin/qpkg       2003-10-03 13:23:58.000000000 +0200
> +++ qpkg        2003-10-15 20:35:24.000000000 +0200
> @@ -376,6 +376,21 @@
>                 home=`grep HOMEPAGE ${p}| cut -d\" -f2`
>                 desc=`grep DESCRIPTION ${p}| cut -d\" -f2`
>                 echo -e "${T}${BL}${desc}${NO} [ ${YL}${home}${NO} ]"
> +               if [ ${verb} -gt 0 ]; then
> +                       pdir=${p/$(basename ${p})/}
> +                       if [[ -r ${pdir}/USE ]]; then
> +                               echo -n "Compiled with USE Flags: "
> +                               for flag in $(<${pdir}/IUSE)
> +                               do
> +                                       use=$(grep -o ${flag} ${pdir}/USE | tr -d '\n')
> +                                       if [[ "${use}" == "" ]]; then
> +                                               echo -n "-"
> +                                       fi
> +                                       echo -n "${flag} "
> +                               done
> +                               echo
> +                       fi
> +               fi
>         fi
> 
>         if [ "${query}" ]; then

--
gentoo-dev@gentoo.org mailing list


      parent reply	other threads:[~2003-10-16  8:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 16:52 [gentoo-dev] correct package depends Andrew Gaffney
2003-10-14 23:47 ` Chris Gianelloni
2003-10-15  1:21   ` Andrew Gaffney
2003-10-15 18:43     ` Eldad Zack
2003-10-15 19:06       ` Eldad Zack
2003-10-16  0:19         ` Andrew Gaffney
2003-10-16  8:59           ` Eldad Zack
2003-10-16 15:15             ` Andrew Gaffney
2003-10-16 16:27               ` Eldad Zack
2003-10-16 17:25                 ` Andrew Gaffney
2003-10-16 18:41                   ` Andrew Gaffney
2003-10-15 23:59       ` Andrew Gaffney
2003-10-16  0:14         ` Spider
2003-10-16  8:13       ` Christian Birchinger [this message]

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=20031016081315.GB8395@netswarm.net \
    --to=joker@gentoo.org \
    --cc=gentoo-dev@gentoo.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