[gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency

2020-03-25 Thread Mike Gilbert
On Wed, Mar 25, 2020 at 1:40 PM David Michael  wrote:
>
> On Fri, Mar 20, 2020 at 5:12 PM David Michael  wrote:
> > Signed-off-by: David Michael 
> > ---
> >
> > Changes since v1:
> >   * Drop the dependency altogether
> >
> >  eclass/fixheadtails.eclass | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
> > index c19d33924aa..475b182843a 100644
> > --- a/eclass/fixheadtails.eclass
> > +++ b/eclass/fixheadtails.eclass
> > @@ -1,4 +1,4 @@
> > -# Copyright 1999-2014 Gentoo Foundation
> > +# Copyright 1999-2020 Gentoo Authors
> >  # Distributed under the terms of the GNU General Public License v2
> >
> >  # @ECLASS: fixheadtails.eclass
> > @@ -8,8 +8,6 @@
> >  # Original author John Mylchreest 
> >  # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones
> >
> > -DEPEND=">=sys-apps/sed-4"
> > -
> >  _do_sed_fix() {
> > einfo " - fixed $1"
> > sed -i \
> > --
> > 2.21.1
>
> Can this patch be applied?

Done.



[gentoo-dev] Re: [PATCH v2] fixheadtails.eclass: drop the sed dependency

2020-03-25 Thread David Michael
On Fri, Mar 20, 2020 at 5:12 PM David Michael  wrote:
> Signed-off-by: David Michael 
> ---
>
> Changes since v1:
>   * Drop the dependency altogether
>
>  eclass/fixheadtails.eclass | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/eclass/fixheadtails.eclass b/eclass/fixheadtails.eclass
> index c19d33924aa..475b182843a 100644
> --- a/eclass/fixheadtails.eclass
> +++ b/eclass/fixheadtails.eclass
> @@ -1,4 +1,4 @@
> -# Copyright 1999-2014 Gentoo Foundation
> +# Copyright 1999-2020 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
>
>  # @ECLASS: fixheadtails.eclass
> @@ -8,8 +8,6 @@
>  # Original author John Mylchreest 
>  # @BLURB: functions to replace obsolete head/tail with POSIX compliant ones
>
> -DEPEND=">=sys-apps/sed-4"
> -
>  _do_sed_fix() {
> einfo " - fixed $1"
> sed -i \
> --
> 2.21.1

Can this patch be applied?

Thanks.

David