Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37558421
en ru br
Репозитории ALT

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

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-CHI-0.52-alt1.patch
Скачать


 .gear/rules                                        |    3 +
 .../tags/88dfbd9a8b188f1ddf2b73e7ec6df00a316c2451  |    6 ++
 .../tags/a40298490618bc8e447a883e11b7d4bbb1d31a1e  |    6 ++
 .gear/tags/list                                    |    2 +
 Makefile.PL                                        |   73 ++++++++++++++++++++
 altlinux/perl-CHI.spec                             |   40 +++++++++++
 lib/CHI/t/RequiredModules.pm                       |    2 +-
 7 files changed, 131 insertions(+), 1 deletion(-)
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..ea3df9a
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: @version@:.
+diff: @version@:. @version@-alt:.
+spec: altlinux/perl-CHI.spec
diff --git a/.gear/tags/88dfbd9a8b188f1ddf2b73e7ec6df00a316c2451 b/.gear/tags/88dfbd9a8b188f1ddf2b73e7ec6df00a316c2451
new file mode 100644
index 0000000..b9b4a44
--- /dev/null
+++ b/.gear/tags/88dfbd9a8b188f1ddf2b73e7ec6df00a316c2451
@@ -0,0 +1,6 @@
+object c1f4cc03130aa848b1a51b512cbe5f28afc3c29c
+type commit
+tag 0.50-alt
+tagger Vladimir Lettiev <crux@altlinux.ru> 1323085476 +0400
+
+0.50-alt
diff --git a/.gear/tags/a40298490618bc8e447a883e11b7d4bbb1d31a1e b/.gear/tags/a40298490618bc8e447a883e11b7d4bbb1d31a1e
new file mode 100644
index 0000000..41f2e7f
--- /dev/null
+++ b/.gear/tags/a40298490618bc8e447a883e11b7d4bbb1d31a1e
@@ -0,0 +1,6 @@
+object 7a8c9f7316a7f4de2a16fe013ae5546868cc0ec9
+type commit
+tag 0.50
+tagger Vladimir Lettiev <crux@altlinux.ru> 1323085299 +0400
+
+0.50
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..0f068e0
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1,2 @@
+a40298490618bc8e447a883e11b7d4bbb1d31a1e 0.50
+88dfbd9a8b188f1ddf2b73e7ec6df00a316c2451 0.50-alt
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..e57debc
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,73 @@
+
+use strict;
+use warnings;
+
+
+
+use ExtUtils::MakeMaker 6.30;
+
+
+
+my %WriteMakefileArgs = (
+  'ABSTRACT' => 'Unified cache handling interface',
+  'AUTHOR' => 'Jonathan Swartz <swartz@pobox.com>',
+  'BUILD_REQUIRES' => {
+    'Date::Parse' => '0',
+    'Test::Builder' => '0',
+    'Test::Class' => '0',
+    'Test::Deep' => '0',
+    'Test::Exception' => '0',
+    'Test::More' => '0',
+    'Test::Warn' => '0'
+  },
+  'CONFIGURE_REQUIRES' => {
+    'ExtUtils::MakeMaker' => '6.30'
+  },
+  'DISTNAME' => 'CHI',
+  'EXE_FILES' => [],
+  'LICENSE' => 'perl',
+  'NAME' => 'CHI',
+  'PREREQ_PM' => {
+    'Carp::Assert' => '0.20',
+    'Data::UUID' => '0',
+    'Digest::JHash' => '0',
+    'Digest::MD5' => '0',
+    'File::Spec' => '0.80',
+    'Hash::MoreUtils' => '0',
+    'JSON' => '0',
+    'List::MoreUtils' => '0.13',
+    'Log::Any' => '0.08',
+    'Moose' => '0.66',
+    'Storable' => '0',
+    'Task::Weaken' => '0',
+    'Time::Duration' => '1.06',
+    'Time::Duration::Parse' => '0.03',
+    'Try::Tiny' => '0.05'
+  },
+  'VERSION' => '0.52',
+  'test' => {
+    'TESTS' => 't/*.t'
+  }
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+  my $pp = $WriteMakefileArgs{PREREQ_PM};
+  for my $mod ( keys %$br ) {
+    if ( exists $pp->{$mod} ) {
+      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+    }
+    else {
+      $pp->{$mod} = $br->{$mod};
+    }
+  }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
diff --git a/altlinux/perl-CHI.spec b/altlinux/perl-CHI.spec
new file mode 100644
index 0000000..e1533dd
--- /dev/null
+++ b/altlinux/perl-CHI.spec
@@ -0,0 +1,40 @@
+Name: perl-CHI
+Version: 0.50
+Release: alt1
+Summary: CHI - Unified cache handling interface
+
+Group: Development/Perl
+License: Perl
+Url: %CPAN CHI
+
+BuildArch: noarch
+# Cloned from git://github.com/jonswar/perl-chi.git
+Source: %name-%version.tar
+# TODO: build Makefile.PL with Dist::Zilla at build time
+Patch: %name-%version-%release.patch
+BuildRequires: perl-Log-Any perl-Time-Duration perl-Data-UUID perl-Try-Tiny perl-Moose perl-JSON perl-List-MoreUtils perl-Task-Weaken perl-Hash-MoreUtils perl-Digest-JHash perl-Time-Duration perl-Time-Duration-Parse perl-Carp-Assert perl-Test-Deep perl-Test-Exception perl-TimeDate perl-Test-Warn perl-Test-Class perl-IO-Compress perl-Cache-Cache perl-Cache-FastMmap
+
+%description
+%summary
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+%perl_vendor_build
+
+%install
+%perl_vendor_install
+
+%files
+%perl_vendor_privlib/CHI*
+%exclude %perl_vendor_privlib/Pod/Weaver/Section/SeeAlsoCHI.pm
+%doc Changes
+
+%changelog
+* Mon Dec 05 2011 Vladimir Lettiev <crux@altlinux.ru> 0.50-alt1
+- New version 0.50
+
+* Fri Jul 29 2011 Vladimir Lettiev <crux@altlinux.ru> 0.49-alt1
+- initial build
diff --git a/lib/CHI/t/RequiredModules.pm b/lib/CHI/t/RequiredModules.pm
index ddd81db..c3df6b4 100644
--- a/lib/CHI/t/RequiredModules.pm
+++ b/lib/CHI/t/RequiredModules.pm
@@ -7,7 +7,7 @@ use base qw(CHI::Test::Class);
 sub required_modules { return { 'Data::Dumper' => undef, 'blarg' => undef } }
 
 sub test_blarg : Tests {
-    require Blarg;
+    eval { require Blarg; };
     Blarg->funny();
 }
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin