On Mon, Dec 02, 2019 at 03:04:57AM +0000, wen heping wrote:
> Revised patch.
> Now remove p5-DBIx-Class from RUN_DEPENDS, since it
> is RUN_DEPENDS of databases/p5-DBICx-Sugar, spotted
> by afresh@.

OK afresh1@



> wen
> ________________________________
> 发件人: Andrew Hewus Fresh <and...@afresh1.com>
> 发送时间: 2019年11月4日 4:54
> 收件人: wen heping <wenheping2...@hotmail.com>
> 抄送: ports@openbsd.org <ports@openbsd.org>
> 主题: Re: [Update] www/p5-Dancer2-Plugin-DBIC : Update to 0.0100
> 
> On Thu, Oct 24, 2019 at 07:04:42AM +0000, wen heping wrote:
> > Hi, ports@:
> >
> >    Here is a simple patch for www/p5-Dancer2-Plugin-DBIC:
> >      i) Update to 0.0100
> >      ii) Remove a whitespace in DESCR
> >    It is required by the future update of p5-Dancer2.
> >
> >    It build well and pass all tests on amd64-head system.
> >    No other ports depends on it.
> >
> > Comments? OK?
> > wen
> 
> This needs a RUN_DEPENDS on p5-DBICx-Sugar that I OKd previously instead
> of using p5-DBIx-Class directly, with that change, this is OK afresh1@
> (after p5-DBICx-Sugar is imported)
> 
> https://marc.info/?l=openbsd-ports&m=157257168705438&w=2
> 
> 
> Updated patch to do that here:
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile    12 Jul 2019 20:50:52 -0000      1.5
> +++ Makefile    3 Nov 2019 20:52:14 -0000
> @@ -4,15 +4,14 @@ COMMENT =             DBIx::Class interface for Dan
> 
>  MODULES =               cpan
>  PKG_ARCH =              *
> -DISTNAME =             Dancer2-Plugin-DBIC-0.0008
> +DISTNAME =             Dancer2-Plugin-DBIC-0.0100
>  CATEGORIES =            www
> -REVISION =             0
> 
>  # Perl
>  PERMIT_PACKAGE =        Yes
> 
>  RUN_DEPENDS =           www/p5-Dancer2>=0.153002 \
> -                       databases/p5-DBIx-Class
> +                       databases/p5-DBICx-Sugar>=0.0200
> 
>  TEST_DEPENDS =          databases/p5-DBD-SQLite \
>                          databases/p5-DBIx-Class-Schema-Loader \
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo    26 Jan 2015 11:56:10 -0000      1.1.1.1
> +++ distinfo    3 Nov 2019 20:52:14 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Dancer2-Plugin-DBIC-0.0008.tar.gz) = 
> snZ/tXUUzj4/X4eXHUeNovo/froNx3WgXjotDBytu4o=
> -SIZE (Dancer2-Plugin-DBIC-0.0008.tar.gz) = 16634
> +SHA256 (Dancer2-Plugin-DBIC-0.0100.tar.gz) = 
> UhFmVl+MouToFssZLHZM8mgQSzOJJ492USKbbZvfpvk=
> +SIZE (Dancer2-Plugin-DBIC-0.0100.tar.gz) = 19170
> Index: pkg/DESCR
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR   26 Jan 2015 11:56:11 -0000      1.1.1.1
> +++ pkg/DESCR   3 Nov 2019 20:52:14 -0000
> @@ -1,3 +1,3 @@
>  Dancer2 plugin which makes very easy to create applications that interface
>  with databases. It automatically exports the keyword schema which returns a
> -DBIx::Class::Schema object.
> +DBIx::Class::Schema object.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/Makefile,v
> retrieving revision 1.5
> diff -u -p -r1.5 Makefile
> --- Makefile  12 Jul 2019 20:50:52 -0000      1.5
> +++ Makefile  2 Dec 2019 02:56:35 -0000
> @@ -4,15 +4,14 @@ COMMENT =           DBIx::Class interface for Dan
>  
>  MODULES =            cpan
>  PKG_ARCH =           *
> -DISTNAME =           Dancer2-Plugin-DBIC-0.0008
> +DISTNAME =           Dancer2-Plugin-DBIC-0.0100
>  CATEGORIES =         www
> -REVISION =           0
>  
>  # Perl
>  PERMIT_PACKAGE =     Yes
>  
>  RUN_DEPENDS =                www/p5-Dancer2>=0.153002 \
> -                     databases/p5-DBIx-Class
> +                     databases/p5-DBICx-Sugar>=0.0200
>  
>  TEST_DEPENDS =               databases/p5-DBD-SQLite \
>                       databases/p5-DBIx-Class-Schema-Loader \
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  26 Jan 2015 11:56:10 -0000      1.1.1.1
> +++ distinfo  2 Dec 2019 02:56:35 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Dancer2-Plugin-DBIC-0.0008.tar.gz) = 
> snZ/tXUUzj4/X4eXHUeNovo/froNx3WgXjotDBytu4o=
> -SIZE (Dancer2-Plugin-DBIC-0.0008.tar.gz) = 16634
> +SHA256 (Dancer2-Plugin-DBIC-0.0100.tar.gz) = 
> UhFmVl+MouToFssZLHZM8mgQSzOJJ492USKbbZvfpvk=
> +SIZE (Dancer2-Plugin-DBIC-0.0100.tar.gz) = 19170
> Index: pkg/DESCR
> ===================================================================
> RCS file: /cvs/ports/www/p5-Dancer2-Plugin-DBIC/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 26 Jan 2015 11:56:11 -0000      1.1.1.1
> +++ pkg/DESCR 2 Dec 2019 02:56:35 -0000
> @@ -1,3 +1,3 @@
>  Dancer2 plugin which makes very easy to create applications that interface
>  with databases. It automatically exports the keyword schema which returns a
> -DBIx::Class::Schema object. 
> +DBIx::Class::Schema object.


-- 
andrew - http://afresh1.com

I think I understand, but my stubborn brain refuses to admit it
until I beat it into submission by proof upon proof.
                      -- Michael Shiloh <michaelshiloh1...@gmail.com>

Reply via email to