[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/23: gnu: Add python-soupsieve, python2-soupsieve.
From: |
guix-commits |
Subject: |
11/23: gnu: Add python-soupsieve, python2-soupsieve. |
Date: |
Sun, 5 May 2019 11:15:25 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit ad74978a951b81081495561419ecbff5bb412397
Author: Brendan Tildesley <address@hidden>
Date: Sat May 4 02:42:19 2019 +1000
gnu: Add python-soupsieve, python2-soupsieve.
* gnu/packages/python-xyz.scm (python-soupsieve): New variable.
(python2-soupsieve): New variable.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
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 31f3ea3..42e8a60 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5559,6 +5559,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")
- 21/23: gnu: calibre: Install man pages., (continued)
- 21/23: gnu: calibre: Install man pages., guix-commits, 2019/05/05
- 23/23: gnu: calibre: Update to 3.42.0., guix-commits, 2019/05/05
- 19/23: gnu: calibre: Remove libxrender as an input., guix-commits, 2019/05/05
- 01/23: gnu: calibre: Update to 3.41.3., guix-commits, 2019/05/05
- 05/23: gnu: calibre: Move font unbundling to after check phase., guix-commits, 2019/05/05
- 07/23: gnu: calibre: Add python2-html2text as an input., guix-commits, 2019/05/05
- 12/23: gnu: calibre: Use "linux.py" to install desktop files., guix-commits, 2019/05/05
- 14/23: gnu: calibre: Disable Qt test., guix-commits, 2019/05/05
- 13/23: gnu: calibre: Disable bs4 test., guix-commits, 2019/05/05
- 09/23: gnu: calibre: Remove unrar test., guix-commits, 2019/05/05
- 11/23: gnu: Add python-soupsieve, python2-soupsieve.,
guix-commits <=
- 22/23: gnu: calibre: Shorten long line., guix-commits, 2019/05/05