me
/
guix
Archived
1
0
Fork 0

gnu: python2-itsdangerous: Use 'strip-python2-variant'.

* gnu/packages/python.scm (python2-itsdangerous): Use
'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
(python-itsdangerous)[inputs]: Remove python-setuptools.
[properties]: Define python2-variant.
master
Efraim Flashner 2016-04-24 20:41:15 +03:00
parent 59f151ec54
commit 194d0d9843
1 changed files with 8 additions and 4 deletions

View File

@ -2401,17 +2401,21 @@ OAuth request-signing logic.")
(base32
"06856q6x675ly542ig0plbqcyab6ksfzijlyf1hzhgg3sgwgrcyb"))))
(build-system python-build-system)
(inputs
`(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/mitsuhiko/itsdangerous")
(synopsis "Python library for passing data to/from untrusted environments")
(description
"Itsdangerous provides various helpers to pass trusted data to untrusted
environments and back.")
(license bsd-3)))
(license bsd-3)
(properties `((python2-variant . ,(delay python2-itsdangerous))))))
(define-public python2-itsdangerous
(package-with-python2 python-itsdangerous))
(let ((base (package-with-python2
(strip-python2-variant python-itsdangerous))))
(package
(inherit base)
(native-inputs `(("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
(define-public python-pyyaml
(package