pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-html2text-2019.8.11 Re-add the last versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb82bd95c0aa
branches:  trunk
changeset: 415506:eb82bd95c0aa
user:      rhialto <rhialto%pkgsrc.org@localhost>
date:      Tue Oct 08 18:37:47 2019 +0000

description:
Re-add the last version of py-html2text that supports Python 2.7,
for (at least) misc/calibre.

diffstat:

 textproc/py-html2text-2019.8.11/ALTERNATIVES |   1 +
 textproc/py-html2text-2019.8.11/DESCR        |   4 ++++
 textproc/py-html2text-2019.8.11/Makefile     |  22 ++++++++++++++++++++++
 textproc/py-html2text-2019.8.11/PLIST        |  25 +++++++++++++++++++++++++
 textproc/py-html2text-2019.8.11/distinfo     |   6 ++++++
 5 files changed, 58 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 72dabb2ab744 -r eb82bd95c0aa textproc/py-html2text-2019.8.11/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text-2019.8.11/ALTERNATIVES      Tue Oct 08 18:37:47 2019 +0000
@@ -0,0 +1,1 @@
+bin/html2text @PREFIX@/bin/html2text-@PYVERSSUFFIX@
diff -r 72dabb2ab744 -r eb82bd95c0aa textproc/py-html2text-2019.8.11/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text-2019.8.11/DESCR     Tue Oct 08 18:37:47 2019 +0000
@@ -0,0 +1,4 @@
+html2text is a Python script that convers a page of HTML into clean,
+easy-to-read plain ASCII text. Better yet, that ASCII also happens
+to be valid Markdown (a text-to-HTML format).
+This is the last version that works with Python 2.7.
diff -r 72dabb2ab744 -r eb82bd95c0aa textproc/py-html2text-2019.8.11/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text-2019.8.11/Makefile  Tue Oct 08 18:37:47 2019 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2019/10/08 18:37:47 rhialto Exp $
+
+DISTNAME=      html2text-2019.8.11
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc converters python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=h/html2text/}
+
+MAINTAINER=    rhialto%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Alir3z4/html2text
+COMMENT=       Convert HTML into easy-to-read plain ASCII text
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+# This package is only for Python 2.7, because it is the last version
+# of html2text to work with this Python version.
+PYTHON_VERSIONS_ACCEPTED= 27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} html2text html2text-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 72dabb2ab744 -r eb82bd95c0aa textproc/py-html2text-2019.8.11/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text-2019.8.11/PLIST     Tue Oct 08 18:37:47 2019 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/08 18:37:47 rhialto 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}/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/cli.py
+${PYSITELIB}/html2text/cli.pyc
+${PYSITELIB}/html2text/cli.pyo
+${PYSITELIB}/html2text/compat.py
+${PYSITELIB}/html2text/compat.pyc
+${PYSITELIB}/html2text/compat.pyo
+${PYSITELIB}/html2text/config.py
+${PYSITELIB}/html2text/config.pyc
+${PYSITELIB}/html2text/config.pyo
+${PYSITELIB}/html2text/utils.py
+${PYSITELIB}/html2text/utils.pyc
+${PYSITELIB}/html2text/utils.pyo
diff -r 72dabb2ab744 -r eb82bd95c0aa textproc/py-html2text-2019.8.11/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text-2019.8.11/distinfo  Tue Oct 08 18:37:47 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/10/08 18:37:47 rhialto Exp $
+
+SHA1 (html2text-2019.8.11.tar.gz) = a8f0b4950028478993893d7acf1cc2d2941d2913
+RMD160 (html2text-2019.8.11.tar.gz) = d7794cb2ca31d02d9359aae569a053be688a1e55
+SHA512 (html2text-2019.8.11.tar.gz) = f405bccea18b2898fc8816483e8fa8912b2d508f139d7a65c54218acc87006d8b89e00a12018dc7b911f729036fe4e8a5069242dc00edb40171d4bc149e39ba6
+Size (html2text-2019.8.11.tar.gz) = 48721 bytes



Home | Main Index | Thread Index | Old Index