* [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
@ 2020-01-02 15:57 Michał Górny
2020-01-02 20:15 ` Ulrich Mueller
2020-01-05 9:50 ` Hans de Graaff
0 siblings, 2 replies; 10+ messages in thread
From: Michał Górny @ 2020-01-02 15:57 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Using 2-style USE dependencies on packages not having the flag
in question is forbidden by PMS.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/ruby-ng.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index db701d81f4fc..85f464d9f30d 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -137,7 +137,7 @@ ruby_samelib() {
local res=
for _ruby_implementation in $(_ruby_get_all_impls); do
has -${_ruby_implementation} $@ || \
- res="${res}ruby_targets_${_ruby_implementation}?,"
+ res="${res}ruby_targets_${_ruby_implementation}(-)?,"
done
echo "[${res%,}]"
@@ -151,9 +151,9 @@ _ruby_atoms_samelib_generic() {
"||" | "(" | ")" | *"?")
echo "${token}" ;;
*])
- echo "${token%[*}[RUBYTARGET,${token/*[}" ;;
+ echo "${token%[*}[RUBYTARGET(-),${token/*[}" ;;
*)
- echo "${token}[RUBYTARGET]" ;;
+ echo "${token}[RUBYTARGET(-)]" ;;
esac
done
echo ")"
--
2.24.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 15:57 [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies Michał Górny
@ 2020-01-02 20:15 ` Ulrich Mueller
2020-01-02 21:08 ` Michał Górny
2020-01-05 9:50 ` Hans de Graaff
1 sibling, 1 reply; 10+ messages in thread
From: Ulrich Mueller @ 2020-01-02 20:15 UTC (permalink / raw
To: Michał Górny; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
>>>>> On Thu, 02 Jan 2020, Michał Górny wrote:
> --- a/eclass/ruby-ng.eclass
> +++ b/eclass/ruby-ng.eclass
> @@ -137,7 +137,7 @@ ruby_samelib() {
> local res=
> for _ruby_implementation in $(_ruby_get_all_impls); do
> has -${_ruby_implementation} $@ || \
> - res="${res}ruby_targets_${_ruby_implementation}?,"
> + res="${res}ruby_targets_${_ruby_implementation}(-)?,"
> done
>
> echo "[${res%,}]"
Hadn't we established that ruby_samelib() is dead code, no longer used
since 2010?
Ulrich
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 20:15 ` Ulrich Mueller
@ 2020-01-02 21:08 ` Michał Górny
2020-01-02 21:54 ` Michael 'veremitz' Everitt
2020-01-05 9:52 ` Hans de Graaff
0 siblings, 2 replies; 10+ messages in thread
From: Michał Górny @ 2020-01-02 21:08 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
> > > > > > On Thu, 02 Jan 2020, Michał Górny wrote:
> > --- a/eclass/ruby-ng.eclass
> > +++ b/eclass/ruby-ng.eclass
> > @@ -137,7 +137,7 @@ ruby_samelib() {
> > local res=
> > for _ruby_implementation in $(_ruby_get_all_impls); do
> > has -${_ruby_implementation} $@ || \
> > - res="${res}ruby_targets_${_ruby_implementation}?,"
> > + res="${res}ruby_targets_${_ruby_implementation}(-)?,"
> > done
> >
> > echo "[${res%,}]"
>
> Hadn't we established that ruby_samelib() is dead code, no longer used
> since 2010?
>
You did. However, it isn't marked as private API and I'm not the eclass
maintainer to take care of removing public API. I have no clue if Ruby
project doesn't have some secret overlays using it.
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 21:08 ` Michał Górny
@ 2020-01-02 21:54 ` Michael 'veremitz' Everitt
2020-01-03 10:36 ` David Seifert
2020-01-05 9:52 ` Hans de Graaff
1 sibling, 1 reply; 10+ messages in thread
From: Michael 'veremitz' Everitt @ 2020-01-02 21:54 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1.1: Type: text/plain, Size: 988 bytes --]
On 02/01/20 21:08, Michał Górny wrote:
> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
>>>>>>> On Thu, 02 Jan 2020, Michał Górny wrote:
>>> --- a/eclass/ruby-ng.eclass
>>> +++ b/eclass/ruby-ng.eclass
>>> @@ -137,7 +137,7 @@ ruby_samelib() {
>>> local res=
>>> for _ruby_implementation in $(_ruby_get_all_impls); do
>>> has -${_ruby_implementation} $@ || \
>>> - res="${res}ruby_targets_${_ruby_implementation}?,"
>>> + res="${res}ruby_targets_${_ruby_implementation}(-)?,"
>>> done
>>>
>>> echo "[${res%,}]"
>> Hadn't we established that ruby_samelib() is dead code, no longer used
>> since 2010?
>>
> You did. However, it isn't marked as private API and I'm not the eclass
> maintainer to take care of removing public API. I have no clue if Ruby
> project doesn't have some secret overlays using it.
>
<sarcasm> You can't use QA super-powerz ?! BDFL + sub-BDFL ?! </sarcasm>*
* Thought the tags probably worth making explicit
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 21:54 ` Michael 'veremitz' Everitt
@ 2020-01-03 10:36 ` David Seifert
2020-01-03 22:34 ` Michael 'veremitz' Everitt
0 siblings, 1 reply; 10+ messages in thread
From: David Seifert @ 2020-01-03 10:36 UTC (permalink / raw
To: gentoo-dev
On Thu, 2020-01-02 at 21:54 +0000, Michael 'veremitz' Everitt wrote:
> On 02/01/20 21:08, Michał Górny wrote:
> > On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
> > > > > > > > On Thu, 02 Jan 2020, Michał Górny wrote:
> > > > --- a/eclass/ruby-ng.eclass
> > > > +++ b/eclass/ruby-ng.eclass
> > > > @@ -137,7 +137,7 @@ ruby_samelib() {
> > > > local res=
> > > > for _ruby_implementation in $(_ruby_get_all_impls); do
> > > > has -${_ruby_implementation} $@ || \
> > > > - res="${res}ruby_targets_${_ruby_impleme
> > > > ntation}?,"
> > > > + res="${res}ruby_targets_${_ruby_impleme
> > > > ntation}(-)?,"
> > > > done
> > > >
> > > > echo "[${res%,}]"
> > > Hadn't we established that ruby_samelib() is dead code, no longer
> > > used
> > > since 2010?
> > >
> > You did. However, it isn't marked as private API and I'm not the
> > eclass
> > maintainer to take care of removing public API. I have no clue if
> > Ruby
> > project doesn't have some secret overlays using it.
> >
> <sarcasm> You can't use QA super-powerz ?! BDFL + sub-BDFL ?!
> </sarcasm>*
>
> * Thought the tags probably worth making explicit
>
Can you please stop polluting the -dev mailing list with this senseless
chatter?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-03 10:36 ` David Seifert
@ 2020-01-03 22:34 ` Michael 'veremitz' Everitt
2020-01-03 22:49 ` Luca Barbato
2020-01-03 23:39 ` James Le Cuirot
0 siblings, 2 replies; 10+ messages in thread
From: Michael 'veremitz' Everitt @ 2020-01-03 22:34 UTC (permalink / raw
To: gentoo-dev, David Seifert
[-- Attachment #1.1: Type: text/plain, Size: 1509 bytes --]
On 03/01/20 10:36, David Seifert wrote:
> On Thu, 2020-01-02 at 21:54 +0000, Michael 'veremitz' Everitt wrote:
>> On 02/01/20 21:08, Michał Górny wrote:
>>> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
>>>>>>>>> On Thu, 02 Jan 2020, Michał Górny wrote:
>>>>> --- a/eclass/ruby-ng.eclass
>>>>> +++ b/eclass/ruby-ng.eclass
>>>>> @@ -137,7 +137,7 @@ ruby_samelib() {
>>>>> local res=
>>>>> for _ruby_implementation in $(_ruby_get_all_impls); do
>>>>> has -${_ruby_implementation} $@ || \
>>>>> - res="${res}ruby_targets_${_ruby_impleme
>>>>> ntation}?,"
>>>>> + res="${res}ruby_targets_${_ruby_impleme
>>>>> ntation}(-)?,"
>>>>> done
>>>>>
>>>>> echo "[${res%,}]"
>>>> Hadn't we established that ruby_samelib() is dead code, no longer
>>>> used
>>>> since 2010?
>>>>
>>> You did. However, it isn't marked as private API and I'm not the
>>> eclass
>>> maintainer to take care of removing public API. I have no clue if
>>> Ruby
>>> project doesn't have some secret overlays using it.
>>>
>> <sarcasm> You can't use QA super-powerz ?! BDFL + sub-BDFL ?!
>> </sarcasm>*
>>
>> * Thought the tags probably worth making explicit
>>
> Can you please stop polluting the -dev mailing list with this senseless
> chatter?
>
>
Perhaps I should remind you that this is a public mailing list (or hasn't
successfully been censored Yet) and not a private communication channel for
developers (see -core for this). But I don't need to tell you this....
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-03 22:34 ` Michael 'veremitz' Everitt
@ 2020-01-03 22:49 ` Luca Barbato
2020-01-03 23:39 ` James Le Cuirot
1 sibling, 0 replies; 10+ messages in thread
From: Luca Barbato @ 2020-01-03 22:49 UTC (permalink / raw
To: gentoo-dev
On 03/01/2020 23:34, Michael 'veremitz' Everitt wrote:
> On 03/01/20 10:36, David Seifert wrote:
>> On Thu, 2020-01-02 at 21:54 +0000, Michael 'veremitz' Everitt wrote:
>>> On 02/01/20 21:08, Michał Górny wrote:
>>>> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
>>>>>>>>>> On Thu, 02 Jan 2020, Michał Górny wrote:
>>>>>> --- a/eclass/ruby-ng.eclass
>>>>>> +++ b/eclass/ruby-ng.eclass
>>>>>> @@ -137,7 +137,7 @@ ruby_samelib() {
>>>>>> local res=
>>>>>> for _ruby_implementation in $(_ruby_get_all_impls); do
>>>>>> has -${_ruby_implementation} $@ || \
>>>>>> - res="${res}ruby_targets_${_ruby_impleme
>>>>>> ntation}?,"
>>>>>> + res="${res}ruby_targets_${_ruby_impleme
>>>>>> ntation}(-)?,"
>>>>>> done
>>>>>>
>>>>>> echo "[${res%,}]"
>>>>> Hadn't we established that ruby_samelib() is dead code, no longer
>>>>> used
>>>>> since 2010?
>>>>>
>>>> You did. However, it isn't marked as private API and I'm not the
>>>> eclass
>>>> maintainer to take care of removing public API. I have no clue if
>>>> Ruby
>>>> project doesn't have some secret overlays using it.
>>>>
>>> <sarcasm> You can't use QA super-powerz ?! BDFL + sub-BDFL ?!
>>> </sarcasm>*
>>>
>>> * Thought the tags probably worth making explicit
>>>
>> Can you please stop polluting the -dev mailing list with this senseless
>> chatter?
>>
>>
> Perhaps I should remind you that this is a public mailing list (or hasn't
> successfully been censored Yet) and not a private communication channel for
> developers (see -core for this). But I don't need to tell you this....
>
Hi, at least a person is displeased with your attempt at humor, could
you please stop doing this? It does not add anything to the conversation
and it is unpleasant.
lu
PS: This counts as friendly warning.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-03 22:34 ` Michael 'veremitz' Everitt
2020-01-03 22:49 ` Luca Barbato
@ 2020-01-03 23:39 ` James Le Cuirot
1 sibling, 0 replies; 10+ messages in thread
From: James Le Cuirot @ 2020-01-03 23:39 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]
On Fri, 3 Jan 2020 22:34:19 +0000
Michael 'veremitz' Everitt <gentoo@veremit.xyz> wrote:
> On 03/01/20 10:36, David Seifert wrote:
> > On Thu, 2020-01-02 at 21:54 +0000, Michael 'veremitz' Everitt wrote:
> >> On 02/01/20 21:08, Michał Górny wrote:
> >>> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
> >>>>>>>>> On Thu, 02 Jan 2020, Michał Górny wrote:
> >>>>> --- a/eclass/ruby-ng.eclass
> >>>>> +++ b/eclass/ruby-ng.eclass
> >>>>> @@ -137,7 +137,7 @@ ruby_samelib() {
> >>>>> local res=
> >>>>> for _ruby_implementation in $(_ruby_get_all_impls); do
> >>>>> has -${_ruby_implementation} $@ || \
> >>>>> - res="${res}ruby_targets_${_ruby_impleme
> >>>>> ntation}?,"
> >>>>> + res="${res}ruby_targets_${_ruby_impleme
> >>>>> ntation}(-)?,"
> >>>>> done
> >>>>>
> >>>>> echo "[${res%,}]"
> >>>> Hadn't we established that ruby_samelib() is dead code, no longer
> >>>> used
> >>>> since 2010?
> >>>>
> >>> You did. However, it isn't marked as private API and I'm not the
> >>> eclass
> >>> maintainer to take care of removing public API. I have no clue if
> >>> Ruby
> >>> project doesn't have some secret overlays using it.
> >>>
> >> <sarcasm> You can't use QA super-powerz ?! BDFL + sub-BDFL ?!
> >> </sarcasm>*
> >>
> >> * Thought the tags probably worth making explicit
> >>
> > Can you please stop polluting the -dev mailing list with this senseless
> > chatter?
> >
> >
> Perhaps I should remind you that this is a public mailing list (or hasn't
> successfully been censored Yet) and not a private communication channel for
> developers (see -core for this). But I don't need to tell you this....
This may be a public list and I don't always expect threads to stay
precisely on-topic but the posts should still have some value. This was
just frivolous. You won't know this but I have defended your presence
on this list multiple times in the past. Please respect that.
--
James Le Cuirot (chewi)
Gentoo Linux Developer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 15:57 [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies Michał Górny
2020-01-02 20:15 ` Ulrich Mueller
@ 2020-01-05 9:50 ` Hans de Graaff
1 sibling, 0 replies; 10+ messages in thread
From: Hans de Graaff @ 2020-01-05 9:50 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
On Thu, 2020-01-02 at 16:57 +0100, Michał Górny wrote:
> Using 2-style USE dependencies on packages not having the flag
> in question is forbidden by PMS.
Looks good to me, thanks for proposing a fix for this.
Hans
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies
2020-01-02 21:08 ` Michał Górny
2020-01-02 21:54 ` Michael 'veremitz' Everitt
@ 2020-01-05 9:52 ` Hans de Graaff
1 sibling, 0 replies; 10+ messages in thread
From: Hans de Graaff @ 2020-01-05 9:52 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 612 bytes --]
On Thu, 2020-01-02 at 22:08 +0100, Michał Górny wrote:
> On Thu, 2020-01-02 at 21:15 +0100, Ulrich Mueller wrote:
>
> > Hadn't we established that ruby_samelib() is dead code, no longer
> > used
> > since 2010?
> >
>
> You did. However, it isn't marked as private API and I'm not the
> eclass
> maintainer to take care of removing public API. I have no clue if
> Ruby
> project doesn't have some secret overlays using it.
I'm not aware of any usage, but I also was not aware that this is no
longer used. I'll make a note to check this out and propose a
deprecation/removal plan.
Hans
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-01-05 9:52 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-02 15:57 [gentoo-dev] [PATCH v2] ruby-ng.eclass: Include (-) in RUBY_TARGETS USE-dependencies Michał Górny
2020-01-02 20:15 ` Ulrich Mueller
2020-01-02 21:08 ` Michał Górny
2020-01-02 21:54 ` Michael 'veremitz' Everitt
2020-01-03 10:36 ` David Seifert
2020-01-03 22:34 ` Michael 'veremitz' Everitt
2020-01-03 22:49 ` Luca Barbato
2020-01-03 23:39 ` James Le Cuirot
2020-01-05 9:52 ` Hans de Graaff
2020-01-05 9:50 ` Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox