pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-HTML-Lint (pkgsrc note)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d6b8dd35c4b
branches:  trunk
changeset: 651801:9d6b8dd35c4b
user:      mef <mef%pkgsrc.org@localhost>
date:      Thu May 14 09:13:12 2015 +0000

description:
(pkgsrc note)
 - Nothing changed, but just a note. 'make test' fails at t/12-html_fragment_ok.t.
   It is because the randomness of error output, saying either <head><title><html>
   is missing (if neither of them exists). (To see, try 'make test' several times).
(upstream)
 - update 2.20 to 2.22
-------------------
2.22    Mon Apr  6 15:47:11 CDT 2015
    [CHANGES THAT COULD BREAK YOUR CODE]
    Previously, html_ok() would not check the entire structure of a web
    page to check for <html>, <head>, <title> and <body> tags.  Now it
    will.  If you want to check fragments of HTML for validity but know
    that they are not valid HTML documents on their own, use the new
    html_fragment_ok().

    [ENHANCEMENTS]
    Added new error, elem-input-alt-missing, that warns of <input
    type="image"> tags that are missing an alt="" attribute.  This helps
    for accessability to make sure that any images have alternate text
    for screen readers.

    Added ability to modify HTML::Lint's table of known tags and
    attributes, so you could do this:

        # Add an attribute that your company uses.
        HTML::Lint::HTML4::add_attribute( 'body', 'proprietary-attribute' );

        # Add the HTML 5 <canvas> tag.
        HTML::Lint::HTML4::add_tag( 'canvas' );
        HTML::Lint::HTML4::add_attribute( 'canvas', $_ ) for qw( height width );

    [FIXES]
    Test::HTML::Lint::html_ok() would not call the HTML::Lint eof()
    method, which meant it wouldn't do document-wide tests.

diffstat:

 www/p5-HTML-Lint/Makefile |  5 ++---
 www/p5-HTML-Lint/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 5238d0e938d7 -r 9d6b8dd35c4b www/p5-HTML-Lint/Makefile
--- a/www/p5-HTML-Lint/Makefile Thu May 14 03:27:50 2015 +0000
+++ b/www/p5-HTML-Lint/Makefile Thu May 14 09:13:12 2015 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2014/05/29 23:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2015/05/14 09:13:12 mef Exp $
 
-DISTNAME=      HTML-Lint-2.20
+DISTNAME=      HTML-Lint-2.22
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=HTML/}
 
diff -r 5238d0e938d7 -r 9d6b8dd35c4b www/p5-HTML-Lint/distinfo
--- a/www/p5-HTML-Lint/distinfo Thu May 14 03:27:50 2015 +0000
+++ b/www/p5-HTML-Lint/distinfo Thu May 14 09:13:12 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2013/10/13 01:36:26 wen Exp $
+$NetBSD: distinfo,v 1.5 2015/05/14 09:13:12 mef Exp $
 
-SHA1 (HTML-Lint-2.20.tar.gz) = 8f36a97e573adb602b1d5c98c91b9ffbd90f7bed
-RMD160 (HTML-Lint-2.20.tar.gz) = 765b6a49216df7862baf2af4507f101399f5382d
-Size (HTML-Lint-2.20.tar.gz) = 25974 bytes
+SHA1 (HTML-Lint-2.22.tar.gz) = 03564d0c4dd8a1236ffafd9b7ca8385c37145515
+RMD160 (HTML-Lint-2.22.tar.gz) = ced5aecdb64efbede0f9dc9d2752afe41d5209d8
+Size (HTML-Lint-2.22.tar.gz) = 26468 bytes



Home | Main Index | Thread Index | Old Index