diff options
| author | Leo Famulari <leo@famulari.name> | 2016-02-12 01:06:23 -0500 |
|---|---|---|
| committer | Leo Famulari <leo@famulari.name> | 2016-02-12 18:50:32 -0500 |
| commit | 8ad4ae204f5205c1335cceff22058411a67392eb (patch) | |
| tree | 45c86d8ac8d88b37c36fca37f0b009e018d5e1c9 /gnu/packages/openstack.scm | |
| parent | a14600ecfa6d4304418cda8668dfefdc2c1ce715 (diff) | |
gnu: python-wheel: Define 'python2-variant'.
* gnu/packages/python.scm (python-wheel)[properties]: New field.
(python2-wheel): Use 'strip-python2-variant'.
(python2-requests): Take the result of 'package-with-python2' directly.
* gnu/packages/openstack.scm (python2-requests-mock): Likewise.
(python2-oslosphinx): Likewise.
Diffstat (limited to 'gnu/packages/openstack.scm')
| -rw-r--r-- | gnu/packages/openstack.scm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 9a42a913400..08a76a3695a 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -304,12 +304,7 @@ portions of your testing code.") | |||
| 304 | (license asl2.0))) | 304 | (license asl2.0))) |
| 305 | 305 | ||
| 306 | (define-public python2-requests-mock | 306 | (define-public python2-requests-mock |
| 307 | (let ((requests-mock (package-with-python2 python-requests-mock))) | 307 | (package-with-python2 python-requests-mock)) |
| 308 | (package (inherit requests-mock) | ||
| 309 | (propagated-inputs | ||
| 310 | `(("python2-requests" ,python2-requests) | ||
| 311 | ,@(alist-delete "python-requests" | ||
| 312 | (package-propagated-inputs requests-mock))))))) | ||
| 313 | 308 | ||
| 314 | (define-public python-stevedore | 309 | (define-public python-stevedore |
| 315 | (package | 310 | (package |
| @@ -601,9 +596,7 @@ from the OpenStack project.") | |||
| 601 | (license asl2.0))) | 596 | (license asl2.0))) |
| 602 | 597 | ||
| 603 | (define-public python2-oslosphinx | 598 | (define-public python2-oslosphinx |
| 604 | (let ((oslosphinx (package-with-python2 python-oslosphinx))) | 599 | (package-with-python2 python-oslosphinx)) |
| 605 | (package (inherit oslosphinx) | ||
| 606 | (propagated-inputs `(("python2-requests" ,python2-requests)))))) | ||
| 607 | 600 | ||
| 608 | (define-public python-oslotest | 601 | (define-public python-oslotest |
| 609 | (package | 602 | (package |
