[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/32: gnu: Add python-protego.
From: |
guix-commits |
Subject: |
29/32: gnu: Add python-protego. |
Date: |
Mon, 2 May 2022 09:16:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d219d48cce59e02195e32a80c16e0b7cffb11e75
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Wed Apr 20 17:28:01 2022 +0000
gnu: Add python-protego.
* gnu/packages/python-web.scm (python-protego): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7e333916b6..05104f8fe2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6466,3 +6466,30 @@ as Flask.")
"This package provides a Python JSON-RPC 2.0 protocol and server powered
by asyncio.")
(license license:expat)))
+
+(define-public python-protego
+ (package
+ (name "python-protego")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (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))
+ (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.")
+ (license license:bsd-3)))
- 17/32: gnu: ugrep: Update to 3.7.9., (continued)
- 17/32: gnu: ugrep: Update to 3.7.9., guix-commits, 2022/05/02
- 20/32: gnu: apl: Remove input labels., guix-commits, 2022/05/02
- 22/32: gnu: fmt: Update to 8.1.1., guix-commits, 2022/05/02
- 05/32: gnu: aws-c-io: Fix comment formatting., guix-commits, 2022/05/02
- 27/32: gnu: Add python-queuelib., guix-commits, 2022/05/02
- 14/32: gnu: aws-lc: Fix checksum and enable tests., guix-commits, 2022/05/02
- 18/32: gnu: Add emacs-git-email., guix-commits, 2022/05/02
- 21/32: gnu: apl: Use G-expressions., guix-commits, 2022/05/02
- 26/32: gnu: Add python-pydispatcher., guix-commits, 2022/05/02
- 28/32: gnu: Add python-itemadapter., guix-commits, 2022/05/02
- 29/32: gnu: Add python-protego.,
guix-commits <=
- 32/32: gnu: Add python-scrapy., guix-commits, 2022/05/02