2018-08-22 11:43:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2018/08/22 09:44:31 wiz Exp $
|
2009-10-18 13:10:24 +02:00
|
|
|
#
|
|
|
|
|
Update to 1.38
Update DEPENDS
Upstream changes:
1.38 2014-08-22
- The doc for Perl::MinimumVersion now mentions perlver in both
the DESCRIPTION and SEE ALSO sections. RT#98262 from pagenyon++.
- Added mention of Perl::MinimumVersion::Fast to SEE ALSO.
1.37 2014-05-11
- Removed the check for "stacked labels" that I added in 1.36, as it appears
that I misinterpreted what the 5.14 change was, and broke at least one dist.
Commented out the check in MinimumVersion.pm, and the specific subtests.
Apologies to HMBRAND and all others affected
- The way I was comparing versions in one of the new tests in 1.36 wasn't portable
across old versions of Perl. Thanks to Paul Howarth for RT#95528.
1.36 2014-05-09
- CHECK block requires 5.6.2
- UNITCHECK block requires 5.10.0
- Stacked labels on the same statement requires 5.14.0
1.35 2014-05-02
- 'state' requires perl 5.10.0, even if you don't also see
"use feature 'state'", because you can also write "use 5.010" to
enable 'state'. RT#67626
- Dropped the rule that said "use base 'Exporter'" should make a
dependency on Perl 5.008+ RT#89173
- Improved the fix for RT#95023. Thanks again to Paul Howarth.
1.34 2014-04-24
- The perlver script wasn't getting installed, because it's in
a script/ directory. RT#95023, fix from ETHER.
- t/02_main.t was failing on older versions of perl, because
a min version is getting reported as '5.01301' on Perl 5.010 and later,
but as '5.013010' on earlier Perls. RT#95023. I need to understand this
better, but want to get a passing release out.
1.33 2014-04-24
- Internals::SvREADONLY requires perl 5.8.0
- handle features upto lexical_subs, which requires 5.18.0
state, switch, unicode_strings, unicode_eval, evalbytes,
current_sub, array_base, fc, lexical_subs
- deprecate.pm requires perl 5.12 (Alexandr Ciornii)
- require new version of PPIx::Regexp
- detect while(readdir $dh) (Alexandr Ciornii)
- Switched to Dist::Zilla
- Added required versions of modules when use'ing them
- Reformatted Changes as per CPAN::Changes::Spec
2015-02-06 10:56:59 +01:00
|
|
|
DISTNAME= Perl-MinimumVersion-1.38
|
2009-10-18 13:10:24 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2018-08-22 11:43:40 +02:00
|
|
|
PKGREVISION= 4
|
2009-10-18 13:10:24 +02:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Perl/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://search.cpan.org/dist/Perl-MinimumVersion/
|
|
|
|
COMMENT= Find a minimum required version of perl for Perl code
|
|
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
|
2010-01-25 14:45:40 +01:00
|
|
|
DEPENDS+= p5-File-Find-Rule>=0.32:../../devel/p5-File-Find-Rule
|
2009-10-18 13:10:24 +02:00
|
|
|
DEPENDS+= p5-File-Find-Rule-Perl>=1.04:../../devel/p5-File-Find-Rule-Perl
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.10.0,p5-Scalar-List-Utils>=1.18}:../../devel/p5-Scalar-List-Utils
|
2013-10-31 04:22:47 +01:00
|
|
|
DEPENDS+= p5-PPI>=1.215:../../devel/p5-PPI
|
2009-10-18 13:10:24 +02:00
|
|
|
DEPENDS+= p5-Params-Util>=0.25:../../devel/p5-Params-Util
|
2010-07-31 14:47:47 +02:00
|
|
|
DEPENDS+= p5-Perl-Critic>=1.104:../../devel/p5-Perl-Critic
|
Update to 1.38
Update DEPENDS
Upstream changes:
1.38 2014-08-22
- The doc for Perl::MinimumVersion now mentions perlver in both
the DESCRIPTION and SEE ALSO sections. RT#98262 from pagenyon++.
- Added mention of Perl::MinimumVersion::Fast to SEE ALSO.
1.37 2014-05-11
- Removed the check for "stacked labels" that I added in 1.36, as it appears
that I misinterpreted what the 5.14 change was, and broke at least one dist.
Commented out the check in MinimumVersion.pm, and the specific subtests.
Apologies to HMBRAND and all others affected
- The way I was comparing versions in one of the new tests in 1.36 wasn't portable
across old versions of Perl. Thanks to Paul Howarth for RT#95528.
1.36 2014-05-09
- CHECK block requires 5.6.2
- UNITCHECK block requires 5.10.0
- Stacked labels on the same statement requires 5.14.0
1.35 2014-05-02
- 'state' requires perl 5.10.0, even if you don't also see
"use feature 'state'", because you can also write "use 5.010" to
enable 'state'. RT#67626
- Dropped the rule that said "use base 'Exporter'" should make a
dependency on Perl 5.008+ RT#89173
- Improved the fix for RT#95023. Thanks again to Paul Howarth.
1.34 2014-04-24
- The perlver script wasn't getting installed, because it's in
a script/ directory. RT#95023, fix from ETHER.
- t/02_main.t was failing on older versions of perl, because
a min version is getting reported as '5.01301' on Perl 5.010 and later,
but as '5.013010' on earlier Perls. RT#95023. I need to understand this
better, but want to get a passing release out.
1.33 2014-04-24
- Internals::SvREADONLY requires perl 5.8.0
- handle features upto lexical_subs, which requires 5.18.0
state, switch, unicode_strings, unicode_eval, evalbytes,
current_sub, array_base, fc, lexical_subs
- deprecate.pm requires perl 5.12 (Alexandr Ciornii)
- require new version of PPIx::Regexp
- detect while(readdir $dh) (Alexandr Ciornii)
- Switched to Dist::Zilla
- Added required versions of modules when use'ing them
- Reformatted Changes as per CPAN::Changes::Spec
2015-02-06 10:56:59 +01:00
|
|
|
DEPENDS+= p5-PPIx-Regexp>=0.033:../../devel/p5-PPIx-Regexp
|
2015-07-12 20:56:06 +02:00
|
|
|
#DEPENDS+= {perl>=5.10.1,p5-version>=0.76}:../../devel/p5-version
|
2009-10-18 13:10:24 +02:00
|
|
|
|
|
|
|
BUILD_DEPENDS+= p5-Test-Script>=1.03:../../devel/p5-Test-Script
|
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Perl/MinimumVersion/.packlist
|
2010-01-25 14:45:40 +01:00
|
|
|
PERL5_MODULE_TYPE= Module::Install::Bundled
|
2009-10-18 13:10:24 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|