summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2015-08-14 11:37:13 +0300
committerAnton Leontiev2015-08-14 11:37:13 +0300
commit059a601433ff3fcdc43b3e88c1d95a794eb70eb1 (patch)
tree6c1b0df904b828f34ffaf2b901edfefc1f0f77e5
parente84c80f87c284fad75177a838e43826a5ebb71c1 (diff)
downloadaur-059a601433ff3fcdc43b3e88c1d95a794eb70eb1.tar.gz
Updated to v1.0037
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD42
-rw-r--r--PKGBUILD.tt15
3 files changed, 37 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 833b418501b..90976f98812 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = perl-plack
pkgdesc = Perl Superglue for Web frameworks and Web Servers
- pkgver = 1.0034
+ pkgver = 1.0037
pkgrel = 1
- url = http://search.cpan.org/dist/Plack
+ url = https://metacpan.org/release/Plack
arch = any
license = PerlArtistic
license = GPL
@@ -22,20 +22,22 @@ pkgbase = perl-plack
makedepends = perl-file-sharedir-install>=0.06
depends = perl>=5.10.1
depends = perl-apache-logformat-compiler>=0.12
+ depends = perl-cookie-baker>=0.05
depends = perl-devel-stacktrace>=1.23
depends = perl-devel-stacktrace-ashtml>=0.11
depends = perl-file-sharedir>=1.00
depends = perl-filesys-notify-simple
depends = perl-http-body>=1.06
depends = perl-http-message>=5.814
+ depends = perl-http-headers-fast>=0.18
depends = perl-http-tiny>=0.034
depends = perl-hash-multivalue>=0.05
depends = perl-stream-buffered>=0.02
depends = perl-try-tiny
depends = perl-uri>=1.59
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0034.tar.gz
- md5sums = 519364cae9df1f2845fd803d75dc8b3c
+ source = http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0037.tar.gz
+ md5sums = bb6e8a7520524f2c40d0c322c90562ba
pkgname = perl-plack
diff --git a/PKGBUILD b/PKGBUILD
index 536942f8765..b485c31938d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,35 @@
# CPAN Name : Plack
# Contributor: Christian Sturm <reezer@reezer.org>
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
-# Generator : CPANPLUS::Dist::Arch 1.29
+# Generator : CPANPLUS::Dist::Arch 1.30
pkgname=perl-plack
-pkgver=1.0034
+pkgver=1.0037
pkgrel=1
pkgdesc='Perl Superglue for Web frameworks and Web Servers'
arch=('any')
-url='http://search.cpan.org/dist/Plack'
+url='https://metacpan.org/release/Plack'
license=('PerlArtistic' 'GPL')
depends=(
'perl>=5.10.1' # for Pod::Usage >= 1.36
'perl-apache-logformat-compiler>=0.12'
+ 'perl-cookie-baker>=0.05'
'perl-devel-stacktrace>=1.23'
'perl-devel-stacktrace-ashtml>=0.11'
'perl-file-sharedir>=1.00'
'perl-filesys-notify-simple'
'perl-http-body>=1.06'
'perl-http-message>=5.814'
+ 'perl-http-headers-fast>=0.18'
'perl-http-tiny>=0.034'
'perl-hash-multivalue>=0.05'
'perl-stream-buffered>=0.02'
'perl-try-tiny'
- 'perl-uri>=1.59'
-)
+ 'perl-uri>=1.59')
makedepends=(
'perl-extutils-makemaker>=6.30'
- 'perl-file-sharedir-install>=0.06'
-)
+ 'perl-file-sharedir-install>=0.06')
checkdepends=(
# 'perl-cgi-compile'
'perl-http-request-ascgi'
@@ -43,30 +43,32 @@ checkdepends=(
'perl-lwp-protocol-http10'
'perl-module-refresh'
'perl-mime-types'
- 'perl-test-tcp>=2.00'
-)
-source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0034.tar.gz)
+ 'perl-test-tcp>=2.00')
+source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Plack-1.0037.tar.gz)
options=(!emptydirs)
-md5sums=('519364cae9df1f2845fd803d75dc8b3c')
+md5sums=('bb6e8a7520524f2c40d0c322c90562ba')
+
+sanitize() {
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" MODULEBUILDRC=/dev/null
+}
build() {
- cd Plack-1.0034
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps"
- /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+ cd Plack-1.0037
+ sanitize
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd Plack-1.0034
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1
+ cd Plack-1.0037
+ sanitize
make test
}
package() {
- cd Plack-1.0034
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ cd Plack-1.0037
+ sanitize
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
diff --git a/PKGBUILD.tt b/PKGBUILD.tt
index d75207bad90..97f62f2bac7 100644
--- a/PKGBUILD.tt
+++ b/PKGBUILD.tt
@@ -48,24 +48,27 @@ source=([% source %])
options=(!emptydirs)
md5sums=('[% md5sums %]')
+sanitize() {
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" MODULEBUILDRC=/dev/null
+}
+
build() {
cd [% distdir %]
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps"
- /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+ sanitize
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd [% distdir %]
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1
+ sanitize
make test
}
package() {
cd [% distdir %]
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ sanitize
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}