ports/contrib (3.5): p5-namespace-clean: initial commit, version 0.27
commit 3bedfe56be7279382c71bc71b042854f8510b825 Author: Tim Biermann <tbier@posteo.de> Date: Sat Aug 31 10:40:27 2019 +0000 p5-namespace-clean: initial commit, version 0.27 diff --git a/p5-namespace-clean/.footprint b/p5-namespace-clean/.footprint new file mode 100644 index 00000000..f0e9b517 --- /dev/null +++ b/p5-namespace-clean/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/perl5/ +drwxr-xr-x root/root usr/lib/perl5/5.28/ +drwxr-xr-x root/root usr/lib/perl5/5.28/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/namespace/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/namespace/clean/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/namespace/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/namespace/clean.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/namespace/clean/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/namespace/clean/_Util.pm +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-r--r--r-- root/root usr/share/man/man3/namespace::clean.3pm.gz diff --git a/p5-namespace-clean/.signature b/p5-namespace-clean/.signature new file mode 100644 index 00000000..c25412ee --- /dev/null +++ b/p5-namespace-clean/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3zZYihRGwznTyHEhRJlutAtFb1h13Hl+8FloeqpGaRPTnhWxC4m5qflrdfzAJ9ZTG0mCHc1bKqdcXH+KIKOgFAA= +SHA256 (Pkgfile) = 9b86f5b0033cbf4833b8ab3954532f05daba421b686a148858b2e08700838983 +SHA256 (.footprint) = f2c32f409b6b89c4f14d4d05f0722ea50b1d42840575e35da7a3eb894ae5e0fa +SHA256 (namespace-clean-0.27.tar.gz) = 8a10a83c3e183dc78f9e7b7aa4d09b47c11fb4e7d3a33b9a12912fd22e31af9d diff --git a/p5-namespace-clean/Pkgfile b/p5-namespace-clean/Pkgfile new file mode 100644 index 00000000..d313b813 --- /dev/null +++ b/p5-namespace-clean/Pkgfile @@ -0,0 +1,26 @@ +# Description: Keep imports and functions out of your namespace +# URL: https://cpan.metacpan.org/dist/namespace-clean +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: p5-b-hooks-endofscope p5-package-stash + +name=p5-namespace-clean +version=0.27 +release=1 +source=(https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/namespace-clean-$version...) + +build() { + cd namespace-clean-$version + export \ + PERL_MM_USE_DEFAULT=1 \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$PKG"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$PKG"'" \ + MODULEBUILDRC=/dev/null + perl Makefile.PL + make + make install + find $PKG -name .packlist -o \ + -name perllocal.pod -o \ + -name README -o \ + -name '*.bs' | xargs rm +}
participants (1)
-
crux@crux.nu