public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] built_with_use removal
@ 2010-01-24 16:51 Petteri Räty
  2010-01-24 18:09 ` "Paweł Hajdan, Jr."
  2010-01-24 20:12 ` [gentoo-dev] Re: [gentoo-dev-announce] " Diego Elio “Flameeyes” Pettenò
  0 siblings, 2 replies; 5+ messages in thread
From: Petteri Räty @ 2010-01-24 16:51 UTC (permalink / raw
  To: gentoo-dev-announce, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

I looked at what kind of a difference cvs up made to built_with_use usage.

betelgeuse@pena /usr/portage $ grep --include "*.ebuild" built_with_use
-r . | wc -l
690

cvs up

betelgeuse@pena /usr/portage $ grep --include "*.ebuild" built_with_use
-r . | wc -l
708

There should be no legitimate reason for the number to go up so please
whenever bumping ebuilds, remove the usage of built_with_use.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] built_with_use removal
  2010-01-24 16:51 [gentoo-dev] built_with_use removal Petteri Räty
@ 2010-01-24 18:09 ` "Paweł Hajdan, Jr."
  2010-01-24 20:16   ` Petteri Räty
  2010-01-24 20:12 ` [gentoo-dev] Re: [gentoo-dev-announce] " Diego Elio “Flameeyes” Pettenò
  1 sibling, 1 reply; 5+ messages in thread
From: "Paweł Hajdan, Jr." @ 2010-01-24 18:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

On 1/24/10 5:51 PM, Petteri Räty wrote:
> There should be no legitimate reason for the number to go up so please
> whenever bumping ebuilds, remove the usage of built_with_use.

How about adding a repoman check for that?

Paweł


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
  2010-01-24 16:51 [gentoo-dev] built_with_use removal Petteri Räty
  2010-01-24 18:09 ` "Paweł Hajdan, Jr."
@ 2010-01-24 20:12 ` Diego Elio “Flameeyes” Pettenò
  2010-01-24 22:23   ` Petteri Räty
  1 sibling, 1 reply; 5+ messages in thread
From: Diego Elio “Flameeyes” Pettenò @ 2010-01-24 20:12 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-dev-announce

Il giorno dom, 24/01/2010 alle 18.51 +0200, Petteri Räty ha scritto:
> 
> There should be no legitimate reason for the number to go up so please
> whenever bumping ebuilds, remove the usage of built_with_use. 

There is still legitimate use when you're not using it for dependencies.

See for instance PulseAudio ebuild:

 local pkg="media-plugins/alsa-plugins"
 if has_version ${pkg} && ! built_with_use --missing false ${pkg}
pulseaudio; then
         elog
         elog "You have alsa support enabled so you probably want to
install"
         elog "${pkg} with pulseaudio support to have"
         elog "alsa using applications route their sound through
pulseaudio"
 fi


-- 
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] built_with_use removal
  2010-01-24 18:09 ` "Paweł Hajdan, Jr."
@ 2010-01-24 20:16   ` Petteri Räty
  0 siblings, 0 replies; 5+ messages in thread
From: Petteri Räty @ 2010-01-24 20:16 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

On 01/24/2010 08:09 PM, "Paweł Hajdan, Jr." wrote:
> On 1/24/10 5:51 PM, Petteri Räty wrote:
>> There should be no legitimate reason for the number to go up so please
>> whenever bumping ebuilds, remove the usage of built_with_use.
> 
> How about adding a repoman check for that?
> 
> Paweł
> 

Already done today :)

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
  2010-01-24 20:12 ` [gentoo-dev] Re: [gentoo-dev-announce] " Diego Elio “Flameeyes” Pettenò
@ 2010-01-24 22:23   ` Petteri Räty
  0 siblings, 0 replies; 5+ messages in thread
From: Petteri Räty @ 2010-01-24 22:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

On 01/24/2010 10:12 PM, Diego Elio “Flameeyes” Pettenò wrote:
> Il giorno dom, 24/01/2010 alle 18.51 +0200, Petteri Räty ha scritto:
>>
>> There should be no legitimate reason for the number to go up so please
>> whenever bumping ebuilds, remove the usage of built_with_use. 
> 
> There is still legitimate use when you're not using it for dependencies.
> 
> See for instance PulseAudio ebuild:
> 
>  local pkg="media-plugins/alsa-plugins"
>  if has_version ${pkg} && ! built_with_use --missing false ${pkg}
> pulseaudio; then
>          elog
>          elog "You have alsa support enabled so you probably want to
> install"
>          elog "${pkg} with pulseaudio support to have"
>          elog "alsa using applications route their sound through
> pulseaudio"
>  fi
> 
> 

Use EAPI 2 and has_version ${pkg}[use]

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-25  0:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-24 16:51 [gentoo-dev] built_with_use removal Petteri Räty
2010-01-24 18:09 ` "Paweł Hajdan, Jr."
2010-01-24 20:16   ` Petteri Räty
2010-01-24 20:12 ` [gentoo-dev] Re: [gentoo-dev-announce] " Diego Elio “Flameeyes” Pettenò
2010-01-24 22:23   ` Petteri Räty

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox