Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37906769
en ru br
ALT Linux repositórios
S:0.32-alt2
5.0: 0.23-alt1.1

Group :: Desenvolvimento/Perl
RPM: perl-Perl-Tags

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define dist Perl-Tags

Name: perl-Perl-Tags
Version: 0.31
Release: alt1

Summary: Generate (possibly exuberant) Ctags style tags for Perl sourcecode

License: Artistic
Group: Development/Perl
Url: %CPAN %dist

Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch
Source: http://www.cpan.org/authors/id/O/OS/OSFAMERON/Perl-Tags-%{version}.tar.gz

# Automatically added by buildreq on Wed Jun 25 2008

BuildRequires: perl-Module-Locate perl-Test-Pod perl-Test-Pod-Coverage perl-PPI perl(Capture/Tiny.pm) perl(Path/Tiny.pm) perl(Test/Exception.pm) perl(Test/LongString.pm) perl(File/Find/Rule.pm)

%description
use Perl::Tags;
my $naive_tagger = Perl::Tags::Naive->new( max_level=>2 );
$naive_tagger->process(
   files => ['Foo.pm', 'bar.pl'],
   refresh=>1
);

Recursively follows "use" and "require" statements, up to a maximum
of "max_level".

The implemented tagger, "Perl::Tags::Naive" is a more-or-less straight
ripoff, slightly updated, of the original pltags code, and is rather
naive.  It should be possible to subclass using something like "PPI"
or "Text::Balanced", though be aware that this is alpha software and
the internals are subject to change (so get in touch to let me know
what you want to do and I'll try to help).

%prep
%setup -q -n %dist-%version

%build
%perl_vendor_build

%install
%perl_vendor_install
rm -f %buildroot%perl_vendor_privlib/Perl/README.pod

%files
%_bindir/perl-tags
%_bindir/require-perl-tags*
%perl_vendor_privlib/Perl/Tags*
%perl_vendor_privlib/App/*
%perl_vendor_privlib/Test/Perl/Tags*
%doc README Changes

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009