pkgsrc/devel/p5-Perl-MinimumVersion/Makefile

32 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2015/06/12 10:49:38 wiz Exp $
#
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
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
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}
Updating devel/p5-Perl-MinimumVersion from 1.20 to 1.24 pkgsrc changes: - Adjust dependencies Upstream changes: 1.24 Fri 22 Jan 2010 - The previous changes seem to work well in practice now, switching to prod release. (ADAMK) 1.23_03 Fri 22 Jan 2010 - The --blame output now prints actually shows which file (ADAMK) 1.23_02 Fri 22 Jan 2010 - The --blame option now works in the perlver script (ADAMK) 1.23_01 Thu 14 Jan 2010 - Reworked the internals to capture the version, rule and PPI element responsible for each limitation as P:MV:Reason (ADAMK) - Added first experimental version of the new _reason API (ADAMK) - Adding 5.8 dependency for "use Carp version ()" (ADAMK) - module Errno requires perl 5.5 (Alexandr Ciornii) - PPI is no longer compatible with perl 5.5, so P::MV can also depend on 5.6 (Alexandr Ciornii) - Bumping File::Find::Rule dependency to 0.32 because we break with 0.31 (ADAMK) 1.22 Wed 25 Nov 2009 - Negative length in 'splice' requires perl 5.5 (Alexandr Ciornii) - 'mkdir' with one argument requires perl 5.6 (Alexandr Ciornii) - 'substr' will not be checked if it is a method name (Alexandr Ciornii) - better tests and fix for 3-arg 'open' (Alexandr Ciornii) 1.21 Tue 24 Nov 2009 - Add 'bytes' to 5.6 pragma (Alexandr Ciornii) - Add support for "version numbers" like "v1.1.1" (Alexandr Ciornii) - Reimplement _three_argument_open, more tests (Alexandr Ciornii) Now check for 3-arg open is working. - Check 4-arg substr that requires perl 5.5 (Alexandr Ciornii) - Postfix foreach requires perl 5.004.05 (Alexandr Ciornii) - Scalar::Util::weaken requires perl 5.006 (Alexandr Ciornii) - P::MV itself found incompatibility in 02_main.t with 5.5 (Alexandr Ciornii)
2010-01-25 14:45:40 +01:00
DEPENDS+= p5-File-Find-Rule>=0.32:../../devel/p5-File-Find-Rule
DEPENDS+= p5-File-Find-Rule-Perl>=1.04:../../devel/p5-File-Find-Rule-Perl
DEPENDS+= {perl>=5.10.0,p5-Scalar-List-Utils>=1.18}:../../devel/p5-Scalar-List-Utils
DEPENDS+= p5-PPI>=1.215:../../devel/p5-PPI
DEPENDS+= p5-Params-Util>=0.25:../../devel/p5-Params-Util
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
DEPENDS+= {perl>=5.10.1,p5-version>=0.76}:../../devel/p5-version
BUILD_DEPENDS+= p5-Test-Script>=1.03:../../devel/p5-Test-Script
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Perl/MinimumVersion/.packlist
Updating devel/p5-Perl-MinimumVersion from 1.20 to 1.24 pkgsrc changes: - Adjust dependencies Upstream changes: 1.24 Fri 22 Jan 2010 - The previous changes seem to work well in practice now, switching to prod release. (ADAMK) 1.23_03 Fri 22 Jan 2010 - The --blame output now prints actually shows which file (ADAMK) 1.23_02 Fri 22 Jan 2010 - The --blame option now works in the perlver script (ADAMK) 1.23_01 Thu 14 Jan 2010 - Reworked the internals to capture the version, rule and PPI element responsible for each limitation as P:MV:Reason (ADAMK) - Added first experimental version of the new _reason API (ADAMK) - Adding 5.8 dependency for "use Carp version ()" (ADAMK) - module Errno requires perl 5.5 (Alexandr Ciornii) - PPI is no longer compatible with perl 5.5, so P::MV can also depend on 5.6 (Alexandr Ciornii) - Bumping File::Find::Rule dependency to 0.32 because we break with 0.31 (ADAMK) 1.22 Wed 25 Nov 2009 - Negative length in 'splice' requires perl 5.5 (Alexandr Ciornii) - 'mkdir' with one argument requires perl 5.6 (Alexandr Ciornii) - 'substr' will not be checked if it is a method name (Alexandr Ciornii) - better tests and fix for 3-arg 'open' (Alexandr Ciornii) 1.21 Tue 24 Nov 2009 - Add 'bytes' to 5.6 pragma (Alexandr Ciornii) - Add support for "version numbers" like "v1.1.1" (Alexandr Ciornii) - Reimplement _three_argument_open, more tests (Alexandr Ciornii) Now check for 3-arg open is working. - Check 4-arg substr that requires perl 5.5 (Alexandr Ciornii) - Postfix foreach requires perl 5.004.05 (Alexandr Ciornii) - Scalar::Util::weaken requires perl 5.006 (Alexandr Ciornii) - P::MV itself found incompatibility in 02_main.t with 5.5 (Alexandr Ciornii)
2010-01-25 14:45:40 +01:00
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"