pkgsrc/devel/p5-Module-CPANTS-Analyse/Makefile

52 lines
2.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2019/02/09 08:26:09 wen Exp $
DISTNAME= Module-CPANTS-Analyse-1.00
Update from 0.90_02 to 0.96 (PKGVERSION is 0.90.02 to 0.96) --------------------------- 0.96 2014-11-24 - Added an import option to load extra Kwalitee plugins. - Fixed RT#100512 - has_readme now accepts README.pod as well - Improved no_abstract_stub_in_pod to detect "The great new" as a boilerplate - Switched to File::Find::Object 0.95 2014-09-26 - Switched to Test::FailWarnings to make CPAN testers happier 0.94 2014-09-26 - Fixed RT#99141 - use_strict metric does not recognize `use v5.14` syntax (ishigaki) 0.93_04 2014-09-05 - Accept COPYING as a license file - Take included module (under inc/) into consideration while analyzing prereq_matches_use - Changed most of the META.yml metrics to pass if META.yml doesn't exist 0.93_03 2014-08-13 - Added meta_json_is_parsable and meta_json_conforms_to_known_spec - Added meta_yml_has_repository_resource - Renamed metayml_ metrics to meta_yml_ - Fixed abstract encoding issues - Refactored tests - Fixed not to ignore directory symlinks - Fixed RT#97858 - wrong no_symlinks test in files not in MANIFEST (for a local distribution; CPANTS site doesn't ignore symlinks not listed in MANIFEST) - Fixed RT#97601 - Test::Kwalitee incorrectly reports non-use of strict in Inline::CPP 0.93_02 2014-06-30 - Removed cpants_lint.pl in favor of App::CPANTS::Lint - Fixed RT#94468 - "use_strict" metric doesn't like .pod files that contain no perl (ishigaki) - Fixed RT#96492 - 0.93_01 test failures on OSX (ether) 0.93_01 2014-05-27 - Added the following metrics: - has_known_license_in_source_file - has_abstract_in_pod - no_abstract_stub_in_pod - Removed metayml_conforms_spec_current metric. - Supported x_cpants custom META field to tell analyzer to ignore some of the metrics (only) when calculating a kwalitee score. - Refactored several Kwalitee files, and internal stash layout has changed rather significantly. You might need to modify your tools if they happen to depend on the stash directly. 0.92 2013-09-22 - Fixed a case when more than one license sections come in row (spotted by ysasaki++) (ishigaki) - stopped checking auto_features (ishigaki) 0.91 2013-09-05 - Fixed RT#69233 - doesn't detect use >= 5.012 as use strict (ishigaki) - Fixed RT#83336 - Fails to detect strict via `use MooseX::Types` (ether) - Fixed RT#83851 - 'use v5.16' and greater not deemed "strict" (ishigaki) - Fixed RT#86504 - fix sort order of Kwalitee generators (ether) - Fixed RT#87155 - more Module::Install tests needed (1.04 is broken) (ishigaki) - Fixed RT#87597 - proper_libs is a dubious test (ishigaki) - Fixed RT#87598 - Can't use an undefined value as an ARRAY reference at .../FindModules.pm line 115. (ishigaki) - Fixed RT#87988 - Fix use of $Test::Kwalitee::VERSION (ether) - Fixed RT#88216 - extracts_nicely metric fails for -TRIAL releases (ishigaki) - Fixed RT#88365 - YAML/JSON tests are not failing when improperly encoded characters are seen (ishigaki) - Moose::Exporter also provides strict and warnings (doy)
2015-02-12 07:43:56 +01:00
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Module-CPANTS-Analyse/
COMMENT= Perl5 module to generate Kwalitee ratings for a distribution
LICENSE= ${PERL5_LICENSE}
Update to 0.90.02 Update DEPENDS Upstream changes: 0.90_02 2013-08-03 Fixed rt#87535 - incorrect version specification in 0.90_01 (ether) Fixed rt#87534 - Test failure in 0.90_01 (ether) Fixed rt#87561 - t/11_hash_random.t fails due to undeclared test dependency (wyant) 0.90_01 2013-08-01 Applied all the changes in 0.88 again, and removed a few non-portable metrics for Test::Kwalitee. 0.89 2013-08-01 Tentatively reverted all the changes in 0.88 0.88 2013-08-01 add metric no_dot_underscore_files (daxim, charsbar) remove metrics distributed_by_debian, latest_version_distributed_by_debian, has_no_bugs_reported_in_debian, has_no_patches_in_debian, no_cpants_errors, uses_test_nowarnings, has_test_pod, has_test_pod_coverage, has_examples (charsbar) add metric portable_filenames (charsbar) numerous fixes for a smoother operation of www-cpants (charsbar) 0.87 2013-02-12 fix rt#80225 - Test failures due to Test::CPAN::Meta::YAML::Version interface change (wyant) fix rt#82939 - Hash-Randomization causes 10_analyse.t to fail (kentnl, chorny) fix rt#44796 - Module::CPANTS::Kwalitee::Manifest broken for MANIFESTs containing files with spaces (rivy) 0.86 2012-04-11 add several strict and warnings equivalents & make it easy to add more fix when Moose is used and strict is not used add info about MIN_PERL_VERSION better remedy for metayml_declares_perl_version metayml_declares_perl_version moved from experimental to extra some pod improvements (jquelin) fix rt#65903 - no more Test::YAML::Meta::Version on CPAN (jquelin) replace YAML::Syck with YAML::Any (jquelin) no_symlinks checks only files in MANIFEST, use "maniread" in ExtUtils::Manifest (rurban) add more equivalents for use_strict and use_warnings tests (doherty) implement valid_signature metric (daxim)
2013-08-25 09:50:37 +02:00
DEPENDS+= p5-Archive-Any-Lite>=0.06:../../archivers/p5-Archive-Any-Lite
#DEPENDS+= {perl>=5.10,p5-Archive-Tar>=1.30}:../../archivers/p5-Archive-Tar
DEPENDS+= p5-Array-Diff>=0.04:../../devel/p5-Array-Diff
DEPENDS+= p5-CPAN-DistnameInfo>=0.06:../../devel/p5-CPAN-DistnameInfo
#DEPENDS+= {perl>=5.19.1,p5-CPAN-Meta>=2.131490}:../../devel/p5-CPAN-Meta
DEPENDS+= p5-Class-Accessor>=0.19:../../devel/p5-Class-Accessor
Update to 0.99 Add missing DEPENDS Upstream changes: 0.99 2019-01-15 - requires Module::Find 0.98 2019-01-15 ** BACKWARD INCOMPATIBLE (INTERNAL) CHANGE ** - Module::CPANTS::Kwalitee now uses Module::Find to find Kwalitee modules (instead of Module::Pluggable that unconditonally spits a deprecation warning). You usually don't need to care but if you have your custom Kwalitee plugin loader (such as Module::CPANTS::SiteKwalitee), you need to change it. Sorry for the inconvenience. - Allow dash and dot in script name in the NAME section for non-pm, non-pod files 0.97_11 2018-04-22 - no changes; for testing 0.97_10 2018-04-22 - no changes; for testing 0.97_09 2018-04-22 - no changes; for testing 0.97_08 2018-04-22 - no changes; for testing 0.97_07 2018-04-22 - no changes; for testing 0.97_06 2018-04-22 - no changes; for testing 0.97_05 2018-04-22 - no changes; for testing 0.97_04 2018-04-21 - Skip everything in MANIFEST.SKIP while testing symlinks (GH#33, Tux++) 0.97_03 2016-09-01 - Not to check use_strict/use_warnings for Perl 6 modules in a Perl 5 distribution (Stefan Seifert++) - Worked around a File::Find::Object issue (reported by dolmen) - Fixed dynamic_config handling (David Golden++) - Improved LICENSE file detection (RT#114247) 0.97_02 2016-04-27 - Requires List::Util 1.33 0.97_01 2016-04-24 - Added has_meta_json metric (RT#107885) - Accept a few more README extensions (mrcaron) - Accept two more Moose modules as strict equivalents - Various micro optimization for performance - Dropped a few dependencies - Doc patch from brac-mac and joenio
2019-01-26 09:19:53 +01:00
DEPENDS+= p5-Data-Binary>=0:../../devel/p5-Data-Binary
2015-02-13 22:39:09 +01:00
DEPENDS+= p5-ExtUtils-MakeMaker-CPANfile-[0-9]*:../../devel/p5-ExtUtils-MakeMaker-CPANfile
Update to 0.90.02 Update DEPENDS Upstream changes: 0.90_02 2013-08-03 Fixed rt#87535 - incorrect version specification in 0.90_01 (ether) Fixed rt#87534 - Test failure in 0.90_01 (ether) Fixed rt#87561 - t/11_hash_random.t fails due to undeclared test dependency (wyant) 0.90_01 2013-08-01 Applied all the changes in 0.88 again, and removed a few non-portable metrics for Test::Kwalitee. 0.89 2013-08-01 Tentatively reverted all the changes in 0.88 0.88 2013-08-01 add metric no_dot_underscore_files (daxim, charsbar) remove metrics distributed_by_debian, latest_version_distributed_by_debian, has_no_bugs_reported_in_debian, has_no_patches_in_debian, no_cpants_errors, uses_test_nowarnings, has_test_pod, has_test_pod_coverage, has_examples (charsbar) add metric portable_filenames (charsbar) numerous fixes for a smoother operation of www-cpants (charsbar) 0.87 2013-02-12 fix rt#80225 - Test failures due to Test::CPAN::Meta::YAML::Version interface change (wyant) fix rt#82939 - Hash-Randomization causes 10_analyse.t to fail (kentnl, chorny) fix rt#44796 - Module::CPANTS::Kwalitee::Manifest broken for MANIFESTs containing files with spaces (rivy) 0.86 2012-04-11 add several strict and warnings equivalents & make it easy to add more fix when Moose is used and strict is not used add info about MIN_PERL_VERSION better remedy for metayml_declares_perl_version metayml_declares_perl_version moved from experimental to extra some pod improvements (jquelin) fix rt#65903 - no more Test::YAML::Meta::Version on CPAN (jquelin) replace YAML::Syck with YAML::Any (jquelin) no_symlinks checks only files in MANIFEST, use "maniread" in ExtUtils::Manifest (rurban) add more equivalents for use_strict and use_warnings tests (doherty) implement valid_signature metric (daxim)
2013-08-25 09:50:37 +02:00
DEPENDS+= p5-File-Find-Rule-VCS>=0:../../devel/p5-File-Find-Rule-VCS
DEPENDS+= p5-IO-Capture>=0.05:../../devel/p5-IO-Capture
DEPENDS+= p5-List-MoreUtils>=0:../../devel/p5-List-MoreUtils
Update to 0.90.02 Update DEPENDS Upstream changes: 0.90_02 2013-08-03 Fixed rt#87535 - incorrect version specification in 0.90_01 (ether) Fixed rt#87534 - Test failure in 0.90_01 (ether) Fixed rt#87561 - t/11_hash_random.t fails due to undeclared test dependency (wyant) 0.90_01 2013-08-01 Applied all the changes in 0.88 again, and removed a few non-portable metrics for Test::Kwalitee. 0.89 2013-08-01 Tentatively reverted all the changes in 0.88 0.88 2013-08-01 add metric no_dot_underscore_files (daxim, charsbar) remove metrics distributed_by_debian, latest_version_distributed_by_debian, has_no_bugs_reported_in_debian, has_no_patches_in_debian, no_cpants_errors, uses_test_nowarnings, has_test_pod, has_test_pod_coverage, has_examples (charsbar) add metric portable_filenames (charsbar) numerous fixes for a smoother operation of www-cpants (charsbar) 0.87 2013-02-12 fix rt#80225 - Test failures due to Test::CPAN::Meta::YAML::Version interface change (wyant) fix rt#82939 - Hash-Randomization causes 10_analyse.t to fail (kentnl, chorny) fix rt#44796 - Module::CPANTS::Kwalitee::Manifest broken for MANIFESTs containing files with spaces (rivy) 0.86 2012-04-11 add several strict and warnings equivalents & make it easy to add more fix when Moose is used and strict is not used add info about MIN_PERL_VERSION better remedy for metayml_declares_perl_version metayml_declares_perl_version moved from experimental to extra some pod improvements (jquelin) fix rt#65903 - no more Test::YAML::Meta::Version on CPAN (jquelin) replace YAML::Syck with YAML::Any (jquelin) no_symlinks checks only files in MANIFEST, use "maniread" in ExtUtils::Manifest (rurban) add more equivalents for use_strict and use_warnings tests (doherty) implement valid_signature metric (daxim)
2013-08-25 09:50:37 +02:00
DEPENDS+= p5-Module-ExtractUse>=0.30:../../devel/p5-Module-ExtractUse
Update to 0.99 Add missing DEPENDS Upstream changes: 0.99 2019-01-15 - requires Module::Find 0.98 2019-01-15 ** BACKWARD INCOMPATIBLE (INTERNAL) CHANGE ** - Module::CPANTS::Kwalitee now uses Module::Find to find Kwalitee modules (instead of Module::Pluggable that unconditonally spits a deprecation warning). You usually don't need to care but if you have your custom Kwalitee plugin loader (such as Module::CPANTS::SiteKwalitee), you need to change it. Sorry for the inconvenience. - Allow dash and dot in script name in the NAME section for non-pm, non-pod files 0.97_11 2018-04-22 - no changes; for testing 0.97_10 2018-04-22 - no changes; for testing 0.97_09 2018-04-22 - no changes; for testing 0.97_08 2018-04-22 - no changes; for testing 0.97_07 2018-04-22 - no changes; for testing 0.97_06 2018-04-22 - no changes; for testing 0.97_05 2018-04-22 - no changes; for testing 0.97_04 2018-04-21 - Skip everything in MANIFEST.SKIP while testing symlinks (GH#33, Tux++) 0.97_03 2016-09-01 - Not to check use_strict/use_warnings for Perl 6 modules in a Perl 5 distribution (Stefan Seifert++) - Worked around a File::Find::Object issue (reported by dolmen) - Fixed dynamic_config handling (David Golden++) - Improved LICENSE file detection (RT#114247) 0.97_02 2016-04-27 - Requires List::Util 1.33 0.97_01 2016-04-24 - Added has_meta_json metric (RT#107885) - Accept a few more README extensions (mrcaron) - Accept two more Moose modules as strict equivalents - Various micro optimization for performance - Dropped a few dependencies - Doc patch from brac-mac and joenio
2019-01-26 09:19:53 +01:00
DEPENDS+= p5-Module-Find>=0:../../devel/p5-Module-Find
DEPENDS+= p5-Module-Pluggable>=2.96:../../devel/p5-Module-Pluggable
DEPENDS+= p5-Perl-PrereqScanner-NotQuiteLite>=0.9901:../../devel/p5-Perl-PrereqScanner-NotQuiteLite
#DEPENDS+= {perl>=5.10,p5-Pod-Simple>=2.02}:../../textproc/p5-Pod-Simple
DEPENDS+= p5-Readonly>=0:../../devel/p5-Readonly
Update to 0.90.02 Update DEPENDS Upstream changes: 0.90_02 2013-08-03 Fixed rt#87535 - incorrect version specification in 0.90_01 (ether) Fixed rt#87534 - Test failure in 0.90_01 (ether) Fixed rt#87561 - t/11_hash_random.t fails due to undeclared test dependency (wyant) 0.90_01 2013-08-01 Applied all the changes in 0.88 again, and removed a few non-portable metrics for Test::Kwalitee. 0.89 2013-08-01 Tentatively reverted all the changes in 0.88 0.88 2013-08-01 add metric no_dot_underscore_files (daxim, charsbar) remove metrics distributed_by_debian, latest_version_distributed_by_debian, has_no_bugs_reported_in_debian, has_no_patches_in_debian, no_cpants_errors, uses_test_nowarnings, has_test_pod, has_test_pod_coverage, has_examples (charsbar) add metric portable_filenames (charsbar) numerous fixes for a smoother operation of www-cpants (charsbar) 0.87 2013-02-12 fix rt#80225 - Test failures due to Test::CPAN::Meta::YAML::Version interface change (wyant) fix rt#82939 - Hash-Randomization causes 10_analyse.t to fail (kentnl, chorny) fix rt#44796 - Module::CPANTS::Kwalitee::Manifest broken for MANIFESTs containing files with spaces (rivy) 0.86 2012-04-11 add several strict and warnings equivalents & make it easy to add more fix when Moose is used and strict is not used add info about MIN_PERL_VERSION better remedy for metayml_declares_perl_version metayml_declares_perl_version moved from experimental to extra some pod improvements (jquelin) fix rt#65903 - no more Test::YAML::Meta::Version on CPAN (jquelin) replace YAML::Syck with YAML::Any (jquelin) no_symlinks checks only files in MANIFEST, use "maniread" in ExtUtils::Manifest (rurban) add more equivalents for use_strict and use_warnings tests (doherty) implement valid_signature metric (daxim)
2013-08-25 09:50:37 +02:00
DEPENDS+= p5-Set-Scalar>=0:../../devel/p5-Set-Scalar
DEPENDS+= p5-Software-License>=0.003:../../devel/p5-Software-License
DEPENDS+= p5-Test-YAML-Meta>=0.11:../../devel/p5-Test-YAML-Meta
DEPENDS+= p5-YAML-Syck>=0.95:../../textproc/p5-YAML-Syck
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
#DEPENDS+= {perl>=5.10,p5-version>=0.73}:../../devel/p5-version
BUILD_DEPENDS+= p5-Test-Deep-[0-9]*:../../devel/p5-Test-Deep
BUILD_DEPENDS+= p5-Test-NoWarnings-[0-9]*:../../devel/p5-Test-NoWarnings
BUILD_DEPENDS+= p5-Test-Warn>=0.11:../../devel/p5-Test-Warn
BUILD_DEPENDS+= p5-Test-FailWarnings-[0-9]*:../../devel/p5-Test-FailWarnings
BUILD_DEPENDS+= p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
BUILD_DEPENDS+= p5-File-Find-Object-[0-9]*:../../devel/p5-File-Find-Object
BUILD_DEPENDS+= p5-Class-XSAccessor-[0-9]*:../../devel/p5-Class-XSAccessor
BUILD_DEPENDS+= p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Module/CPANTS/Analyse/.packlist
Update from 0.90_02 to 0.96 (PKGVERSION is 0.90.02 to 0.96) --------------------------- 0.96 2014-11-24 - Added an import option to load extra Kwalitee plugins. - Fixed RT#100512 - has_readme now accepts README.pod as well - Improved no_abstract_stub_in_pod to detect "The great new" as a boilerplate - Switched to File::Find::Object 0.95 2014-09-26 - Switched to Test::FailWarnings to make CPAN testers happier 0.94 2014-09-26 - Fixed RT#99141 - use_strict metric does not recognize `use v5.14` syntax (ishigaki) 0.93_04 2014-09-05 - Accept COPYING as a license file - Take included module (under inc/) into consideration while analyzing prereq_matches_use - Changed most of the META.yml metrics to pass if META.yml doesn't exist 0.93_03 2014-08-13 - Added meta_json_is_parsable and meta_json_conforms_to_known_spec - Added meta_yml_has_repository_resource - Renamed metayml_ metrics to meta_yml_ - Fixed abstract encoding issues - Refactored tests - Fixed not to ignore directory symlinks - Fixed RT#97858 - wrong no_symlinks test in files not in MANIFEST (for a local distribution; CPANTS site doesn't ignore symlinks not listed in MANIFEST) - Fixed RT#97601 - Test::Kwalitee incorrectly reports non-use of strict in Inline::CPP 0.93_02 2014-06-30 - Removed cpants_lint.pl in favor of App::CPANTS::Lint - Fixed RT#94468 - "use_strict" metric doesn't like .pod files that contain no perl (ishigaki) - Fixed RT#96492 - 0.93_01 test failures on OSX (ether) 0.93_01 2014-05-27 - Added the following metrics: - has_known_license_in_source_file - has_abstract_in_pod - no_abstract_stub_in_pod - Removed metayml_conforms_spec_current metric. - Supported x_cpants custom META field to tell analyzer to ignore some of the metrics (only) when calculating a kwalitee score. - Refactored several Kwalitee files, and internal stash layout has changed rather significantly. You might need to modify your tools if they happen to depend on the stash directly. 0.92 2013-09-22 - Fixed a case when more than one license sections come in row (spotted by ysasaki++) (ishigaki) - stopped checking auto_features (ishigaki) 0.91 2013-09-05 - Fixed RT#69233 - doesn't detect use >= 5.012 as use strict (ishigaki) - Fixed RT#83336 - Fails to detect strict via `use MooseX::Types` (ether) - Fixed RT#83851 - 'use v5.16' and greater not deemed "strict" (ishigaki) - Fixed RT#86504 - fix sort order of Kwalitee generators (ether) - Fixed RT#87155 - more Module::Install tests needed (1.04 is broken) (ishigaki) - Fixed RT#87597 - proper_libs is a dubious test (ishigaki) - Fixed RT#87598 - Can't use an undefined value as an ARRAY reference at .../FindModules.pm line 115. (ishigaki) - Fixed RT#87988 - Fix use of $Test::Kwalitee::VERSION (ether) - Fixed RT#88216 - extracts_nicely metric fails for -TRIAL releases (ishigaki) - Fixed RT#88365 - YAML/JSON tests are not failing when improperly encoded characters are seen (ishigaki) - Moose::Exporter also provides strict and warnings (doy)
2015-02-12 07:43:56 +01:00
#ERL5_MODULE_TYPE= Module::Build
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"