guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ff0ada485ae5aa5f9ac1372aa4898a609c199472
Author: Vinicius Monego <[email protected]>
AuthorDate: Tue Jun 3 07:41:02 2025 -0300
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
---
gnu/packages/python-web.scm | 25 ++++++++-----------------
1 file 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