summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorrodent <rodent>2016-12-04 21:12:58 +0000
committerrodent <rodent>2016-12-04 21:12:58 +0000
commit1086d6baf0e9073ca31e2c64a6531af3fbe54e34 (patch)
tree4dce445787e684a64a669ac8ea2a17e6b690e864 /converters
parentbe2201fb8e9e21b1569942f8febafefc54012eda (diff)
downloadpkgsrc-1086d6baf0e9073ca31e2c64a6531af3fbe54e34.tar.gz
It's time to make Tryton great again. This update is YUGE. There are 71
new packages. Most of which are the remaining modules of the Tryton platform which weren't packaged. The others are dependencies of the new modules. This was tested on FreeBSD and is based in large part on Richard Palo's (richard@) work. This is the most recent release of the Tryton platform, version 4.2. There's a very large list of changes from the 3.8 series we have in pkgsrc. If you're interested, those functional changes can be found here: http://www.tryton.org/posts/new-tryton-release-42.html http://www.tryton.org/posts/new-tryton-release-40.html
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile3
-rw-r--r--converters/py-html2text/ALTERNATIVES1
-rw-r--r--converters/py-html2text/DESCR3
-rw-r--r--converters/py-html2text/Makefile21
-rw-r--r--converters/py-html2text/PLIST23
-rw-r--r--converters/py-html2text/distinfo6
6 files changed, 56 insertions, 1 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 9a35a694ad7..6c96c45cf1e 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.145 2016/12/04 10:01:15 simonb Exp $
+# $NetBSD: Makefile,v 1.146 2016/12/04 21:12:58 rodent Exp $
#
COMMENT= Document format and character code converters
@@ -98,6 +98,7 @@ SUBDIR+= psiconv
SUBDIR+= pstotext
SUBDIR+= py-cairosvg
SUBDIR+= py-chardet
+SUBDIR+= py-html2text
SUBDIR+= py-jpCodecs
SUBDIR+= py-simplejson
SUBDIR+= py-yenc
diff --git a/converters/py-html2text/ALTERNATIVES b/converters/py-html2text/ALTERNATIVES
new file mode 100644
index 00000000000..734fd316850
--- /dev/null
+++ b/converters/py-html2text/ALTERNATIVES
@@ -0,0 +1 @@
+bin/html2text @PREFIX@/bin/html2text@PYVERSSUFFIX@
diff --git a/converters/py-html2text/DESCR b/converters/py-html2text/DESCR
new file mode 100644
index 00000000000..1e2f2cdd062
--- /dev/null
+++ b/converters/py-html2text/DESCR
@@ -0,0 +1,3 @@
+Turn HTML into equivalent Markdown-structured text. Html2text is a Python script
+that converts 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/converters/py-html2text/Makefile b/converters/py-html2text/Makefile
new file mode 100644
index 00000000000..0237ca9bab1
--- /dev/null
+++ b/converters/py-html2text/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/12/04 21:12:59 rodent Exp $
+
+DISTNAME= html2text-2016.9.19
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= converters python textproc
+MASTER_SITES= https://files.pythonhosted.org/packages/source/h/html2text/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://github.ccom/Alir3z4/html2text
+COMMENT= Python script that converts a page of HTML into clean ASCII text
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/html2text \
+ ${DESTDIR}${PREFIX}/bin/html2text${PYVERSSUFFIX}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/py-html2text/PLIST b/converters/py-html2text/PLIST
new file mode 100644
index 00000000000..3495a70c485
--- /dev/null
+++ b/converters/py-html2text/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/04 21:12:59 rodent 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}/html2text/__init__.py
+${PYSITELIB}/html2text/__init__.pyc
+${PYSITELIB}/html2text/__init__.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 --git a/converters/py-html2text/distinfo b/converters/py-html2text/distinfo
new file mode 100644
index 00000000000..ad652ecceb6
--- /dev/null
+++ b/converters/py-html2text/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/04 21:12:59 rodent Exp $
+
+SHA1 (html2text-2016.9.19.tar.gz) = d0ad27c5d7e27472339c357669b56fd846c5e85e
+RMD160 (html2text-2016.9.19.tar.gz) = dac3afaeb4213a2fd34fc129e235d2c6c98ca8b9
+SHA512 (html2text-2016.9.19.tar.gz) = cbc67f2815c20bfed84bfdff1c44ac3f4d6cbeb5e5b62adaf08b485fb2c886605b7f8a9f85f420e1158117194e7aa3de064aaef5ca018f5c81d15ebf5065b061
+Size (html2text-2016.9.19.tar.gz) = 47899 bytes