On Sun, May 05, 2019 at 12:45:46AM +0200, Charlene Wendling wrote:
> 
> Here is an update for File::MimeInfo.
> 
> What's new upstream (partial, see [0]):
> 
> - "mimeinfo --stdin" is now fixed
> - spelling fixes
> 
> What's new in the port: 
> 
> - DESCR now provides infos about bundled end-user scripts.
>   It also motivates why it's here despite having no consumers.
> - Add versions to depends, and remove TEST_DEPENDS that overlap
>   with RUN_DEPENDS (as shown by "make show=TEST_DEPENDS").
> - Add TEST_DEPENDS to enable more tests with what is in the
>   ports tree.
> - Added a patch to silence a warning about an inexistent bin
>   directory while testing pods, using the default (blib || lib)
>   instead.
>  
> Testing: 
> 
> - 'make test' passes
> 
> 
> Comments/feedback are welcome!

OK afresh1@


> Charlène.
> 
> 
> [0] https://metacpan.org/changes/release/MICHIELB/File-MimeInfo-0.29
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/Makefile,v
> retrieving revision 1.16
> diff -u -p -u -p -r1.16 Makefile
> --- Makefile  16 Mar 2017 15:31:09 -0000      1.16
> +++ Makefile  4 May 2019 22:29:49 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT=             determine file types
>  
> -DISTNAME=            File-MimeInfo-0.28
> +DISTNAME=            File-MimeInfo-0.29
>  CATEGORIES=          devel
>  
>  # perl
> @@ -11,11 +11,12 @@ PERMIT_PACKAGE_CDROM=     Yes
>  MODULES=             cpan
>  PKG_ARCH=            *
>  
> -RUN_DEPENDS=         devel/p5-File-BaseDir \
> -                     devel/p5-File-DesktopEntry \
> +RUN_DEPENDS=         devel/p5-File-BaseDir>=0.03 \
> +                     devel/p5-File-DesktopEntry>=0.04 \
>                       misc/shared-mime-info
>  TEST_DEPENDS=                devel/desktop-file-utils \
> -                     devel/p5-File-DesktopEntry
> +                     devel/p5-Path-Tiny
> +
>  MAKE_ENV=            TEST_POD=Yes
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/distinfo,v
> retrieving revision 1.8
> diff -u -p -u -p -r1.8 distinfo
> --- distinfo  16 Mar 2017 15:31:09 -0000      1.8
> +++ distinfo  4 May 2019 22:29:49 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (File-MimeInfo-0.28.tar.gz) = 
> KiRdtG+a73SB2QtOGWpNQqI44V8En1f8EznAuYaB68Y=
> -SIZE (File-MimeInfo-0.28.tar.gz) = 32561
> +SHA256 (File-MimeInfo-0.29.tar.gz) = 
> 8ZYneWUurh1abnIqUiDjxQRl3qxSu43qR+D7z7bJCOo=
> +SIZE (File-MimeInfo-0.29.tar.gz) = 33113
> Index: patches/patch-t_06_pod_ok_t
> ===================================================================
> RCS file: patches/patch-t_06_pod_ok_t
> diff -N patches/patch-t_06_pod_ok_t
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-t_06_pod_ok_t       4 May 2019 22:29:49 -0000
> @@ -0,0 +1,17 @@
> +$OpenBSD$
> +
> +Fix:
> +Can't stat bin: No such file or directory at
> +/usr/local/libdata/perl5/site_perl/Test/Pod.pm line 223.
> +
> +We let Test::Pod check in blib or lib instead.
> +
> +Index: t/06_pod_ok.t
> +--- t/06_pod_ok.t.orig
> ++++ t/06_pod_ok.t
> +@@ -1,4 +1,4 @@
> + use Test::More;
> + eval "use Test::Pod 1.00";
> + plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
> +-all_pod_files_ok( all_pod_files(qw/bin lib/) );
> ++all_pod_files_ok( all_pod_files() );
> Index: pkg/DESCR
> ===================================================================
> RCS file: /cvs/ports/devel/p5-File-MimeInfo/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 18 Mar 2007 20:05:56 -0000      1.1.1.1
> +++ pkg/DESCR 4 May 2019 22:29:49 -0000
> @@ -1,2 +1,8 @@
>  This module can be used to determine the mime type of a file. It tries
>  to implement the freedesktop specification for a shared MIME database.
> +
> +It also provides two tools:
> +
> +- mimetype: determine file types.
> +- mimeopen: open files by mimetype, similar to xdg-open(1)
> +            from xdg-utils, but with more options.
> 

-- 
andrew - http://afresh1.com

Beta. Software undergoes beta testing shortly before it's released.
                           Beta is Latin for "still doesn't work."

Reply via email to