#67709 closed update (fixed)

html-xml-utils 7.0: update to 8.6

Reported by: vike2000 Owned by: vike2000
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: html-xml-utils

Description (last modified by vike2000)

Built and installed fine but yet only manually tested and seen working like:
…|w3hxselect 'Events>Event:last-child',
…|w3hxselect 'Events>Event:nth-last-child(2)' and
…|w3hxselect 'Events>Event:nth-last-child(6)~*'
on macOS 10.13.6 (High Sierra) - the …last-child selectors
was the reason I wanted a version >= 7.2 (released 2017).

  • ports/textproc/html-xml-utils/Portfile

    diff --git a/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/html-xml-utils/Portfile b/Users/vike/file/develop/macports/ports/textproc/html-xml-utils/Portfile
    index b551493..21d1adf 100644
    old new  
    33PortSystem          1.0
    44
    55name                html-xml-utils
    6 version             7.0
    7 revision            5
     6version             8.6
     7revision            0
    88categories          textproc
    9 platforms           darwin
    109maintainers         nomaintainer
    1110license             W3C
    1211
    description A number of simple utilties for manipulating HTML and XML fi 
    1413
    1514long_description    ${description}
    1615
    17 homepage            http://www.w3.org/Tools/HTML-XML-utils/
     16homepage            https://www.w3.org/Tools/HTML-XML-utils/
    1817master_sites        ${homepage}
    1918
    20 checksums           rmd160  832c7815b8bc1f9b9b15df9b622d38c4d71609d0 \
    21                     sha256  e7d30de4fb4731f3ecd4622ac30db9fb82e1aa0ab190ae13e457360eea9460b0
     19checksums           rmd160  7e5af01c985b01372b7ee23079140f41607a5522 \
     20                    sha256  5e84729ef36ccd3924d2872ed4ee6954c63332dca5400ba8eb4eaef1f2db4fb2 \
     21                    size    421530
    2222
    2323depends_lib         port:libiconv \
    2424                    port:curl \

Attachments (2)

Portfile.patch (1.4 KB) - added by vike2000 11 months ago.
I don't know if you want my whole Portfile or just some patch to it
Portfile (1.4 KB) - added by vike2000 11 months ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 months ago by vike2000

Description: modified (diff)

comment:2 Changed 11 months ago by vike2000

Description: modified (diff)

comment:3 Changed 11 months ago by vike2000

Description: modified (diff)

comment:4 Changed 11 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

Thanks, a patch is better so that we can see what the changes are. Another option is to submit a pull request, but if you're not familiar with that workflow we can take it from here using the patch.

While we're here, we can also switch the homepage to https (since it redirects from http to https anyway) and remove the platforms darwin line (since that's the default now).

Changed 11 months ago by vike2000

Attachment: Portfile.patch added

I don't know if you want my whole Portfile or just some patch to it

Changed 11 months ago by vike2000

Attachment: Portfile added

comment:5 Changed 11 months ago by vike2000

Description: modified (diff)

Sound and reasonable. I'll try to remember to look at a PR next patch :) Thanks for the pointers.

The little more testing I did after posting earlier, I did see the new version of w3hxnormalize might have changes (in handling of whitespace) unconfirmed potentially breaking some of my own personal uses of it, but I'll handle that on my end any way, and I'm thinking the behaviour of the binary is a topic for its author (here W3C) while MacPorts just delivers working versions, and unless conflicting with other software, just the latest. That is, I still think bumping to the latest is the right thing.

comment:6 Changed 11 months ago by vike2000

Owner: set to vike2000
Resolution: fixed
Status: newclosed

In 8def53d093415a757ef49171a2c6cca6c41f1e96/macports-ports (master):

html-xml-utils: Update to 8.6

Closes: #67709

Note: See TracTickets for help on using tickets.