~ruther/guix-local

ff0ada485ae5aa5f9ac1372aa4898a609c199472 — Vinicius Monego 11 months ago 054c940
gnu: python-protego: Update to 0.4.0.

* gnu/packages/python-web.scm (python-protego): Update to 0.4.0.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.
[synopsis, description]: Improve it.

Change-Id: I2fa28415e26d0abe8bcad68dea73885d721b1fdd
1 files changed, 8 insertions(+), 17 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +8 -17
@@ 10456,28 10456,19 @@ by asyncio.")
(define-public python-protego
  (package
    (name "python-protego")
    (version "0.2.1")
    (version "0.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "Protego" version))
        (uri (pypi-uri "protego" version))
        (sha256
          (base32 "1wigcjyhz8zbk562zhgfbkm733dcn65j1swzvki79dys0i1nsrnz"))))
    (build-system python-build-system)
    (arguments
     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (invoke "pytest")))))))
    (propagated-inputs (list python-six))
    (native-inputs (list python-pytest))
          (base32 "1xn2aska8v94jqnbyv4ywczb55gaqvr298q8ybhs168knrifd9ck"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-pytest python-setuptools python-wheel))
    (home-page "https://github.com/scrapy/protego")
    (synopsis
      "Pure-Python robots.txt parser with support for modern conventions")
    (description
      "Pure-Python robots.txt parser with support for modern conventions.")
    (synopsis "Python robots.txt parser with support for modern conventions")
    (description "Protego is a pure-Python @file{robots.txt} parser with support
for modern conventions.")
    (license license:bsd-3)))

(define-public python-parsel