[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35446] [PATCH 18/26] gnu: Add python-soupsieve, python2-soupsieve
From: |
Brendan Tildesley |
Subject: |
[bug#35446] [PATCH 18/26] gnu: Add python-soupsieve, python2-soupsieve |
Date: |
Sat, 27 Apr 2019 19:36:51 +1000 |
* gnu/packages/python-xyz.scm (python-soupsieve, python2-soupsieve): New
variables.
---
gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f1ea1e22ad..054ec31846 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5272,6 +5272,39 @@ converts incoming documents to Unicode and outgoing
documents to UTF-8.")
(strip-python2-variant python-beautifulsoup4)))
(arguments `(#:python ,python-2))))
+(define-public python-soupsieve
+ (package
+ (name "python-soupsieve")
+ (version "1.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "soupsieve" version))
+ (sha256
+ (base32
+ "1jnzkiwmjl6yvqckc9mf689g87b6yz07sv868hap2aa5arggy3mj"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f))
+ ;;XXX: 2 tests fail currently despite claming they were to be
+ ;;skipped. Also, beautifulsoup4 may depend on this in the future, so we
+ ;;don't want to create a circular dependency.
+ (home-page "https://github.com/facelessuser/soupsieve")
+ (synopsis "CSS selector library")
+ (description
+ "Soup Sieve is a CSS selector library designed to be used with Beautiful
+Soup 4. It aims to provide selecting, matching, and filtering using modern
+CSS selectors. Soup Sieve currently provides selectors from the CSS level 1
+specifications up through the latest CSS level 4 drafts and beyond (though
+some are not yet implemented).")
+ (license license:expat)))
+
+(define-public python2-soupsieve
+ (let ((base (package-with-python2 python-soupsieve)))
+ (package
+ (inherit base)
+ (propagated-inputs
+ `(("python2-backports-functools-lru-cache"
,python2-backports-functools-lru-cache))))))
+
(define-public python-netifaces
(package
(name "python-netifaces")
--
2.21.0
- [bug#35446] [PATCH 21/26] gnu: calibre: Disable Qt test., (continued)
- [bug#35446] [PATCH 21/26] gnu: calibre: Disable Qt test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 11/26] gnu: calibre: Add missing dependencies as indicated by tests., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 17/26] gnu: calibre: Disable tests that require networking., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 20/26] gnu: calibre: Disable bs4 test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 19/26] gnu: calibre: Use linux.py to install desktop files., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 05/26] Update email address for Brendan Tildesley, Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 07/26] gnu: calibre: Remove markdown unbundling code., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 03/26] gnu: calibre: Update to 3.41.3., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 10/26] gnu: calibre: Enable tests., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 15/26] gnu: calibre: Add python2-html2text as an input., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 18/26] gnu: Add python-soupsieve, python2-soupsieve,
Brendan Tildesley <=
- [bug#35446] [PATCH 12/26] gnu: calibre: Patch out unrar test., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 04/26] gnu: calibre: Remove feedparser patch., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 08/26] gnu: calibre: Use system mathjax., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 09/26] gnu: calibre: Build rapydscript., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 06/26] gnu: calibre: [inputs]: Replace cssutils with the css-parser fork., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 23/26] gnu: Calibre: Remove some comments., Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 24/26] gnu: calibre: Unbundle python2-odfpy, Brendan Tildesley, 2019/04/27
- [bug#35446] [PATCH 26/26] gnu: calibre: Delete various junk from source., Brendan Tildesley, 2019/04/27