Skip to content

Commit

Permalink
Testing File::Glob compat on 5.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris White committed Feb 9, 2019
1 parent 7abdaf1 commit 8f89a6d
Show file tree
Hide file tree
Showing 38 changed files with 43 additions and 38 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Build-Hopen

0.000007 2019-02-08
First version that can generate a Makefile

0.000006 2019-02-06
Substantially expanded

Expand Down
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ my %opts = (
'Exporter' => '0',
'feature' => '0',
# 'File::Find::Rule' => '0', # - might be nice for finding files
'File::Glob' => '1.17', # For :bsd_glob - see perl5160delta.
'File::Glob' => '0',
#'File::Globstar' => '0.5', # Fewer dependencies
'File::Path::Tiny' => '0.9',
'File::Spec' => '0',
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BEGIN {
use Build::Hopen::Util::NameSet;
use Storable ();

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# Docs {{{1

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/App.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build::Hopen::App: hopen(1) program
package Build::Hopen::App;
our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# Imports {{{1
use Build::Hopen::Base;
Expand Down
6 changes: 4 additions & 2 deletions lib/Build/Hopen/AppUtil.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Build::Hopen qw(:default isMYH MYH);
use Build::Hopen::Base;
use parent 'Exporter';

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
BEGIN {
Expand All @@ -17,7 +17,9 @@ BEGIN {
}

use Cwd qw(getcwd abs_path);
use File::Glob ':bsd_glob';
use File::Glob $] lt '5.016' ? ':glob' : ':bsd_glob';
# Thanks to haukex, https://www.perlmonks.org/?node_id=1207115 -
# 5.14 doesn't support the ':bsd_glob' tag.
use Path::Class;

# Docs {{{1
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Arrrgs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ our @ISA = qw(Exporter);

our @EXPORT = qw( parameters );

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package Build::Hopen::Base;
use parent 'Exporter';
use Import::Into;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# Pragmas
use 5.014;
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/BuildSystemGlobals.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::BuildSystemGlobals;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter';
our @EXPORT;
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/CollectOp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::CollectOp;
use Build::Hopen qw(:default UNSPECIFIED);
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Op';
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/DAG.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::DAG;
use Build::Hopen::Base;
use Build::Hopen qw(hlog $QUIET);

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Op';
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Entity.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Entity;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

sub name;

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/FilesOp.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::FilesOp;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Op';
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Goal.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Goal;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Op';
#use Class::Tiny qw(_passthrough);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/GraphBuilder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Exporter 'import';

our @EXPORT; BEGIN { @EXPORT=qw(make_GraphBuilder); }

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use Class::Tiny {
name => sub { 'ANON' }, # Name is optional; it's here so the
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Link.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Link;
use Build::Hopen qw(:default UNSPECIFIED);
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Runnable';
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Node.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Node;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

sub outputs;

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Op.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Op;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Node';
use Class::Tiny;
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/G/Runnable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::G::Runnable;
use Build::Hopen::Base;
use Build::Hopen;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use Build::Hopen::Scope::Hash;
use Build::Hopen::Util::Data qw(forward_opts);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Gen.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Gen;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use Class::Tiny qw(proj_dir dest_dir), {
architecture => '',
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Gen/Make.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Build::Hopen qw(:default $QUIET);
use Build::Hopen::Base;
use parent 'Exporter';

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use Hash::Ordered;

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/H.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::H;
use Build::Hopen::Base;
use Build::Hopen qw(hlog);

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter';
our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/HopenFileKit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Build::Hopen ();
use Build::Hopen::Phases ();
use Path::Class ();

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter'; # Exporter-exported symbols {{{1
our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Phase/Check.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Build::Hopen;
use Build::Hopen::Base;
use parent 'Exporter';

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
BEGIN {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Phase/Gen.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Build::Hopen;
use Build::Hopen::Base;
#use parent 'Exporter';

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

#use Class::Tiny ;#qw(TODO);

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Phases.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Phases;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter';
our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Scope.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Scope;
use Build::Hopen::Base;
use Exporter 'import';

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# Class definition
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Scope/Environment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Scope::Environment;
use Build::Hopen::Base;
use Build::Hopen qw(hlog);

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::Scope';

Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Scope/Hash.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package Build::Hopen::Scope::Hash;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::Scope';
use Class::Tiny {
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Scope/Inputs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Scope::Inputs;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# TODO if a class
use parent 'Build::Hopen::Scope';
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Scope/Overrides.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Scope::Overrides;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# TODO if using exporter
use parent 'Exporter';
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/T/Gnu.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::T::Gnu;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

#use parent 'Build::Hopen::TODO';
#use Class::Tiny qw(TODO);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/T/Gnu/C.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package Build::Hopen::T::Gnu::C;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::Tool';
use Class::Tiny qw(op files _cc);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/TEMPLATE.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::TEMPLATE;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# TODO if using exporter
use parent 'Exporter';
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Tool.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Tool;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Build::Hopen::G::Op';
use Class::Tiny;
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Toolchain.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Toolchain;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use Class::Tiny qw(proj_dir dest_dir), {
architecture => '',
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Util/Data.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Util::Data;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter';
our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Util/Filename.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package Build::Hopen::Util::Filename;
use Build::Hopen;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

use parent 'Exporter';
our (@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
Expand Down
2 changes: 1 addition & 1 deletion lib/Build/Hopen/Util/NameSet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package Build::Hopen::Util::NameSet;
use Build::Hopen::Base;

our $VERSION = '0.000007'; # TRIAL
our $VERSION = '0.000008'; # TRIAL

# Docs {{{1

Expand Down

0 comments on commit 8f89a6d

Please sign in to comment.