pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-File-BaseDir



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat May 20 07:18:56 UTC 2023

Modified Files:
        pkgsrc/devel/p5-File-BaseDir: Makefile distinfo
        pkgsrc/devel/p5-File-BaseDir/patches: patch-lib_File_BaseDir.pm
            patch-t_01__vars.t patch-t_03__OO.t

Log Message:
p5-File-BaseDir: update to 0.09.

0.09      2021-07-08 14:04:14 -0600
 - Tests can now be run in parallel or isolation safely (rt#199256)
 - Fallback on getpwuid if environment variable not set (rt#127138)
 - Test suite works with or without environment variables (rt#127138)


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/p5-File-BaseDir/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/p5-File-BaseDir/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm \
    pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t \
    pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-File-BaseDir/Makefile
diff -u pkgsrc/devel/p5-File-BaseDir/Makefile:1.34 pkgsrc/devel/p5-File-BaseDir/Makefile:1.35
--- pkgsrc/devel/p5-File-BaseDir/Makefile:1.34  Tue Jun 28 11:32:24 2022
+++ pkgsrc/devel/p5-File-BaseDir/Makefile       Sat May 20 07:18:56 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.34 2022/06/28 11:32:24 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2023/05/20 07:18:56 wiz Exp $
 
-DISTNAME=              File-BaseDir-0.08
+DISTNAME=              File-BaseDir-0.09
 PKGNAME=               p5-${DISTNAME}
-PKGREVISION=           5
 CATEGORIES=            devel perl5
 MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=File/}
 
@@ -23,7 +22,6 @@ SUBST_STAGE.paths=    post-configure
 SUBST_FILES.paths=     lib/File/BaseDir.pm t/01_vars.t t/03_OO.t
 SUBST_VARS.paths=      SHAREDIR_SPLIT
 
-PERL5_MODULE_TYPE=     Module::Build
 PERL5_PACKLIST=                auto/File/BaseDir/.packlist
 
 pre-test:

Index: pkgsrc/devel/p5-File-BaseDir/distinfo
diff -u pkgsrc/devel/p5-File-BaseDir/distinfo:1.10 pkgsrc/devel/p5-File-BaseDir/distinfo:1.11
--- pkgsrc/devel/p5-File-BaseDir/distinfo:1.10  Tue Oct 26 10:16:34 2021
+++ pkgsrc/devel/p5-File-BaseDir/distinfo       Sat May 20 07:18:56 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:16:34 nia Exp $
+$NetBSD: distinfo,v 1.11 2023/05/20 07:18:56 wiz Exp $
 
-BLAKE2s (File-BaseDir-0.08.tar.gz) = e7b82b79b581d87224e0b51d2dab6f51ba13e0693273ea96d283c55348e071c7
-SHA512 (File-BaseDir-0.08.tar.gz) = 6b44edca34906c34d574933c21c0e3a1a236a431a3ac12caeabcc2638688dfe1c02efc9a1e75a2c2cd522de0dca00df0620cd262c184ec938cc97766d1121f99
-Size (File-BaseDir-0.08.tar.gz) = 10052 bytes
-SHA1 (patch-lib_File_BaseDir.pm) = 2374434a67b8d0c935a4cdab6d3c31bd8a71ac5e
-SHA1 (patch-t_01__vars.t) = 8f0273889bd698a5b066384dd5ccd89cf3a11338
-SHA1 (patch-t_03__OO.t) = c3a20a26417a1d833c4d462a12b1e01d3127121c
+BLAKE2s (File-BaseDir-0.09.tar.gz) = 0ed48f31512eb6ad3a1f6011f745d9f97ab529ae279fb0506f1c80e05f158059
+SHA512 (File-BaseDir-0.09.tar.gz) = 07b07f43bce392beda6ac10729925c3b6ad850f0af5485c3f540b72353a1e877e7e9b76580057197cf68864086f1a3d1f9459cfcf142f16772f48125426d72db
+Size (File-BaseDir-0.09.tar.gz) = 21508 bytes
+SHA1 (patch-lib_File_BaseDir.pm) = 20e5dffb9bf070f74de8ab245cbc1c86ad441b02
+SHA1 (patch-t_01__vars.t) = 9d888f52ad70c668aaa1ddd7a32b7314010b7973
+SHA1 (patch-t_03__OO.t) = 025b7bdc816ed6b36dad28e900f31e7f1e61e457

Index: pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm
diff -u pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm:1.1 pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm:1.2
--- pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm:1.1  Sat Feb 16 22:14:41 2013
+++ pkgsrc/devel/p5-File-BaseDir/patches/patch-lib_File_BaseDir.pm      Sat May 20 07:18:56 2023
@@ -1,14 +1,15 @@
-$NetBSD: patch-lib_File_BaseDir.pm,v 1.1 2013/02/16 22:14:41 schmonz Exp $
+$NetBSD: patch-lib_File_BaseDir.pm,v 1.2 2023/05/20 07:18:56 wiz Exp $
 
 Look in pkgsrc's sharedir, too.
 
---- lib/File/BaseDir.pm.orig   2007-10-24 19:57:22.000000000 +0000
+--- lib/File/BaseDir.pm.orig   2021-07-08 20:04:16.000000000 +0000
 +++ lib/File/BaseDir.pm
-@@ -41,6 +41,7 @@ unless ($home) {
- # Set defaults
- our $xdg_data_home = File::Spec->catdir($home, qw/.local share/);
- our @xdg_data_dirs = (
-+      File::Spec->catdir($rootdir, qw/@SHAREDIR_SPLIT@/),
-       File::Spec->catdir($rootdir, qw/usr local share/),
-       File::Spec->catdir($rootdir, qw/usr share/),
- );
+@@ -46,7 +46,7 @@ sub xdg_data_home { $ENV{XDG_DATA_HOME} 
+ sub xdg_data_dirs {
+   ( $ENV{XDG_DATA_DIRS}
+     ? _adapt($ENV{XDG_DATA_DIRS})
+-    : (File::Spec->catdir(_rootdir(), qw/usr local share/), File::Spec->catdir(_rootdir(), qw/usr share/))
++    : (File::Spec->catdir(_rootdir(), qw/@SHAREDIR_SPLIT@/), File::Spec->catdir(_rootdir(), qw/usr local share/), File::Spec->catdir(_rootdir(), qw/usr share/))
+   )
+ }
+ 
Index: pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t
diff -u pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t:1.1 pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t:1.2
--- pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t:1.1 Sat Feb 16 22:14:41 2013
+++ pkgsrc/devel/p5-File-BaseDir/patches/patch-t_01__vars.t     Sat May 20 07:18:56 2023
@@ -1,16 +1,16 @@
-$NetBSD: patch-t_01__vars.t,v 1.1 2013/02/16 22:14:41 schmonz Exp $
+$NetBSD: patch-t_01__vars.t,v 1.2 2023/05/20 07:18:56 wiz Exp $
 
 Look in pkgsrc's sharedir, too.
 
---- t/01_vars.t.orig   2007-10-24 19:57:22.000000000 +0000
+--- t/01_vars.t.orig   2021-07-08 20:04:16.000000000 +0000
 +++ t/01_vars.t
-@@ -29,7 +29,8 @@ ok( xdg_data_home() eq 'test123', 'xdg_d
+@@ -33,7 +33,8 @@ ok( xdg_data_home() eq 'test123', 'xdg_d
  
  $ENV{XDG_DATA_DIRS} = '';
  is_deeply( [xdg_data_dirs()],
--           [ File::Spec->catdir($rootdir, qw/usr local share/),
-+           [ File::Spec->catdir($rootdir, qw/@SHAREDIR_SPLIT@/),
-+             File::Spec->catdir($rootdir, qw/usr local share/),
-              File::Spec->catdir($rootdir, qw/usr share/)         ],
-          'xdg_data_dirs default');
- $ENV{XDG_DATA_DIRS} = './t:foo:bar';
+-           [ File::Spec->catdir(File::BaseDir->_rootdir, qw/usr local share/),
++           [ File::Spec->catdir(File::BaseDir->_rootdir, qw/@SHAREDIR_SPLIT@/),
++             File::Spec->catdir(File::BaseDir->_rootdir, qw/usr local share/),
+              File::Spec->catdir(File::BaseDir->_rootdir, qw/usr share/)         ],
+      'xdg_data_dirs default');
+ $ENV{XDG_DATA_DIRS} = join $Config{path_sep}, qw/ t foo bar /;
Index: pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t
diff -u pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t:1.1 pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t:1.2
--- pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t:1.1   Sat Feb 16 22:14:42 2013
+++ pkgsrc/devel/p5-File-BaseDir/patches/patch-t_03__OO.t       Sat May 20 07:18:56 2023
@@ -1,16 +1,16 @@
-$NetBSD: patch-t_03__OO.t,v 1.1 2013/02/16 22:14:42 schmonz Exp $
+$NetBSD: patch-t_03__OO.t,v 1.2 2023/05/20 07:18:56 wiz Exp $
 
 Look in pkgsrc's sharedir, too.
 
---- t/03_OO.t.orig     2007-10-24 19:57:22.000000000 +0000
+--- t/03_OO.t.orig     2021-07-08 20:04:16.000000000 +0000
 +++ t/03_OO.t
-@@ -10,7 +10,8 @@ is(ref($conf), 'File::BaseDir', 'OO cons
- 
- $ENV{XDG_DATA_DIRS} = '';
- is_deeply( [$conf->xdg_data_dirs()],
--           [ File::Spec->catdir($rootdir, qw/usr local share/),
-+           [ File::Spec->catdir($rootdir, qw/@SHAREDIR_SPLIT@/),
-+             File::Spec->catdir($rootdir, qw/usr local share/),
-              File::Spec->catdir($rootdir, qw/usr share/)         ],
-          'xdg_data_dirs default - OO');
+@@ -14,7 +14,8 @@ isa_ok $conf, 'File::BaseDir';
  
+   $ENV{XDG_DATA_DIRS} = '';
+   is_deeply( [$conf->xdg_data_dirs()],
+-             [ File::Spec->catdir($rootdir, qw/usr local share/),
++             [ File::Spec->catdir($rootdir, qw/@SHAREDIR_SPLIT@/),
++               File::Spec->catdir($rootdir, qw/usr local share/),
+                File::Spec->catdir($rootdir, qw/usr share/)         ],
+        'xdg_data_dirs default - OO');
+ }



Home | Main Index | Thread Index | Old Index