Package Details: perl-test-cleannamespaces 0.24-2

Git Clone URL: https://aur.archlinux.org/perl-test-cleannamespaces.git (read-only, click to copy)
Package Base: perl-test-cleannamespaces
Description: Check for uncleaned imports
Upstream URL: http://search.mcpan.org/dist/Test-CleanNamespaces
Licenses: GPL, PerlArtistic
Submitter: atweiden
Maintainer: bidulock
Last Packager: bidulock
Votes: 18
Popularity: 0.000068
First Submitted: 2014-09-26 15:25 (UTC)
Last Updated: 2021-05-25 05:12 (UTC)

Latest Comments

Manifest0 commented on 2019-06-17 20:02 (UTC)

PKGBUILD updated

@DanielDavis, thanks for the advice!

@yar, if you find another issue, let me know :-)

yar commented on 2019-06-11 19:30 (UTC)

Thank you @DanielDavis that solved my problem!

@Manifest0 please update the pkgbuild or add a comaintainer. Thanks.

DanielDavis commented on 2019-05-27 20:39 (UTC)

There is an incorrect dependency. perl-test-tester is only a module within a wider distribution. The correct dependency is 'perl-test-simple' which already exists in the community repo.

Manifest0 commented on 2018-09-09 15:14 (UTC)

@chrko, Thanks for the tip. Done! :-)

chrko commented on 2018-09-04 09:09 (UTC) (edited on 2018-09-04 09:10 (UTC) by chrko)

Thanks for updating the package!

Building in a clean chroot fails due to the lack of perl-file-pushd & perl-test-needs which yar commented on 2018/08/07. Please add checkdepends=('perl-file-pushd' 'perl-test-needs')

Manifest0 commented on 2018-08-30 22:43 (UTC) (edited on 2018-08-30 22:45 (UTC) by Manifest0)

PKGBUILD for the last version:

pkgname='perl-test-cleannamespaces'

pkgver='0.23'

pkgrel='1'

pkgdesc="Check for uncleaned imports"

arch=('any')

license=('PerlArtistic' 'GPL')

options=('!emptydirs')

depends=('perl-file-find-rule' 'perl-file-find-rule-perl' 'perl-module-runtime' 'perl-package-stash>=0.14' 'perl-role-tiny>=1.003000' 'perl-sub-exporter' 'perl-sub-identify' 'perl-test-deep' 'perl-test-requires' 'perl-test-tester' 'perl-test-warnings>=0.009' 'perl-namespace-clean' 'perl-test-needs' 'perl-file-pushd')

makedepends=()

url='http://search.mcpan.org/dist/Test-CleanNamespaces'

source=("http://search.mcpan.org/CPAN/authors/id/E/ET/ETHER/Test-CleanNamespaces-$pkgver.tar.gz")

sha512sums=('c40587c09bcd6a6ebc6801e12a3d33fcd2695b650fe02546a8a6da7d038ba5b1218d730a09f3b8942824a0506aca3edfcbcdf204906569dad5c46816b91e8a99')

_distdir="Test-CleanNamespaces-$pkgver"

build() {

( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \

  PERL_AUTOINSTALL=--skipdeps                            \

  PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \

  PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \

  MODULEBUILDRC=/dev/null

cd "$srcdir/$_distdir"

/usr/bin/perl Makefile.PL

make

)

}

check() {

cd "$srcdir/$_distdir"

( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""

make test

)

}

package() {

cd "$srcdir/$_distdir"

make install

find "$pkgdir" -name .packlist -o -name perllocal.pod -delete

}

Local Variables:
mode: shell-script
sh-basic-offset: 2
End:
vim:set ts=2 sw=2 et:

J5lx commented on 2018-08-10 17:16 (UTC)

I guess if they’re only needed for tests they should go into checkdepends.

yar commented on 2018-08-07 05:53 (UTC)

This updates cleanly to 0.23 with no complications. You should also add perl-file-pushd & perl-test-needs to makedepends so tests can succeed. Thanks!