gnu: Add python-woob.
* gnu/packages/python-web.scm (python-woob): New variable.
This commit is contained in:
		
							parent
							
								
									bfaf7b559e
								
							
						
					
					
						commit
						16d7f26fed
					
				
					 1 changed files with 43 additions and 0 deletions
				
			
		|  | @ -86,6 +86,7 @@ | ||||||
|   #:use-module (gnu packages python-crypto) |   #:use-module (gnu packages python-crypto) | ||||||
|   #:use-module (gnu packages python-science) |   #:use-module (gnu packages python-science) | ||||||
|   #:use-module (gnu packages python-xyz) |   #:use-module (gnu packages python-xyz) | ||||||
|  |   #:use-module (gnu packages qt) | ||||||
|   #:use-module (gnu packages serialization) |   #:use-module (gnu packages serialization) | ||||||
|   #:use-module (gnu packages sphinx) |   #:use-module (gnu packages sphinx) | ||||||
|   #:use-module (gnu packages texinfo) |   #:use-module (gnu packages texinfo) | ||||||
|  | @ -6310,6 +6311,48 @@ Only the RGB colorspace is supported.  Conversion to/from the HSL colorspace | ||||||
| can be handled by the @code{colorsys} module in the Python standard library.") | can be handled by the @code{colorsys} module in the Python standard library.") | ||||||
|     (license license:bsd-3))) |     (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 | (define-public python-flask-combo-jsonapi | ||||||
|   (package |   (package | ||||||
|     (name "python-flask-combo-jsonapi") |     (name "python-flask-combo-jsonapi") | ||||||
|  |  | ||||||
		Reference in a new issue