pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-html2text Initial import of html2text, a P...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26c8c8771808
branches: trunk
changeset: 504010:26c8c8771808
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sat Dec 03 00:47:04 2005 +0000
description:
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:
textproc/py-html2text/DESCR | 3 +++
textproc/py-html2text/Makefile | 31 +++++++++++++++++++++++++++++++
textproc/py-html2text/PLIST | 2 ++
textproc/py-html2text/distinfo | 5 +++++
4 files changed, 41 insertions(+), 0 deletions(-)
diffs (57 lines):
diff -r 5b51e25f1073 -r 26c8c8771808 textproc/py-html2text/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text/DESCR Sat Dec 03 00:47:04 2005 +0000
@@ -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 -r 5b51e25f1073 -r 26c8c8771808 textproc/py-html2text/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text/Makefile Sat Dec 03 00:47:04 2005 +0000
@@ -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@localhost
+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 -r 5b51e25f1073 -r 26c8c8771808 textproc/py-html2text/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text/PLIST Sat Dec 03 00:47:04 2005 +0000
@@ -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 -r 5b51e25f1073 -r 26c8c8771808 textproc/py-html2text/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-html2text/distinfo Sat Dec 03 00:47:04 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index