Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671444

Summary: dev-python/pytidylib: use html5-tidy instead of htmltidy
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: alexey+gentoo, brulzki, leio, vdupras
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 564884    

Description Pacho Ramos gentoo-dev 2018-11-18 15:51:15 UTC
As upstream only supports tidy-html5 for years

Thanks
Comment 1 Alexey 2018-12-29 18:10:39 UTC
This is blocking my world upgrade, because tidy-html5 blocks htmltidy
Comment 2 Mart Raudsepp gentoo-dev 2019-05-01 09:56:16 UTC
ping
Comment 3 Virgil Dupras (RETIRED) gentoo-dev 2019-05-01 12:33:26 UTC
Tests pass fine with htmltidy but one test fail with tidy-html5. Can anyone else reproduce this?
Comment 4 Bruce Schultz 2019-12-03 12:24:09 UTC
I can confirm the test failure with tidy-html5. I've reported it upstream: https://github.com/countergram/pytidylib/issues/29

I've had pytidylib installed from a local overlay with the dependencies modified to work with either htmltidy or tidy-html5 with this:

RDEPEND="|| ( app-text/tidy-html5 app-text/htmltidy )

Would it be feasible to get such a change into gentoo, perhaps with the order reversed so that htmltidy would be installed by default, but it could still be swapped easily?
Comment 5 Marek Szuba archtester gentoo-dev 2021-08-27 10:44:55 UTC
monsieurp and I have decided that since HTACG Tidy is the official successor of W3C Tidy rather than just a fork (see the 2015-01-25 news item on http://tidy.sourceforge.net/), we will merge html5-tidy into htmltidy. Therefore, it an alternative in RDEPEND is no longer needed.

BTW. tidylib passes all tests against the latest version of HTACG Tidy, available in the tree as app-text/htmltidy-5.8.0-r1.