From e7881f3db4dfddf46c3cd61ee684a2efd629ce1b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Thu, 13 Oct 2016 13:35:55 +0200 Subject: [PATCH] gnu: Fix python inputs, part 2: all inputs become native-inputs. This patch contains the changes where all [inputs] are changed to [native-inputs]. * gnu/packages/python.scm (python-pytest, python-fixtures, python-testrepository, python-virtualenv): All [inputs] are changed to [native-inputs]. * gnu/packages/openstack.scm (python-bandit, python-debtcollector, python-hacking, python-tempest-lib, python-oslo.config, python-oslo.context, python-oslo.i18n, python-oslo.log, python-oslo.serialization, python-oslosphinx, python-oslotest, python-oslo.utils): Likewise. --- gnu/packages/openstack.scm | 24 ++++++++++++------------ gnu/packages/python.scm | 8 ++++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 8cf3b957a7..327c4f984e 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -49,7 +49,7 @@ (define-public python-bandit ("python-pyyaml" ,python-pyyaml) ("python-six" ,python-six) ("python-stevedore" ,python-stevedore))) - (inputs + (native-inputs `(("python-pbr" ,python-pbr) ;; Tests ("python-fixtures" ,python-fixtures) @@ -84,7 +84,7 @@ (define-public python-debtcollector (propagated-inputs `(("python-six" ,python-six) ("python-wrapt" ,python-wrapt))) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-pbr" ,python-pbr) ;; Tests. @@ -120,7 +120,7 @@ (define-public python-hacking ("python-pep8-1.5.7" ,python-pep8-1.5.7) ("python-pyflakes-0.8.1" ,python-pyflakes-0.8.1) ("python-six" ,python-six))) - (inputs + (native-inputs `(;; Tests ("python-testscenarios" ,python-testscenarios))) (home-page "http://github.com/openstack-dev/hacking") @@ -333,7 +333,7 @@ (define-public python-tempest-lib ("python-paramiko" ,python-paramiko) ("python-pbr" ,python-pbr) ("python-six" ,python-six))) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-mock" ,python-mock) ("python-os-testr" ,python-os-testr) @@ -368,7 +368,7 @@ (define-public python-oslo.config `(("python-netaddr" ,python-netaddr) ("python-six" ,python-six) ("python-stevedore" ,python-stevedore))) - (inputs + (native-inputs `(("python-pbr" ,python-pbr) ;; Tests ("python-oslo.i18n" ,python-oslo.i18n) @@ -397,7 +397,7 @@ (define-public python-oslo.context (base32 "0kvha0rs9295njyl2z6n6zm5dapi5mrl5zwjm0m6ldqrvccyf8c3")))) (build-system python-build-system) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-pbr" ,python-pbr) ;; Tests. @@ -428,7 +428,7 @@ (define-public python-oslo.i18n (propagated-inputs `(("python-babel" ,python-babel) ("python-six" ,python-six))) - (inputs + (native-inputs `(("python-pbr" ,python-pbr) ;; Tests ("python-mock" ,python-mock) @@ -469,7 +469,7 @@ (define-public python-oslo.log ("python-oslo.utils" ,python-oslo.utils) ("python-oslo.serialization" ,python-oslo.serialization) ("python-six" ,python-six))) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-iso8601" ,python-iso8601) ("python-mock" ,python-mock) @@ -505,7 +505,7 @@ (define-public python-oslo.serialization ("python-simplejson" ,python-simplejson) ("python-six" ,python-six) ("python-pytz" ,python-pytz))) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-pbr" ,python-pbr) ;; Tests. @@ -536,7 +536,7 @@ (define-public python-oslosphinx (build-system python-build-system) (propagated-inputs `(("python-requests" ,python-requests))) - (inputs + (native-inputs `(("python-pbr" ,python-pbr) ("python-docutils" ,python-docutils) ("python-hacking" ,python-hacking) @@ -571,7 +571,7 @@ (define-public python-oslotest ("python-mock" ,python-mock) ("python-mox3" ,python-mox3) ("python-six" ,python-six))) - (inputs + (native-inputs `(("python-pbr" ,python-pbr) ("python-os-client-config" ,python-os-client-config) ("python-subunit" ,python-subunit) @@ -614,7 +614,7 @@ (define-public python-oslo.utils ("python-netifaces" ,python-netifaces) ("python-pytz" ,python-pytz) ("python-six" ,python-six))) - (inputs + (native-inputs `(("python-babel" ,python-babel) ("python-pbr" ,python-pbr) ;; Tests. diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3de73c76a5..8714cc1d31 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1608,7 +1608,7 @@ (define-public python-pytest (("def test_remove_dir_prefix\\(self\\):") "@pytest.mark.xfail\n def test_remove_dir_prefix(self):"))))) (build-system python-build-system) - (inputs + (native-inputs `(("python-py" ,python-py) ("python-nose" ,python-nose) ("python-mock" ,python-mock))) @@ -2042,7 +2042,7 @@ (define-public python-fixtures (propagated-inputs `(("python-six" ,python-six) ("python-pbr-0.11" ,python-pbr-0.11))) - (inputs + (native-inputs `(;; Tests ("python-testtools" ,python-testtools))) (arguments @@ -2074,7 +2074,7 @@ (define-public python-testrepository (propagated-inputs `(("python-fixtures-0.3.16" ,python-fixtures-0.3.16) ("python-testtools" ,python-testtools))) - (inputs + (native-inputs `(("python-subunit" ,python-subunit) ("python-mimeparse" ,python-mimeparse))) (home-page "https://launchpad.net/testrepository") @@ -2579,7 +2579,7 @@ (define-public python-virtualenv (substitute* "tests/test_virtualenv.py" (("skipif.*") "skipif(True, reason=\"Guix\")\n")) (zero? (system* "py.test"))))))) - (inputs + (native-inputs `(("python-mock" ,python-mock) ("python-pytest" ,python-pytest))) (home-page "https://virtualenv.pypa.io/")