[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35446] [PATCH 14/26] gnu: Add python-html2text, python2-html2text.
From: |
Brendan Tildesley |
Subject: |
[bug#35446] [PATCH 14/26] gnu: Add python-html2text, python2-html2text. |
Date: |
Sat, 27 Apr 2019 19:36:47 +1000 |
* gnu/packages/python-web.scm (python-html2text, python2-html2text.): New
variables.
---
gnu/packages/python-web.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 91c5e3892a..de19ab72e4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
;;; Copyright © 2018 Maxim Cournoyer <address@hidden>
;;; Copyright © 2019 Vagrant Cascadian <address@hidden>
+;;; Copyright © 2019 Brendan Tildesley <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -299,6 +300,28 @@ other HTTP libraries.")
(define-public python2-httplib2
(package-with-python2 python-httplib2))
+(define-public python-html2text
+ (package
+ (name "python-html2text")
+ (version "2018.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "html2text" version))
+ (sha256
+ (base32
+ "1m6d7ciq30adc3d1n8g6r46072n7q8kdy039pqvnnmp763xi8xb2"))))
+ (build-system python-build-system)
+ (home-page "https://pypi.org/project/html2text/")
+ (synopsis "Convert HTML into plain text")
+ (description "html2text takes HTML and converts it into plain ASCII text
+which is also valid markdown. html2text was originally written by Aaron
+Swartz.")
+ (license license:gpl3+)))
+
+(define-public python2-html2text
+ (package-with-python2 python-html2text))
+
(define-public python-mechanicalsoup
(package
(name "python-mechanicalsoup")
--
2.21.0
- [bug#35446] [PATCH 0/26] Calibre: Update to 3.41.3, Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 25/26]: gnu: calibre: Delete various junk from source. (fix typos), Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 01/26] gnu: Use 'license:' prefix in (gnu packages web)., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 14/26] gnu: Add python-html2text, python2-html2text.,
Brendan Tildesley <=
- [bug#35446] [PATCH 16/26] gnu: python-regex, python2-regex: Update to 2019.04.14., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 25/26] gnu: calibre: Remove libxrender as an input., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 22/26] gnu: calibre: Disable bs4 test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 02/26] gnu: Add python-css-parser, python2-css-parser., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 13/26] gnu: calibre: Move font unbundling to after check phase., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 21/26] gnu: calibre: Disable Qt test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 11/26] gnu: calibre: Add missing dependencies as indicated by tests., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 17/26] gnu: calibre: Disable tests that require networking., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 20/26] gnu: calibre: Disable bs4 test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 19/26] gnu: calibre: Use linux.py to install desktop files., Brendan Tildesley, 2019/04/27