Re: [update] www/p5-WWW-Search 2.517 -> 2.518

2019-05-29 Thread Andrew Hewus Fresh
On Tue, May 21, 2019 at 05:48:10AM +0200, Charlene Wendling wrote:
> 
> Here is an update for WWW::Search.
> 
> What's new upstream [0]:
> 
> - upstream don't force us to use Env anymore, as they use it for
>   their own purpose
> - if tests fail, the html content is saved to a file
> 
> What's new in the port:
> 
> - the module really needs itself as TEST_DEPENDS to perform all its
>   tests
> - devel/p5-Test-File is actually a TEST_DEPENDS
> - i've reluctantly kept the p5-Mail-* optional dependencies to avoid
>   breaking users' setup
> 
> Testing:
> 
> - 'make test' passes
> - there are 2 consumers: www/p5-WWW-Ebay (it passes), and
>   www/p5-WWW-Search-Ebay (it doesn't pass because it's outdated,
>   but it's the next on the list)
> 
> 
> Comments/feedback are welcome :) 

OK afresh1@



> Charlène.
> 
> 
> [0]
> https://metacpan.org/source/MTHURN/WWW-Search-2.518/Changes
> [1] http://0x0.st/zm4r.tgz
> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search/Makefile,v
> retrieving revision 1.13
> diff -u -p -u -p -r1.13 Makefile
> --- Makefile  12 May 2017 20:54:50 -  1.13
> +++ Makefile  21 May 2019 03:40:33 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= virtual base class for WWW searches
>  
> -DISTNAME =   WWW-Search-2.517
> +DISTNAME=WWW-Search-2.518
>  CATEGORIES=  www
>  
>  # perl
> @@ -13,17 +13,21 @@ PKG_ARCH= *
>  
>  RUN_DEPENDS= converters/p5-DateManip \
>   devel/p5-File-Slurp \
> - devel/p5-Test-File \
> - mail/p5-Email-MIME>=1.910 \
> - mail/p5-Email-Send \
>   math/p5-Bit-Vector \
>   misc/p5-User \
>   www/p5-CGI \
>   www/p5-HTML-Parser>=2.23 \
>   www/p5-HTML-Tree \
>   www/p5-URI \
> - www/p5-libwww
> + www/p5-libwww>=2
> +
> +# Optional dependencies, kept to not break users' setup
> +RUN_DEPENDS+=mail/p5-Email-MIME>=1.910 \
> + mail/p5-Email-Send
> +
> +# The module needs itself to perform all its tests
>  TEST_DEPENDS=devel/p5-IO-Capture \
> + devel/p5-Test-File \
>   www/p5-WWW-Search
>  
>  MAKE_ENV+=   TEST_POD=Yes
> Index: distinfo
> ===
> RCS file: /cvs/ports/www/p5-WWW-Search/distinfo,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 distinfo
> --- distinfo  12 May 2017 20:54:50 -  1.6
> +++ distinfo  21 May 2019 03:40:33 -
> @@ -1,2 +1,2 @@
> -SHA256 (WWW-Search-2.517.tar.gz) = 
> BAI1OzgImLJzYp0o/eTYzpDSCtx2UbeGiZICxLpRxBI=
> -SIZE (WWW-Search-2.517.tar.gz) = 95286
> +SHA256 (WWW-Search-2.518.tar.gz) = 
> WLj0lNDSAgXOzkLnw7NWfPZsxaMcPMBzdYYdCrR+ATA=
> +SIZE (WWW-Search-2.518.tar.gz) = 94261
> 

-- 
andrew - http://afresh1.com

I wish life had an UNDO function.



[update] www/p5-WWW-Search 2.517 -> 2.518

2019-05-20 Thread Charlene Wendling


Here is an update for WWW::Search.

What's new upstream [0]:

- upstream don't force us to use Env anymore, as they use it for
  their own purpose
- if tests fail, the html content is saved to a file

What's new in the port:

- the module really needs itself as TEST_DEPENDS to perform all its
  tests
- devel/p5-Test-File is actually a TEST_DEPENDS
- i've reluctantly kept the p5-Mail-* optional dependencies to avoid
  breaking users' setup

Testing:

- 'make test' passes
- there are 2 consumers: www/p5-WWW-Ebay (it passes), and
  www/p5-WWW-Search-Ebay (it doesn't pass because it's outdated,
  but it's the next on the list)


Comments/feedback are welcome :) 

Charlène.


[0]
https://metacpan.org/source/MTHURN/WWW-Search-2.518/Changes
[1] http://0x0.st/zm4r.tgz


Index: Makefile
===
RCS file: /cvs/ports/www/p5-WWW-Search/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile12 May 2017 20:54:50 -  1.13
+++ Makefile21 May 2019 03:40:33 -
@@ -2,7 +2,7 @@
 
 COMMENT=   virtual base class for WWW searches
 
-DISTNAME = WWW-Search-2.517
+DISTNAME=  WWW-Search-2.518
 CATEGORIES=www
 
 # perl
@@ -13,17 +13,21 @@ PKG_ARCH=   *
 
 RUN_DEPENDS=   converters/p5-DateManip \
devel/p5-File-Slurp \
-   devel/p5-Test-File \
-   mail/p5-Email-MIME>=1.910 \
-   mail/p5-Email-Send \
math/p5-Bit-Vector \
misc/p5-User \
www/p5-CGI \
www/p5-HTML-Parser>=2.23 \
www/p5-HTML-Tree \
www/p5-URI \
-   www/p5-libwww
+   www/p5-libwww>=2
+
+# Optional dependencies, kept to not break users' setup
+RUN_DEPENDS+=  mail/p5-Email-MIME>=1.910 \
+   mail/p5-Email-Send
+
+# The module needs itself to perform all its tests
 TEST_DEPENDS=  devel/p5-IO-Capture \
+   devel/p5-Test-File \
www/p5-WWW-Search
 
 MAKE_ENV+= TEST_POD=Yes
Index: distinfo
===
RCS file: /cvs/ports/www/p5-WWW-Search/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo12 May 2017 20:54:50 -  1.6
+++ distinfo21 May 2019 03:40:33 -
@@ -1,2 +1,2 @@
-SHA256 (WWW-Search-2.517.tar.gz) = BAI1OzgImLJzYp0o/eTYzpDSCtx2UbeGiZICxLpRxBI=
-SIZE (WWW-Search-2.517.tar.gz) = 95286
+SHA256 (WWW-Search-2.518.tar.gz) = WLj0lNDSAgXOzkLnw7NWfPZsxaMcPMBzdYYdCrR+ATA=
+SIZE (WWW-Search-2.518.tar.gz) = 94261