gnu: python2-oauthlib: Use python2-variant.
* gnu/packages/python.scm (python2-oauthlib): Use 'strip-python2-variant'. [native-inputs]: Add python2-setuptools. (python-oauthlib)[inputs]: Remove python-setuptools. [properties]: Define python2-variant for python2-oauthlib.
This commit is contained in:
parent
79b555edeb
commit
59f151ec54
|
@ -2364,8 +2364,7 @@ somewhat intelligeble.")
|
||||||
"1bfrj70vdjxjw74khbyh6f0dksv7p5rh2346jnlrffyacd3gwjzg"))))
|
"1bfrj70vdjxjw74khbyh6f0dksv7p5rh2346jnlrffyacd3gwjzg"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-setuptools" ,python-setuptools)
|
`(("python-coverage" ,python-coverage)
|
||||||
("python-coverage" ,python-coverage)
|
|
||||||
("python-nose" ,python-nose)
|
("python-nose" ,python-nose)
|
||||||
("python-mock" ,python-mock)))
|
("python-mock" ,python-mock)))
|
||||||
(inputs
|
(inputs
|
||||||
|
@ -2377,17 +2376,16 @@ somewhat intelligeble.")
|
||||||
(description
|
(description
|
||||||
"Oauthlib is a generic, spec-compliant, thorough implementation of the
|
"Oauthlib is a generic, spec-compliant, thorough implementation of the
|
||||||
OAuth request-signing logic.")
|
OAuth request-signing logic.")
|
||||||
(license bsd-3)))
|
(license bsd-3)
|
||||||
|
(properties `((python2-variant . ,(delay python2-oauthlib))))))
|
||||||
|
|
||||||
(define-public python2-oauthlib
|
(define-public python2-oauthlib
|
||||||
(let ((base (package-with-python2 python-oauthlib)))
|
(let ((base (package-with-python2 (strip-python2-variant python-oauthlib))))
|
||||||
(package
|
(package
|
||||||
(inherit base)
|
(inherit base)
|
||||||
(inputs
|
(native-inputs `(("python2-setuptools" ,python2-setuptools)
|
||||||
`(("python2-unittest2" ,python2-unittest2)
|
("python2-unittest2" ,python2-unittest2)
|
||||||
("python2-cryptography" ,python2-cryptography)
|
,@(package-native-inputs base))))))
|
||||||
,@(alist-delete "python-cryptography"
|
|
||||||
(package-inputs base)))))))
|
|
||||||
|
|
||||||
(define-public python-itsdangerous
|
(define-public python-itsdangerous
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue