diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-06-03 07:41:02 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-06-04 20:29:34 -0300 |
| commit | ff0ada485ae5aa5f9ac1372aa4898a609c199472 (patch) | |
| tree | 90eb1363f5b341fd0f03a3bd8c322ad3eb8e9de4 /gnu/packages/python-web.scm | |
| parent | 054c940384dfb16f078330988ec199d8d7517e3e (diff) | |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ece158aff7b..b773ce3ca4d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -10456,28 +10456,19 @@ by asyncio.") | |||
| 10456 | (define-public python-protego | 10456 | (define-public python-protego |
| 10457 | (package | 10457 | (package |
| 10458 | (name "python-protego") | 10458 | (name "python-protego") |
| 10459 | (version "0.2.1") | 10459 | (version "0.4.0") |
| 10460 | (source | 10460 | (source |
| 10461 | (origin | 10461 | (origin |
| 10462 | (method url-fetch) | 10462 | (method url-fetch) |
| 10463 | (uri (pypi-uri "Protego" version)) | 10463 | (uri (pypi-uri "protego" version)) |
| 10464 | (sha256 | 10464 | (sha256 |
| 10465 | (base32 "1wigcjyhz8zbk562zhgfbkm733dcn65j1swzvki79dys0i1nsrnz")))) | 10465 | (base32 "1xn2aska8v94jqnbyv4ywczb55gaqvr298q8ybhs168knrifd9ck")))) |
| 10466 | (build-system python-build-system) | 10466 | (build-system pyproject-build-system) |
| 10467 | (arguments | 10467 | (native-inputs (list python-pytest python-setuptools python-wheel)) |
| 10468 | `(#:phases | ||
| 10469 | (modify-phases %standard-phases | ||
| 10470 | (replace 'check | ||
| 10471 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 10472 | (when tests? | ||
| 10473 | (invoke "pytest"))))))) | ||
| 10474 | (propagated-inputs (list python-six)) | ||
| 10475 | (native-inputs (list python-pytest)) | ||
| 10476 | (home-page "https://github.com/scrapy/protego") | 10468 | (home-page "https://github.com/scrapy/protego") |
| 10477 | (synopsis | 10469 | (synopsis "Python robots.txt parser with support for modern conventions") |
| 10478 | "Pure-Python robots.txt parser with support for modern conventions") | 10470 | (description "Protego is a pure-Python @file{robots.txt} parser with support |
| 10479 | (description | 10471 | for modern conventions.") |
| 10480 | "Pure-Python robots.txt parser with support for modern conventions.") | ||
| 10481 | (license license:bsd-3))) | 10472 | (license license:bsd-3))) |
| 10482 | 10473 | ||
| 10483 | (define-public python-parsel | 10474 | (define-public python-parsel |
