mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
054c940384
commit
ff0ada485a
1 changed files with 8 additions and 17 deletions
|
@ -10456,28 +10456,19 @@ by asyncio.")
|
||||||
(define-public python-protego
|
(define-public python-protego
|
||||||
(package
|
(package
|
||||||
(name "python-protego")
|
(name "python-protego")
|
||||||
(version "0.2.1")
|
(version "0.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "Protego" version))
|
(uri (pypi-uri "protego" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1wigcjyhz8zbk562zhgfbkm733dcn65j1swzvki79dys0i1nsrnz"))))
|
(base32 "1xn2aska8v94jqnbyv4ywczb55gaqvr298q8ybhs168knrifd9ck"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
`(#: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))
|
|
||||||
(home-page "https://github.com/scrapy/protego")
|
(home-page "https://github.com/scrapy/protego")
|
||||||
(synopsis
|
(synopsis "Python robots.txt parser with support for modern conventions")
|
||||||
"Pure-Python robots.txt parser with support for modern conventions")
|
(description "Protego is a pure-Python @file{robots.txt} parser with support
|
||||||
(description
|
for modern conventions.")
|
||||||
"Pure-Python robots.txt parser with support for modern conventions.")
|
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-parsel
|
(define-public python-parsel
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue