mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: python-mechanicalsoup: Update to 1.0.0.
* gnu/packages/python-web.scm (python-mechanicalsoup): Update to 1.0.0. [arguments]: Enable tests. [native-inputs]: Add python-pytest-flake8, python-pytest-httpbin, python-pytest-cov, python-pytest-mock, python-pytest-runner, python-requests-mock. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
e1a4652099
commit
5414617120
1 changed files with 10 additions and 12 deletions
|
@ -40,6 +40,7 @@
|
||||||
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
|
||||||
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
|
;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -795,29 +796,26 @@ object graph to and from JSON.")
|
||||||
(define-public python-mechanicalsoup
|
(define-public python-mechanicalsoup
|
||||||
(package
|
(package
|
||||||
(name "python-mechanicalsoup")
|
(name "python-mechanicalsoup")
|
||||||
(version "0.11.0")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "MechanicalSoup" version))
|
(uri (pypi-uri "MechanicalSoup" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0k59wwk75q7nz6i6gynvzhagy02ql0bv7py3qqcwgjw7607yq4i7"))))
|
(base32 "01sddjxy3rznh63hnl5lbv1hhk6xyiviwmkiw4x7v4ap35fb3lrp"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
|
||||||
;; TODO: Enable tests when python-flake8@3.5 hits master.
|
|
||||||
`(#:tests? #f))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
||||||
("python-lxml" ,python-lxml)
|
("python-lxml" ,python-lxml)
|
||||||
("python-requests" ,python-requests)
|
("python-requests" ,python-requests)
|
||||||
("python-six" ,python-six)))
|
("python-six" ,python-six)))
|
||||||
;; (native-inputs
|
(native-inputs
|
||||||
;; ;; For tests.
|
`(("python-pytest-cov" ,python-pytest-cov)
|
||||||
;; `(("python-pytest-flake8" ,python-pytest-flake8)
|
("python-pytest-flake8" ,python-pytest-flake8)
|
||||||
;; ("python-pytest-httpbin" ,python-pytest-httpbin)
|
("python-pytest-httpbin" ,python-pytest-httpbin)
|
||||||
;; ("python-pytest-mock" ,python-pytest-mock)
|
("python-pytest-mock" ,python-pytest-mock)
|
||||||
;; ("python-pytest-runner" ,python-pytest-runner)
|
("python-pytest-runner" ,python-pytest-runner)
|
||||||
;; ("python-requests-mock" ,python-requests-mock)))
|
("python-requests-mock" ,python-requests-mock)))
|
||||||
(home-page "https://mechanicalsoup.readthedocs.io/")
|
(home-page "https://mechanicalsoup.readthedocs.io/")
|
||||||
(synopsis "Python library for automating website interaction")
|
(synopsis "Python library for automating website interaction")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue