summaryrefslogtreecommitdiff
path: root/textproc/py-html2text
AgeCommit message (Collapse)AuthorFilesLines
2015-07-14Update to 2015.6.21:wiz2-6/+6
2015.6.21 ========= ---- * Fix #31: HTML entities stay inside link. * Fix #71: Coverage detects command line tests. * Fix #39: Documentation update. * Fix #61: Functionality added for optional use of automatic links. * Feature #80: ``title`` attribute is preserved in both inline and reference links. * Feature #82: More command line options. See docs. 2015.6.12 ========= ---- * Feature #76: Making ``pre`` blocks clearer for further automatic formatting. * Fix #71: Coverage detects tests carried out in ``subprocesses`` 2015.6.6 ======== ---- * Fix #24: ``3.200.3`` vs ``2014.7.3`` output quirks. * Fix #61. Malformed links in markdown output. * Feature #62: Automatic version number. * Fix #63: Nested code, anchor bug. * Fix #64: Proper handling of anchors with content that starts with tags. * Feature #67: Documentation all over the module. * Feature #70: Adding tests for the module. * Fix #73: Typo in config documentation.
2015-04-18Update to 2015.4.14. From the changelog:schmonz2-6/+6
* Feature #56: Treat '-' file parameter as stdin. * Feature #57: Retain escaping of html except within code or pre tags. * Feature #59: Write image tags with height and width attrs as raw html to retain dimensions
2015-03-09Update to 2015.2.18:wiz2-6/+6
2015.2.18 ========== ---- * Fix #38: Anchor tags with empty text or with `<img>` tags inside are no longer stripped.
2015-01-11Update to 2014.12.29:wiz2-6/+6
2014.12.29 ========== ---- * Feature #51: Add single line break option. This feature is useful for ensuring that lots of extra line breaks do not end up in the resulting Markdown file in situations like Evernote .enex exports. Note that this only works properly if ``body-width`` is set to ``0``.
2014-12-30Update to 2014.12.24:wiz2-6/+6
2014.12.24 ========== ---- * Feature #49: Added a images_to_alt option to discard images and keep only their alt. * Feature #50: Protect links, surrounding them with angle brackets to avoid breaking... * Feature: Add ``setup.cfg`` file.
2014-12-07Update to 2014.12.5:wiz3-49/+17
2014.12.5 ========= ---- * Feature: Update `README.md` with usage examples. * Fix #35: Remove `py_modules` from `setup.py`. * Fix #36: Excludes tests from being installed as a separate module. * Fix #37: Don't hardcode the path to the installed binary. * Fix: Readme typo in running cli. * Feature #40: Extract cli part to ``cli`` module. * Feature #42: Bring python version compatibility to ``compat.py`` module. * Feature #41: Extract utility/helper methods to ``utils`` module. * Fix #45: Does not accept standard input when running under Python 3. * Feature: Clean up ``ChangeLog.rst`` for version and date numbers.
2014-10-05Update to 2014.9.25:wiz3-7/+11
2014.9.25 - 2014-09-25 * Feature #29, #27: Add simple table support with bypass option. * Fix #20: Replace project website with: http://alir3z4.github.io/html2text/ .
2014-09-12Replace Python interpreter in __init__.py to squelch pkgsrc warning.schmonz1-1/+3
Seems unlikely to matter much in practice; ride recent version bump.
2014-09-12Update to 2014.9.8:wiz3-7/+50
2014.9.8 - 2014-09-08 ===================== ---- * Fix #28: missing ``html2text`` package in installation.
2014-09-07Update to 2014.9.7:wiz3-10/+7
2014.9.7 - 2014-09-07 * Fix ``unicode``/``type`` error in memory leak unit-test. * Feature #16: Remove ``install_deps.py``. * Feature #17: Add status badges via pypin. * Feature #18: Add ``Python`` ``3.4`` to travis config file. * Feature #19: Bring ``html2text`` to a separate module and take out the ``conf``/``constant`` variables. * Feature #21: Remove meta vars from ``html2text.py`` file header. * Fix: Fix TypeError when parsing tags like <img src='foo' alt>. Fixed in #25.
2014-07-04Update to 2014.7.3. From the changelog:schmonz3-13/+7
* Fix #8: Remove ``How to do a release`` section from README.md. * Fix #11: Include test directory markdown, html files. * Fix memory leak in using ``handle`` while keeping the old instance of ``html2text``.
2014-04-20Update to 2014.4.5 (new upstream and versioning). From the git log:schmonz4-43/+26
* Make html2text.py compatible with python 3.*. * PEP8ize the script. * Switch tests to unittest (w/generated test cases). * Remove .editorconfig. * Remove deprecated function has_key. * Handle invalid literals for start attribute. * Add bodywidth parameter instead of module-wide BODY_WIDTH.
2014-04-18Use a better homepage.wiz1-2/+2
2014-01-25Mark packages as not ready for python-3.x where applicable;wiz1-3/+1
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
2013-06-06Update to 3.200.3. No changelog provided. Summarized highlightsschmonz3-29/+21
from the git log: * allow module to be imported * set UTF-8 as default encoding * better handling of Google Docs HTML * better handling of more edge-case inputs * nitpicky bugfixes to whitespace, emphasis, etc. * new config options
2012-10-25Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-04Bump revision for packages with changed CONFLICTS (PYTHON_SELF_CONFLICT)cheusov1-1/+2
2012-10-03CONFLICTS between python modulescheusov1-1/+2
2011-12-03Tag the 28 locations that result in a Python 3.1 package as supporting so.joerg1-1/+3
Remove it from the default list for the rest.
2011-06-12Update with a working MASTER_SITES, and to FETCH_USING curl,schnoebe1-2/+4
since ftp does not handle https: URLs.
2011-06-09Update to 3.02. From the changelog:schmonz3-22/+20
3.02: * Use optparse for parsing and checking arguments * Encode all output as UTF-8 * Accept optional encoding for local file or URL * Use chardet for guessing local file character sets * Fix double-newlines inside code blocks 3.01: * Fix bug with unknown entities 3.0: * Add forward compatibility with Python3 2.40: * Update from sgmllib to HTMLParser so that valid XHTML doesn't fail
2011-05-10root out another use of "/usr/bin/env python".schnoebe1-2/+4
2010-09-19Update to 2.39:wiz2-6/+6
let people grab https urls (tx Romain)
2010-08-07Update to 2.38:wiz2-6/+6
package properly (tx Michael Jenny, Vincent Fretin)
2010-01-20Update to 2.37, set LICENSE.wiz2-6/+7
2009-09-14: 2.37. don't use stdout by default (tx Greg Brown) warning: may not be backwards-compatible in some odd use cases 2009-08-10: 2.36. relative url resolution (tx Kevin North)
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-04-07Update to 2.35. From the changelog:schmonz2-6/+6
* undo last change (elim extra \ns) (tx Sumit Rangwala)
2009-02-09Remove Python 2.1 support.joerg1-2/+1
2008-10-19Update to 2.34. From the changelog:schmonz3-11/+11
2008-10-09: 2.34. elim extra \ns (tx Keith Bussell) 2008-09-19: 2.33. add support for abbr (tx Nathan Youngman) 2008-07-31: 2.32. fix parsing bug with fastcompany (tx Elias Soong)
2008-07-31Update to 2.31:schmonz3-20/+11
* fix unicode support (tx John Chapman)
2008-06-12Add DESTDIR support.joerg1-2/+4
2008-06-01Update to 2.3. From the changelog:schmonz3-35/+35
- add SKIP_INTERNAL_LINKS (tx Christian Siefkes) - prelim JS support, various fixes, improved performances (tx Johannes Fitz)
2008-04-28Update to 2.291:schmonz2-7/+7
- add shbang, fix wrapping (tx Christian Siefkes)
2008-04-25Update PYTHON_VERSIONS_COMPATIBLEjoerg1-2/+2
- assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
2008-02-19Update to 2.29. From the changelog:schmonz3-11/+11
* fix degenerate sites (cough 9rules) that don't close head tags * fix crash when feedparser wasn't available (tx Johann Burkard)
2007-06-08Update to 2.28. Simplify package.wiz3-15/+12
Changes: 2007-04-12: 2.28. fix tables (tx Pete Savage) 2007-04-09: 2.27. fix line breaks (tx Danny O'Brien) 2007-02-23: 2.26. input unicode better (tx John Cavanaugh for the push)
2007-01-19Apply small cleanup patch from Debian. Bump PKGREVISION.schmonz3-3/+37
2007-01-18Update to 2.25. From the changelog:schmonz2-6/+6
* output unicode better (tx s s)
2006-04-17Remove share/html2text directory on uninstall.schmonz1-1/+2
2006-03-01Update to 2.24, providing preliminary support for dt/dd.schmonz2-7/+6
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2005-12-03Initial import of html2text, a Python script that convers a pageschmonz4-0/+41
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).