pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-html2text



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Feb 25 22:31:25 UTC 2024

Modified Files:
        pkgsrc/textproc/py-html2text: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/textproc/py-html2text/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-html2text/PLIST
cvs rdiff -u -r1.40 -r1.41 pkgsrc/textproc/py-html2text/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-html2text/Makefile
diff -u pkgsrc/textproc/py-html2text/Makefile:1.58 pkgsrc/textproc/py-html2text/Makefile:1.59
--- pkgsrc/textproc/py-html2text/Makefile:1.58  Wed Jan  5 15:41:24 2022
+++ pkgsrc/textproc/py-html2text/Makefile       Sun Feb 25 22:31:24 2024
@@ -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=    schmonz%NetBSD.org@localhost
-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"

Index: pkgsrc/textproc/py-html2text/PLIST
diff -u pkgsrc/textproc/py-html2text/PLIST:1.13 pkgsrc/textproc/py-html2text/PLIST:1.14
--- pkgsrc/textproc/py-html2text/PLIST:1.13     Fri Jan 17 18:14:49 2020
+++ pkgsrc/textproc/py-html2text/PLIST  Sun Feb 25 22:31:24 2024
@@ -1,17 +1,21 @@
-@comment $NetBSD: PLIST,v 1.13 2020/01/17 18:14:49 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.14 2024/02/25 22:31:24 schmonz Exp $
 bin/html2text-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/html2text/__init__.py
 ${PYSITELIB}/html2text/__init__.pyc
 ${PYSITELIB}/html2text/__init__.pyo
 ${PYSITELIB}/html2text/__main__.py
 ${PYSITELIB}/html2text/__main__.pyc
 ${PYSITELIB}/html2text/__main__.pyo
+${PYSITELIB}/html2text/_typing.py
+${PYSITELIB}/html2text/_typing.pyc
+${PYSITELIB}/html2text/_typing.pyo
 ${PYSITELIB}/html2text/cli.py
 ${PYSITELIB}/html2text/cli.pyc
 ${PYSITELIB}/html2text/cli.pyo
@@ -22,9 +26,6 @@ ${PYSITELIB}/html2text/elements.py
 ${PYSITELIB}/html2text/elements.pyc
 ${PYSITELIB}/html2text/elements.pyo
 ${PYSITELIB}/html2text/py.typed
-${PYSITELIB}/html2text/typing.py
-${PYSITELIB}/html2text/typing.pyc
-${PYSITELIB}/html2text/typing.pyo
 ${PYSITELIB}/html2text/utils.py
 ${PYSITELIB}/html2text/utils.pyc
 ${PYSITELIB}/html2text/utils.pyo

Index: pkgsrc/textproc/py-html2text/distinfo
diff -u pkgsrc/textproc/py-html2text/distinfo:1.40 pkgsrc/textproc/py-html2text/distinfo:1.41
--- pkgsrc/textproc/py-html2text/distinfo:1.40  Tue Oct 26 11:23:04 2021
+++ pkgsrc/textproc/py-html2text/distinfo       Sun Feb 25 22:31:24 2024
@@ -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



Home | Main Index | Thread Index | Old Index