26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …
htgoebel pushed a commit to branch wip-python-build-system in repository guix. commit df247bba82411b1f9d8f876e12128ed6d415051e Author: Hartmut GoebelDate: Fri Oct 7 21:27:08 2016 +0200 make native-inputs: simple ones: one nose, docuitls, phinx, tests, … --- gnu/packages/python.scm | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index eb2b01d..f069688 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2335,7 +2335,7 @@ version numbers.") (base32 "0hddbqjm4jq63y8jf44nswina1crjs16l9snb6m3vvgyg31klrrn" (build-system python-build-system) -(inputs +(native-inputs `(("python-vcversioner" ,python-vcversioner))) (home-page "http://github.com/Julian/jsonschema;) (synopsis "Implementation of JSON Schema for Python") @@ -2845,8 +2845,9 @@ and is very extensible.") (system* "nosetests" "-v" "sklearn"))) (alist-delete 'check %standard-phases) (inputs - `(("openblas" ,openblas) - ("python-nose" ,python-nose))) + `(("openblas" ,openblas))) +(native-inputs + `(("python-nose" ,python-nose))) (propagated-inputs `(("python-numpy" ,python-numpy) ("python-scipy" ,python-scipy))) @@ -3008,9 +3009,10 @@ writing C extensions for Python as easy as Python itself.") (base32 "1bjjhvncraka5s6i4lg644jrxij6bvycxy7an20gcz3a0m11iygp" (build-system python-build-system) +(native-inputs + `(("python-nose" ,python-nose))) (inputs - `(("python-nose" ,python-nose) - ("openblas" ,openblas) + `(("openblas" ,openblas) ("lapack" ,lapack))) (native-inputs `(("gfortran" ,gfortran))) @@ -3227,7 +3229,7 @@ that client code uses to construct the grammar directly in Python code.") (substitute* "numpydoc/tests/test_plot_directive.py" (("3") "2")) (build-system python-build-system) -(inputs +(native-inputs `(("python-docutils" ,python-docutils) ("python-sphinx" ,python-sphinx) ("python-nose" ,python-nose))) @@ -5097,7 +5099,7 @@ PEP 8.") (base32 "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws" (build-system python-build-system) -(inputs +(native-inputs `(("python-pytest" ,python-pytest) ("python-pytest-runner" ,python-pytest-runner))) (home-page "https://github.com/flintwork/mccabe;) @@ -5178,8 +5180,8 @@ complexity of Python source code.") `(("python-pep8" ,python-pep8) ("python-pyflakes" ,python-pyflakes) ("python-mccabe" ,python-mccabe))) -(inputs - `(("python-mock" ,python-mock) +(native-inputs + `(("python-mock" ,python-mock) ; TODO: only required for < 3.3 ("python-nose" ,python-nose))) (home-page "https://gitlab.com/pycqa/flake8;) (synopsis @@ -5229,7 +5231,7 @@ complexity of Python source code.") (base32 "17zqjp9m4d1w3jf2rbbq5xshcw24q1vlcv24gkgfqqyyymajxahx" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose) ("python-cython" ,python-cython))) (home-page "https://github.com/lepture/mistune;) @@ -5288,7 +5290,7 @@ markdown_py is also provided to convert Markdown files to HTML.") (base32 "0nggns5kikn32yyda2zrj1xdmh49pi3v0drggcdwljbv36r8zdyw" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose))) (arguments `(#:phases @@ -5602,7 +5604,7 @@ fractional seconds) of a clock which never goes backwards.") (base32 "02bhhzijfhv8hmi1i54d4b0v43liwhnywhflvxsv4x3zax9s3afq" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose))) (home-page "http://webob.org/;) (synopsis "WSGI request and response object") @@ -6935,7 +6937,7 @@ applications.") (base32 "1iks5701qnp3dlr3q1d9qm68y2plp2m029irhpz92a44psfkjf1f" (build-system python-build-system) -(inputs +(native-inputs `(("python-pytest" ,python-pytest))) (synopsis "Namespace control and lazy-import mechanism") (description "With apipkg you can control the exported namespace of a Python @@ -8045,7 +8047,7 @@ RabbitMQ messaging server is the most popular implementation.") (strip-python2-variant python-kombu (package (inherit kombu) - (inputs `(("python2-unittest2" ,python2-unittest2) + (native-inputs `(("python2-unittest2" ,python2-unittest2) ,@(package-inputs kombu)) (define-public python-billiard
26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …
htgoebel pushed a commit to branch wip-python-build-system in repository guix. commit 0a304c62ae2ef0227d1bb0d4eae98e10dd5f23c8 Author: Hartmut GoebelDate: Fri Oct 7 21:27:08 2016 +0200 make native-inputs: simple ones: one nose, docuitls, phinx, tests, … --- gnu/packages/python.scm | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3524b01..f9b41bd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2330,7 +2330,7 @@ version numbers.") (base32 "0hddbqjm4jq63y8jf44nswina1crjs16l9snb6m3vvgyg31klrrn" (build-system python-build-system) -(inputs +(native-inputs `(("python-vcversioner" ,python-vcversioner))) (home-page "http://github.com/Julian/jsonschema;) (synopsis "Implementation of JSON Schema for Python") @@ -2840,8 +2840,9 @@ and is very extensible.") (system* "nosetests" "-v" "sklearn"))) (alist-delete 'check %standard-phases) (inputs - `(("openblas" ,openblas) - ("python-nose" ,python-nose))) + `(("openblas" ,openblas))) +(native-inputs + `(("python-nose" ,python-nose))) (propagated-inputs `(("python-numpy" ,python-numpy) ("python-scipy" ,python-scipy))) @@ -3003,9 +3004,10 @@ writing C extensions for Python as easy as Python itself.") (base32 "1bjjhvncraka5s6i4lg644jrxij6bvycxy7an20gcz3a0m11iygp" (build-system python-build-system) +(native-inputs + `(("python-nose" ,python-nose))) (inputs - `(("python-nose" ,python-nose) - ("openblas" ,openblas) + `(("openblas" ,openblas) ("lapack" ,lapack))) (native-inputs `(("gfortran" ,gfortran))) @@ -3222,7 +3224,7 @@ that client code uses to construct the grammar directly in Python code.") (substitute* "numpydoc/tests/test_plot_directive.py" (("3") "2")) (build-system python-build-system) -(inputs +(native-inputs `(("python-docutils" ,python-docutils) ("python-sphinx" ,python-sphinx) ("python-nose" ,python-nose))) @@ -5092,7 +5094,7 @@ PEP 8.") (base32 "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws" (build-system python-build-system) -(inputs +(native-inputs `(("python-pytest" ,python-pytest) ("python-pytest-runner" ,python-pytest-runner))) (home-page "https://github.com/flintwork/mccabe;) @@ -5173,8 +5175,8 @@ complexity of Python source code.") `(("python-pep8" ,python-pep8) ("python-pyflakes" ,python-pyflakes) ("python-mccabe" ,python-mccabe))) -(inputs - `(("python-mock" ,python-mock) +(native-inputs + `(("python-mock" ,python-mock) ; TODO: only required for < 3.3 ("python-nose" ,python-nose))) (home-page "https://gitlab.com/pycqa/flake8;) (synopsis @@ -5224,7 +5226,7 @@ complexity of Python source code.") (base32 "17zqjp9m4d1w3jf2rbbq5xshcw24q1vlcv24gkgfqqyyymajxahx" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose) ("python-cython" ,python-cython))) (home-page "https://github.com/lepture/mistune;) @@ -5283,7 +5285,7 @@ markdown_py is also provided to convert Markdown files to HTML.") (base32 "0nggns5kikn32yyda2zrj1xdmh49pi3v0drggcdwljbv36r8zdyw" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose))) (arguments `(#:phases @@ -5600,7 +5602,7 @@ fractional seconds) of a clock which never goes backwards.") (base32 "02bhhzijfhv8hmi1i54d4b0v43liwhnywhflvxsv4x3zax9s3afq" (build-system python-build-system) -(inputs +(native-inputs `(("python-nose" ,python-nose))) (home-page "http://webob.org/;) (synopsis "WSGI request and response object") @@ -6927,7 +6929,7 @@ applications.") (base32 "1iks5701qnp3dlr3q1d9qm68y2plp2m029irhpz92a44psfkjf1f" (build-system python-build-system) -(inputs +(native-inputs `(("python-pytest" ,python-pytest))) (synopsis "Namespace control and lazy-import mechanism") (description "With apipkg you can control the exported namespace of a Python @@ -8037,7 +8039,7 @@ RabbitMQ messaging server is the most popular implementation.") (strip-python2-variant python-kombu (package (inherit kombu) - (inputs `(("python2-unittest2" ,python2-unittest2) + (native-inputs `(("python2-unittest2" ,python2-unittest2) ,@(package-inputs kombu)) (define-public python-billiard