/dports/devel/ros-rosdistro/rosdistro-0.7.5/test/ |
H A D | test_distribution.py | 16 dist_file = DistributionFile('foo', data) 17 _validate_dist_file(dist_file) 23 dist_file = get_distribution_file(i, 'foo') 24 _validate_dist_file(dist_file) 30 def _validate_dist_file(dist_file): argument 31 assert('bar_repo' in dist_file.repositories) 32 repo = dist_file.repositories['bar_repo'] 34 assert 'bar_repo' in dist_file.release_packages 36 assert'baz-repo' in dist_file.repositories 37 repo = dist_file.repositories['baz-repo'] [all …]
|
/dports/devel/p5-Module-Extract/Module-Extract-0.01/lib/Module/ |
H A D | Extract.pm | 109 if ( $self->dist_file ) { 111 unless ( $self->dist_file =~ /\.(?:zip|tgz|tar\.gz)$/ ) { 112 Carp::croak("The dist_file '" . $self->dist_file . "' is not a zip|tgz|tar.gz"); 114 unless ( -f $self->dist_file ) { 115 Carp::croak("The dist_file '" . $self->dist_file . "' does not exist"); 141 my $archive = Archive::Extract->new( archive => $self->dist_file ) 143 . $self->dist_file . "'" 148 . $self->dist_file . "'" 184 sub dist_file { subroutine 185 $_[0]->{dist_file};
|
/dports/devel/p5-File-ShareDir/File-ShareDir-1.118/t/ |
H A D | 02_main.t | 29 ok(!defined &dist_file, 'dist_file not imported by default'); 37 ok(defined &dist_file, 'dist_file imported'); 69 my $dist_file = dist_file('File-ShareDir', 'sample.txt'); 70 ok($dist_file, 'Can find our sample module file'); 71 ok(-f $dist_file, '... and is a file'); 72 ok(-r $dist_file, '... and have read permissions'); 76 is(File::Spec->catfile($dist_dir, 'sample.txt'), $dist_file, 'dist_dir and dist_file find the same …
|
H A D | 06_old.t | 44 my $dist_file = dist_file('ShareDir-TestClass', 'sample.txt'); 45 ok($dist_file, 'Can find our sample module file'); 46 ok(-f $dist_file, '... and is a file'); 47 ok(-r $dist_file, '... and have read permissions');
|
H A D | 04_fail.t | 62 sub { dist_file('File-ShareDir', 'file/name.txt'); }, 107 sub { my $dist_file = dist_file('ShareDir-TestClass', 'noread.txt'); }, 122 …dies(sub { my $dist_file = dist_file('ShareDir-TestClass', 'noread.txt'); }, qr/No read permission… 148 dies(sub { my $dist_file = dist_file('ShareDir-TestClass', 'weird.dir'); }, qr/No such file/, "Dir …
|
/dports/devel/p5-File-ShareDir-PAR/File-ShareDir-PAR-0.06/t/ |
H A D | 02_without_par.t | 35 ok( ! defined &dist_file, 'dist_file not imported by default' ); 43 ok( defined &dist_file, 'dist_file imported' ); 85 my $dist_file = dist_file('File-ShareDir-PAR', 'sample.txt'); 86 ok( $dist_file, 'Can find our sample module file' ); 87 ok( -f $dist_file, '... and is a file' ); 88 ok( -r $dist_file, '... and have read permissions' ); 92 is( File::Spec->catfile($dist_dir, 'sample.txt'), $dist_file,
|
H A D | 22_global_without_par.t | 35 ok( ! defined &dist_file, 'dist_file not imported by default' ); 43 ok( defined &dist_file, 'dist_file imported' ); 76 my $dist_file = dist_file('File-ShareDir-PAR', 'sample.txt'); 77 ok( $dist_file, 'Can find our sample module file' ); 78 ok( -f $dist_file, '... and is a file' ); 79 ok( -r $dist_file, '... and have read permissions' ); 83 is( File::Spec->catfile($dist_dir, 'sample.txt'), $dist_file,
|
H A D | 03_with_par.t | 82 ok( ! defined &dist_file, 'dist_file not imported by default' ); 90 ok( defined &dist_file, 'dist_file imported' ); 132 my $dist_file = dist_file('File-ShareDir-PAR', 'sample.txt'); 133 ok( $dist_file, 'Can find our sample module file' ); 134 ok( -f $dist_file, '... and is a file' ); 135 ok( -r $dist_file, '... and have read permissions' ); 139 is( File::Spec->catfile($dist_dir, 'sample.txt'), $dist_file,
|
H A D | 23_global_with_par.t | 82 ok( ! defined &dist_file, 'dist_file not imported by default' ); 90 ok( defined &dist_file, 'dist_file imported' ); 122 my $dist_file = dist_file('File-ShareDir-PAR', 'sample.txt'); 123 ok( $dist_file, 'Can find our sample module file' ); 124 ok( -f $dist_file, '... and is a file' ); 125 ok( -r $dist_file, '... and have read permissions' ); 129 is( File::Spec->catfile($dist_dir, 'sample.txt'), $dist_file,
|
/dports/devel/ros-rosdep/rosdep-0.18.0/src/rosdep2/ |
H A D | rosdistrohelper.py | 45 def __init__(self, dist_file): argument 47 for repo_name in dist_file.repositories.keys(): 48 repo = dist_file.repositories[repo_name].release_repository 51 self.platforms = dist_file.release_platforms 76 dist_file = rosdistro.get_distribution_file(get_index(), distro) 77 _RDCache.release_files[distro] = ReleaseFile(dist_file)
|
/dports/devel/p5-Module-Install/Module-Install-1.19/t/ |
H A D | 05_share.t | 25 add_file('share/dist_file.txt', 'sample file'); 30 share/dist_file.txt 40 my $file = file(qw{ blib lib auto share dist Foo dist_file.txt }); 59 add_file('share/dist_file.txt', 'sample file'); 64 #share/dist_file.txt 74 my $file = file(qw{ blib lib auto share dist Foo dist_file.txt }); 90 add_file('share/dist_file.txt', 'sample file'); 95 share/dist_file.txt 99 share/dist_file.txt 109 my $file = file(qw{ blib lib auto share dist Foo dist_file.txt });
|
/dports/devel/p5-Test-File-ShareDir/Test-File-ShareDir-1.001002/t/ |
H A D | 07_util_withdist.t | 12 use File::ShareDir qw( dist_dir dist_file ); 33 note dist_file( $distname, 'afile' ); 36 'dist_file doesn\'t bail as it finds the file' 50 # dist_file( 'x', 'y' ) 55 diag dist_file( $distname, 'afile' ); 58 'dist_file bails after clear'
|
H A D | 02_distdir.t | 12 use File::ShareDir qw( dist_dir dist_file ); 24 note dist_file( 'Example-Dist', 'afile' ); 27 'dist_file doesn\'t bail as it finds the file'
|
H A D | 05_dist_dir_simple.t | 13 use File::ShareDir qw( dist_dir dist_file ); 25 note dist_file( 'Example-Dist', 'afile' ); 28 'dist_file doesn\'t bail as it finds the file'
|
/dports/devel/p5-CPAN-SQLite/CPAN-SQLite-0.199/lib/CPAN/SQLite/ |
H A D | Info.pm | 50 my $dist_file = $d->filename; 65 $dists->{$dist_name}->{dist_file} = $dist_file; 72 $wanted->{basename($dists->{$dist_name}->{dist_file})} = $dist_name; 75 my $file = basename($packages->{$mod_name}->{dist_file}); 159 my ($mod_name,$mod_vers,$dist_file,$comment) = split " ", $_, 4; 161 $mods->{$mod_name} = {mod_vers => $mod_vers, dist_file => $dist_file}; 162 $cpan_files->{$dist_file}++;
|
/dports/devel/ros-rosdistro/rosdistro-0.7.5/src/rosdistro/ |
H A D | distribution_cache.py | 112 … dist_file = create_distribution_file(self.distribution_file.name, self._distribution_file_data) 116 for pkg_name in sorted(dist_file.release_packages.keys()): 119 …if pkg_name in self.release_package_xmls and self._get_repo_info(dist_file, pkg_name) != self._get… 131 source_repository = dist_file.repositories[repo].source_repository 158 self.distribution_file = dist_file 172 def _get_repo_info(self, dist_file, pkg_name): argument 173 pkg = dist_file.release_packages[pkg_name] 174 repo = dist_file.repositories[pkg.repository_name].release_repository
|
/dports/devel/p5-CPAN-SQLite/CPAN-SQLite-0.199/t/ |
H A D | 05meta_new.t | 78 my $dist_file = q{TimeDate-1.16.tar.gz}; 81 my $query = "$cpanid/$dist_file"; 83 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 105 my $dist_file = q{Apache-GzipChain-1.14.tar.gz}; 108 my $query = "$cpanid/$dist_file"; 110 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 140 my $dist_file = q{CPAN-Test-Dummy-Perl5-Make-1.05.tar.gz}; 143 my $query = "$cpanid/$dist_file"; 145 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 186 my $dist_file = $dists->{$dist_name}->{dist_file}; [all …]
|
H A D | 05meta_update.t | 121 my $dist_file = q{TimeDate-1.16.tar.gz}; 124 my $query = "$cpanid/$dist_file"; 126 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 148 my $dist_file = q{Apache-GzipChain-1.14.tar.gz}; 151 my $query = "$cpanid/$dist_file"; 153 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 183 my $dist_file = q{CPAN-Test-Dummy-Perl5-Make-1.05.tar.gz}; 186 my $query = "$cpanid/$dist_file"; 188 my $dist_id = download($cpanid, $dists->{$dist_name}->{dist_file}); 229 my $dist_file = $dists->{$dist_name}->{dist_file}; [all …]
|
/dports/sysutils/nut/nut-2.7.4/m4/ |
H A D | nut_check_os.m4 | 53 for dist_file in $dist_search_path 55 if test -f "$dist_file" 57 dist_cv_build_lsb_file="$dist_file" 77 for dist_file in $dist_search_path 79 if test -f "$dist_file" 81 dist_cv_build_rel_file="$dist_file" 93 for dist_file in $dist_search_path 95 if test -f "$dist_file" 97 dist_cv_build_issue_file="$dist_file"
|
/dports/sysutils/nut-devel/nut-9e6a5ab2/m4/ |
H A D | nut_check_os.m4 | 53 for dist_file in $dist_search_path 55 if test -f "$dist_file" 57 dist_cv_build_lsb_file="$dist_file" 77 for dist_file in $dist_search_path 79 if test -f "$dist_file" 81 dist_cv_build_rel_file="$dist_file" 93 for dist_file in $dist_search_path 95 if test -f "$dist_file" 97 dist_cv_build_issue_file="$dist_file"
|
/dports/devel/p5-Module-Extract/Module-Extract-0.01/ |
H A D | README | 33 My::Readme->new( dist_file => $ARGV[0] )->show; 54 dist_file => 'tarball.tar.gz', 61 The "new" constructor takes a "dist_file" and/or a "dist_dir" param, 64 It takes either a "dist_file" param, which should be the local path to 71 dist_file 72 The "dist_file" accessor returns the (absolute) path to the distribution 74 "dist_file", this will return "undef". 81 If the inspector was created with "dist_dir" rather than "dist_file", 88 If the inspector was created with "dist_file" rather than "dist_file",
|
/dports/devel/py-dateutil/python-dateutil-2.8.1/ |
H A D | release.py | 67 for dist_file in dist_files: 68 if dist_file.endswith('.asc'): 70 if dist_file + '.asc' not in dist_files: 71 raise ValueError('Missing signature file for: {}'.format(dist_file))
|
/dports/www/p5-HTTP-Cookies-iCab/HTTP-Cookies-iCab-1.132/t/ |
H A D | save.t | 6 my $dist_file = 't/Cookies.dat'; 11 my $jar = HTTP::Cookies::iCab->new( File => $dist_file ); 18 my $diff = Text::Diff::diff( $dist_file, $save_file );
|
/dports/www/p5-HTTP-Cookies-Mozilla/HTTP-Cookies-Mozilla-2.036/t/ |
H A D | save.t | 9 my $dist_file = 't/cookies.txt'; 15 my $jar = HTTP::Cookies::Mozilla->new( File => $dist_file ); 20 my $diff = Text::Diff::diff( $dist_file, $save_file );
|
/dports/multimedia/gstreamer1-vaapi/gstreamer-vaapi-1.16.2/tests/ |
H A D | test-fei-enc-out.c | 42 FILE *dist_file = NULL; in main() local 189 dist_file = fopen (output_distortion_name, "wb"); in main() 253 if (dist_file != NULL) { in main() 258 fwrite (mapped_data, 1, mapped_data_size, dist_file); in main() 292 if (dist_file != NULL) in main() 293 fclose (dist_file); in main()
|