summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2025-06-03 07:41:02 -0300
committerVinicius Monego <monego@posteo.net>2025-06-04 20:29:34 -0300
commitff0ada485ae5aa5f9ac1372aa4898a609c199472 (patch)
tree90eb1363f5b341fd0f03a3bd8c322ad3eb8e9de4 /gnu/packages/python-web.scm
parent054c940384dfb16f078330988ec199d8d7517e3e (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.scm25
1 files changed, 8 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ece158aff7..b773ce3ca4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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