gnu: python-soupsieve: Fix python2 variant.

* gnu/packages/python-xyz.scm (python-soupsieve)[properties]: New field.
(python2-soupsieve): Inherit using STRIP-PYTHON2-VARIANT.
[propagated-inputs]: Inherit from BASE.
master
Marius Bakke 2019-06-03 18:31:05 +02:00
parent f319409be0
commit d00b83fb8a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 2 deletions

View File

@ -5443,14 +5443,17 @@ 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).")
(properties `((python2-variant . ,(delay python2-soupsieve))))
(license license:expat)))
(define-public python2-soupsieve
(let ((base (package-with-python2 python-soupsieve)))
(let ((base (package-with-python2 (strip-python2-variant python-soupsieve))))
(package
(inherit base)
(propagated-inputs
`(("python2-backports-functools-lru-cache" ,python2-backports-functools-lru-cache))))))
`(("python2-backports-functools-lru-cache"
,python2-backports-functools-lru-cache)
,@(package-propagated-inputs base))))))
(define-public python-netifaces
(package