SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Test-Spelling rpm build for : OpenSuSE. For other distributions click perl-Test-Spelling.

Name : perl-Test-Spelling
Version : 0.25 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp156.30.1 Date : 2023-12-08 02:06:40
Group : Development/Libraries/Perl Source RPM : perl-Test-Spelling-0.25-lp156.30.1.src.rpm
Size : 0.05 MB
Packager : https://www_suse_com/
Summary : Check for spelling errors in POD files
Description :
Test::Spelling lets you check the spelling of a \'POD\' file, and report its
results in standard Test::More fashion. This module requires a spellcheck
program such as at http://hunspell.github.io/, _aspell_, _spell_, or,
_ispell_. We suggest using Hunspell.

use Test::Spelling;
pod_file_spelling_ok(\'lib/Foo/Bar.pm\', \'POD file spelling OK\');

Note that it is a bad idea to run spelling tests during an ordinary CPAN
distribution install, or in a package that will run in an uncontrolled
environment. There is no way of predicting whether the word list or
spellcheck program used will give the same results. You *can* include the
test in your distribution, but be sure to run it only for authors of the
module by guarding it in a \'skip_all unless $ENV{AUTHOR_TESTING}\' clause,
or by putting the test in your distribution\'s _xt/author_ directory.
Anyway, people installing your module really do not need to run such tests,
as it is unlikely that the documentation will acquire typos while in
transit.

You can add your own stop words, which are words that should be ignored by
the spell check, like so:

add_stopwords(qw(asdf thiswordiscorrect));

Adding stop words in this fashion affects all files checked for the
remainder of the test script. See Pod::Spell (which this module is built
upon) for a variety of ways to add per-file stop words to each .pm file.

If you have a lot of stop words, it\'s useful to put them in your test
file\'s \'DATA\' section like so:

use strict;
use warnings;
use Test::More;

use Test::Spelling;
use Pod::Wordlist;

add_stopwords(< DATA>);
all_pod_files_spelling_ok();

__DATA__
folksonomy
Jifty
Zakirov

To maintain backwards compatibility, comment markers and some whitespace
are ignored. In the near future, the preprocessing we do on the arguments
to Test::Spelling/\"add_stopwords\" will be changed and documented properly.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  perl-Test-Spelling-0.25-lp156.30.1.noarch.rpm
     

Provides :
perl(Test::Spelling)
perl-Test-Spelling

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(IPC::Run3)
perl(Pod::Spell)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Spelling.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Test-Spelling
/usr/share/doc/packages/perl-Test-Spelling/Changes
/usr/share/doc/packages/perl-Test-Spelling/README
/usr/share/licenses/perl-Test-Spelling
/usr/share/licenses/perl-Test-Spelling/LICENSE
/usr/share/man/man3/Test::Spelling.3pm.gz

 
ICM