diff options
author | schmonz <schmonz@pkgsrc.org> | 2005-12-03 00:47:04 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2005-12-03 00:47:04 +0000 |
commit | 64d83aad6bc715096d872bdf55673c7f42d67865 (patch) | |
tree | 055e2df21e554471bc1857764323b5bed2dc3714 /textproc | |
parent | ed183a59f0b05ce0d74b51722aed8a9d78c1a6f3 (diff) | |
download | pkgsrc-64d83aad6bc715096d872bdf55673c7f42d67865.tar.gz |
Initial import of html2text, 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).
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-html2text/DESCR | 3 | ||||
-rw-r--r-- | textproc/py-html2text/Makefile | 31 | ||||
-rw-r--r-- | textproc/py-html2text/PLIST | 2 | ||||
-rw-r--r-- | textproc/py-html2text/distinfo | 5 |
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/py-html2text/DESCR b/textproc/py-html2text/DESCR new file mode 100644 index 00000000000..9b470655633 --- /dev/null +++ b/textproc/py-html2text/DESCR @@ -0,0 +1,3 @@ +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). diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile new file mode 100644 index 00000000000..2dc9b1704db --- /dev/null +++ b/textproc/py-html2text/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/12/03 00:47:04 schmonz Exp $ +# + +DISTNAME= html2text-2.23 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc python +MASTER_SITES= ${HOMEPAGE} +EXTRACT_SUFX= .py + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://www.aaronsw.com/2002/html2text/ +COMMENT= Convert HTML into easy-to-read plain ASCII text + +WRKSRC= ${WRKDIR} + +NO_BUILD= yes +PYTHON_VERSIONS_ACCEPTED?= 24 23 22 21 + +INSTALLATION_DIRS= share/html2text + +do-extract: + ${_PKG_SILENT}${_PKG_DEBUG} \ + ${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC} + +do-install: + cd ${WRKSRC}; \ + ${INSTALL_SCRIPT} ${DISTNAME}${EXTRACT_SUFX} \ + ${PREFIX}/share/html2text/html2text.py + +.include "../../lang/python/pyversion.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-html2text/PLIST b/textproc/py-html2text/PLIST new file mode 100644 index 00000000000..bfb01439ec7 --- /dev/null +++ b/textproc/py-html2text/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/03 00:47:04 schmonz Exp $ +share/html2text/html2text.py diff --git a/textproc/py-html2text/distinfo b/textproc/py-html2text/distinfo new file mode 100644 index 00000000000..cf49205c892 --- /dev/null +++ b/textproc/py-html2text/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/12/03 00:47:04 schmonz Exp $ + +SHA1 (html2text-2.23.py) = c1691b8f2586cdb7e45ce0395f50104331b84cb0 +RMD160 (html2text-2.23.py) = 76fdefa69ef904ffdf0e2acb85636e2b68e7ecaf +Size (html2text-2.23.py) = 9795 bytes |