Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37547240
en ru br
Репозитории ALT
S:0.32-alt2
5.1: 0.23-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Perl-Tags

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and 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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin