pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Devel-NYTProf Update to 6.08



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82fc6e588d80
branches:  trunk
changeset: 451740:82fc6e588d80
user:      wen <wen%pkgsrc.org@localhost>
date:      Fri Apr 30 23:20:19 2021 +0000

description:
Update to 6.08

Upstream changes:
Changes in Devel::NYTProf 6.08 - DATE TO COME

B<There should be no observable differences in the performance of Devel-NYTProf
from that of the previous release.>  This release is maintenance-focused and
changes mainly concern improvements in test coverage, elimination of
build-time warnings and correction of small errors detected by end-users.

=head3 Substantive

Corrected 1 error in F<Makefile.PL>
(L<https://github.com/timbunce/devel-nytprof/pull/158>; thanks to Kent Fredric).

Corrected other errors in F<NYTProf.xs> and F<ppport.h> at suggestion of Reini Urban
in earlier pull request.

Two subroutines in F<Devel::NYTProf::Data> -- C<packages_at_depth_subinfo()>
and C<package_fids()> -- which were not used anywhere in the codebase or test
suite were removed and placed in F<devstuff/superseded.pm>.  One function --
C<get_str_id()> defined in F<NYTProf.xs> but never used in the codebase was
similarly removed and placed in F<devstuff/superseded.xs>.  Anyone who was
using these functions may file a pull request to have them restored to the
codebase.

In C<Devel::NYTProf::Data::strip_prefix_from_paths()>, a branch concerned with
the possibility that an argument was a hash was not exercised anywhere in the
codebase or the test suite and was simply commented out.  Anyone who was using
this functionality may file a pull request to have it restored to the
codebase.

Eliminated all build-time warnings being generated during F<make> on testing
platforms Linux, FreeBSD, OpenBSD, Windows.

=head3 Test Suite

Improved coverage provided by test suite to each of the following files:

    lib/Devel/NYTProf/Data.pm
    lib/Devel/NYTProf/FileInfo.pm
    lib/Devel/NYTProf/Reader.pm
    lib/Devel/NYTProf/SubInfo.pm
    lib/Devel/NYTProf/Util.pm

This was accomplished mainly by adding 4 new test files:

    t/11-reader.t
    t/12-data.t
    t/13-fileinfo.t
    t/14-subinfo.t

... and their corresponding data files.  In addition, there were substantial
additions to F<t/30-util.t>.

Coverage was evaluated with C<trace_level> unset and C<trace_level> 5.

=head3 Housekeeping

Updated Travis and AppVeyor configuration files.

Updated F<MANIFEST> and F<MANIFEST.SKIP> so that F<make manifest> works as intended.

Moved the following 6 test files from F<t/> to F<xt/>:

    t/68-hashline.t
    t/71-moose.t
    t/72-autodie.t
    t/90-pod.t
    t/91-pod_coverage.t
    t/92-file_port.t

Reason:  They either (a) had been previously described as insufficiently
developed and were being skipped; or (b) are of concern only to NYTProf
developers.  Hence, a failure in any of them should not preclude installation
and use of Devel::NYTProf.

Added a F<make test_short> target to F<Makefile.PL> and environmental variable
C<NYTPROF_TEST_SHORT>.  These will enable NYTProf developers to cut testing
time without significant loss in accuracy
(L<https://github.com/timbunce/devel-nytprof/pull/155>).

Corrected one date error in 6.07 release
(L<https://github.com/timbunce/devel-nytprof/issues/152>; thanks to @shawnlaffan).

Applied several commits either cherry-picked from, or initiated by Reini Urban
in an older pull request.

=head2 Changes in Devel::NYTProf 6.07 - 6th April 2021

  Focus is to enable test suite to pass with perl-5.33.3 and higher.  (Changes
    in blead required changes in expectations set in test data files.)

  Correction to MANIFEST
    thanks to mattlaw. #142

  POD improvements
    thanks to tomhukins. #129

  Makefile.PL modernizations
    thanks to karenetheridge. #126

  .gitignore corrections
    thanks to jkeenan. #146

  Adapt tests to work with 5.33 and higher
    thanks to jkeenan. #147

diffstat:

 devel/p5-Devel-NYTProf/Makefile |   6 ++----
 devel/p5-Devel-NYTProf/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 9 deletions(-)

diffs (37 lines):

diff -r 439fa9199df4 -r 82fc6e588d80 devel/p5-Devel-NYTProf/Makefile
--- a/devel/p5-Devel-NYTProf/Makefile   Fri Apr 30 20:51:06 2021 +0000
+++ b/devel/p5-Devel-NYTProf/Makefile   Fri Apr 30 23:20:19 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2020/08/31 18:07:53 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2021/04/30 23:20:19 wen Exp $
 
-DISTNAME=      Devel-NYTProf-6.06
+DISTNAME=      Devel-NYTProf-6.08
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   3
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Devel/}
 
@@ -11,7 +10,6 @@
 COMMENT=       Powerful feature-rich Perl 5 source code profiler
 LICENSE=       ${PERL5_LICENSE}
 
-#BUILD_DEPENDS+=       {perl>=5.10.1,p5-Test-Simple>=0.84}:../../devel/p5-Test-Simple
 DEPENDS+=              p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS
 DEPENDS+=              p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS
 BUILD_DEPENDS+=                p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences
diff -r 439fa9199df4 -r 82fc6e588d80 devel/p5-Devel-NYTProf/distinfo
--- a/devel/p5-Devel-NYTProf/distinfo   Fri Apr 30 20:51:06 2021 +0000
+++ b/devel/p5-Devel-NYTProf/distinfo   Fri Apr 30 23:20:19 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2018/06/09 02:18:14 wen Exp $
+$NetBSD: distinfo,v 1.22 2021/04/30 23:20:19 wen Exp $
 
-SHA1 (Devel-NYTProf-6.06.tar.gz) = b1f3fbe3b784dcc0081a485c318931a86ff48cc4
-RMD160 (Devel-NYTProf-6.06.tar.gz) = cc3e2193f263de9a43c612688649fb1e83a14219
-SHA512 (Devel-NYTProf-6.06.tar.gz) = e1fdab3208646ff9283eb606b856f0c25025479b55eddecadfdb7f9b2a9db144c003713b8abf333d03fb8ba420b7f3fbc885de360cd815d72e73ae3bffc27426
-Size (Devel-NYTProf-6.06.tar.gz) = 468188 bytes
+SHA1 (Devel-NYTProf-6.08.tar.gz) = 3f08d82bcc1401f586dec2d1d348975c4fe3efb1
+RMD160 (Devel-NYTProf-6.08.tar.gz) = 9223286114d23333e8208c6c44079f406e6f425b
+SHA512 (Devel-NYTProf-6.08.tar.gz) = bb48c460d0cd6891f05a13d969696658b2d8664416505ba4cbdd0cc462a93e4e1982c9baaed48a8a3b38dd11b3573d144efd1852fd34d73d235d339e67e49313
+Size (Devel-NYTProf-6.08.tar.gz) = 497020 bytes



Home | Main Index | Thread Index | Old Index