Re: [gentoo-dev] RFC: ant-tasks.eclass patch

2019-09-26 Thread Miroslav Šulc
Dne 25. 09. 19 v 21:44 Michał Górny napsal(a): On Wed, 2019-09-25 at 20:47 +0200, Miroslav Šulc wrote: ... I don't think you need two branches here. Non-array variable is equivalent to an array with a single element for the purpose of [@], so your 'for' loop will work correctly both for non-a

Re: [gentoo-dev] RFC: ant-tasks.eclass patch

2019-09-25 Thread Michał Górny
On Wed, 2019-09-25 at 20:47 +0200, Miroslav Šulc wrote: > diff --git a/eclass/ant-tasks.eclass b/eclass/ant-tasks.eclass > index 309df084d156..26df9de26f1a 100644 > --- a/eclass/ant-tasks.eclass > +++ b/eclass/ant-tasks.eclass > @@ -54,7 +54,9 @@ ANT_TASK_NAME="${PN#ant-}" > # @DESCRIPTION: > # S

[gentoo-dev] RFC: ant-tasks.eclass patch

2019-09-25 Thread Miroslav Šulc
hi, as per bug https://bugs.gentoo.org/693022 we need to add dependency on dev-java/gnu-jaf (or dev-java/sun-jaf) to the package. unfortunately ant-tasks.eclass variable ANT_TASK_DEPNAME supports only single dependency (it was sufficient till now), but we need one more in this case. the intro