[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55044] [PATCH 6/8] gnu: Add python-parsel.
From: |
Felix Gruber |
Subject: |
[bug#55044] [PATCH 6/8] gnu: Add python-parsel. |
Date: |
Wed, 20 Apr 2022 17:28:02 +0000 |
* gnu/packages/python-web.scm (python-parsel): New variable.
---
gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 05104f8fe2..da3f9cf980 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6493,3 +6493,29 @@ by asyncio.")
(description
"Pure-Python robots.txt parser with support for modern conventions.")
(license license:bsd-3)))
+
+(define-public python-parsel
+ (package
+ (name "python-parsel")
+ (version "1.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "parsel" version))
+ (sha256
+ (base32 "0yawf9r3r863lwxj0n89i7h3n8xjbsl5b7n6xg76r68scl5yzvvh"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list python-cssselect
+ python-lxml
+ python-six
+ python-w3lib))
+ (native-inputs
+ (list python-pytest python-pytest-runner))
+ (home-page "https://github.com/scrapy/parsel")
+ (synopsis
+ "Parsel is a library to extract data from HTML and XML using XPath and
CSS selectors")
+ (description "Parsel is a library to extract and remove data from
+HTML and XML using XPath and CSS selectors, optionally combined with
+regular expressions.")
+ (license license:bsd-3)))
--
2.30.2
- [bug#55044] [PATCH 0/8] Add python-scrapy., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 3/8] gnu: Add python-queuelib., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 1/8] gnu: Add python-sybil., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 6/8] gnu: Add python-parsel.,
Felix Gruber <=
- [bug#55044] [PATCH 7/8] gnu: Add python-itemloaders., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 4/8] gnu: Add python-itemadapter., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 2/8] gnu: Add python-pydispatcher., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 5/8] gnu: Add python-protego., Felix Gruber, 2022/04/20
- [bug#55044] [PATCH 8/8] gnu: Add python-scrapy., Felix Gruber, 2022/04/20