gnu: Add python-woob.

* gnu/packages/python-web.scm (python-woob): New variable.
This commit is contained in:
Ricardo Wurmus 2021-11-29 18:45:21 +01:00
parent bfaf7b559e
commit 16d7f26fed
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -86,6 +86,7 @@ (define-module (gnu packages python-web)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages texinfo)
@ -6310,6 +6311,48 @@ (define-public python-webcolors
can be handled by the @code{colorsys} module in the Python standard library.")
(license license:bsd-3)))
(define-public python-woob
(package
(name "python-woob")
(version "3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "woob" version))
(sha256
(base32 "09hpxy5zhn2b8li0xjf3zd7s46lawb0315p5mdcsci3bj3s4v1j7"))))
(build-system python-build-system)
;; A small number of tests for optional applications fails due to missing
;; inputs.
(arguments `(#:tests? #f))
(propagated-inputs
`(("python-babel" ,python-babel)
("python-colorama" ,python-colorama)
("python-cssselect" ,python-cssselect)
("python-dateutil" ,python-dateutil)
("python-feedparser" ,python-feedparser)
("python-html2text" ,python-html2text)
("python-lxml" ,python-lxml)
("python-pillow" ,python-pillow)
("python-prettytable" ,python-prettytable)
("python-pyqt" ,python-pyqt)
("python-pyyaml" ,python-pyyaml)
("python-requests" ,python-requests)
("python-six" ,python-six)
("python-unidecode" ,python-unidecode)))
(native-inputs
`(("python-coverage" ,python-coverage)
("python-flake8" ,python-flake8)
("python-nose" ,python-nose)
("python-selenium" ,python-selenium)
("python-xunitparser" ,python-xunitparser)))
(home-page "https://woob.tech/")
(synopsis "Woob, Web Outside Of Browsers")
(description "Woob is a collection of applications able to interact with
websites, without requiring the user to open them in a browser. It also
provides well-defined APIs to talk to websites lacking one.")
(license license:lgpl3+)))
(define-public python-flask-combo-jsonapi
(package
(name "python-flask-combo-jsonapi")