forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-html2text: update to 2024.2.25. Changes:
* Fix #332: Insert at most one space for multiple emphasis * Feature #318: Make padded tables more similar to pandoc's pipe_tables. * Add support for Python 3.9. * Fix extra line breaks inside html link text (between '[' and ']') * Fix #344: indent ``<ul>`` inside ``<ol>`` three spaces instead of two to comply with CommonMark, GFM, etc. * Fix #324: unnecessary spaces around ``<b>``, ``<em>``, and ``strike`` tags. * Don't wrap tables by default and add a ``--wrap-tables`` config option. * Feature #198: Ignore ``<p>`` tags inside table rows. * Don't wrap tables by default and add a ``--wrap-tables`` config option * Remove support for Python ≤ 3.5. Now requires Python 3.6+. * Support for Python 3.10+. * Fix #320 padding empty tables and tables with no ``</tr>`` tags. * Add ``ignore_mailto_links`` config option to ignore ``mailto:`` style links. * Feature #407: Support the superscript and subscript tags. * Fix #373: ``\n`` inside text of a Markdown link. * Feature #406: Improve support for null atttibute values.
- Loading branch information
Showing
3 changed files
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
# $NetBSD: Makefile,v 1.58 2022/01/05 15:41:24 wiz Exp $ | ||
# $NetBSD: Makefile,v 1.59 2024/02/25 22:31:24 schmonz Exp $ | ||
|
||
DISTNAME= html2text-2020.1.16 | ||
DISTNAME= html2text-2024.2.25 | ||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | ||
PKGREVISION= 2 | ||
CATEGORIES= textproc converters python | ||
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html2text/} | ||
|
||
MAINTAINER= [email protected] | ||
HOMEPAGE= https://github.com/Alir3z4/html2text | ||
HOMEPAGE= https://alir3z4.github.io/html2text/ | ||
COMMENT= Convert HTML into easy-to-read plain ASCII text | ||
LICENSE= gnu-gpl-v3 | ||
|
||
USE_LANGUAGES= # none | ||
PYTHON_VERSIONS_INCOMPATIBLE= 27 | ||
|
||
USE_PKG_RESOURCES= yes | ||
|
||
post-install: | ||
cd ${DESTDIR}${PREFIX}/bin && ${MV} html2text html2text-${PYVERSSUFFIX} || ${TRUE} | ||
|
||
.include "../../lang/python/egg.mk" | ||
.include "../../lang/python/wheel.mk" | ||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$NetBSD: distinfo,v 1.40 2021/10/26 11:23:04 nia Exp $ | ||
$NetBSD: distinfo,v 1.41 2024/02/25 22:31:24 schmonz Exp $ | ||
|
||
BLAKE2s (html2text-2020.1.16.tar.gz) = fa71ec8c86071d35057dd2c528d70aeddb11356ca800786436b06fee2d62c40b | ||
SHA512 (html2text-2020.1.16.tar.gz) = 14453c98e81d05afb3241b04a9e50caf63e4b6f857337b4bd9f53e6b8fa7146aa6a1f4f64777db9fa350316b19fe62a0033dce5748191ca9fbd17a8757002855 | ||
Size (html2text-2020.1.16.tar.gz) = 49464 bytes | ||
BLAKE2s (html2text-2024.2.25.tar.gz) = bc6758796c7fcd0499221de4dcc6a01509fb4ec9e9b4947d9947e59d0b7cf803 | ||
SHA512 (html2text-2024.2.25.tar.gz) = 9adf1367b644a7dccef35ddd0041ade8a206943927585a4c1766ff76e2ffc9ab58479d285fe8eb2e18b80270f9eb50ec82855fb8b0df8525e905278abd8ddc22 | ||
Size (html2text-2024.2.25.tar.gz) = 56175 bytes |