pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-html2text-2019.8.11



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Tue Oct  8 18:37:47 UTC 2019

Added Files:
        pkgsrc/textproc/py-html2text-2019.8.11: ALTERNATIVES DESCR Makefile
            PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-html2text-2019.8.11/ALTERNATIVES \
    pkgsrc/textproc/py-html2text-2019.8.11/DESCR \
    pkgsrc/textproc/py-html2text-2019.8.11/Makefile \
    pkgsrc/textproc/py-html2text-2019.8.11/PLIST \
    pkgsrc/textproc/py-html2text-2019.8.11/distinfo

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

Added files:

Index: pkgsrc/textproc/py-html2text-2019.8.11/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-html2text-2019.8.11/ALTERNATIVES:1.1
--- /dev/null   Tue Oct  8 18:37:47 2019
+++ pkgsrc/textproc/py-html2text-2019.8.11/ALTERNATIVES Tue Oct  8 18:37:47 2019
@@ -0,0 +1 @@
+bin/html2text @PREFIX@/bin/html2text-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-html2text-2019.8.11/DESCR
diff -u /dev/null pkgsrc/textproc/py-html2text-2019.8.11/DESCR:1.1
--- /dev/null   Tue Oct  8 18:37:47 2019
+++ pkgsrc/textproc/py-html2text-2019.8.11/DESCR        Tue Oct  8 18:37:47 2019
@@ -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.
Index: pkgsrc/textproc/py-html2text-2019.8.11/Makefile
diff -u /dev/null pkgsrc/textproc/py-html2text-2019.8.11/Makefile:1.1
--- /dev/null   Tue Oct  8 18:37:47 2019
+++ pkgsrc/textproc/py-html2text-2019.8.11/Makefile     Tue Oct  8 18:37:47 2019
@@ -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"
Index: pkgsrc/textproc/py-html2text-2019.8.11/PLIST
diff -u /dev/null pkgsrc/textproc/py-html2text-2019.8.11/PLIST:1.1
--- /dev/null   Tue Oct  8 18:37:47 2019
+++ pkgsrc/textproc/py-html2text-2019.8.11/PLIST        Tue Oct  8 18:37:47 2019
@@ -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
Index: pkgsrc/textproc/py-html2text-2019.8.11/distinfo
diff -u /dev/null pkgsrc/textproc/py-html2text-2019.8.11/distinfo:1.1
--- /dev/null   Tue Oct  8 18:37:47 2019
+++ pkgsrc/textproc/py-html2text-2019.8.11/distinfo     Tue Oct  8 18:37:47 2019
@@ -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