~ruther/guix-local

be7061cea30b59676fc473d6bd4a56a0f2fbd7cf — Maxim Cournoyer 5 years ago 9837bc5
gnu: python-pytest: Propagate python-iniconfig, python-toml.

Based on a reading of the install_requires field of its setup.cfg file.

* gnu/packages/check.scm (python-pytest)[native-inputs]: Move
python-iniconfig...
[propagated-inputs]: ... to here.  Add python-toml.  Remove
python-atomicwrites, apparently only required on the win32 platform.
1 files changed, 4 insertions(+), 3 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +4 -3
@@ 67,6 67,7 @@
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-build)
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages time)


@@ 907,19 908,19 @@ standard library.")
                          " and not test_color_yes"))
                 (format #t "test suite not run~%")))))))
    (propagated-inputs
     `(("python-atomicwrites" ,python-atomicwrites)
       ("python-attrs" ,python-attrs-bootstrap)
     `(("python-attrs" ,python-attrs-bootstrap)
       ("python-iniconfig" ,python-iniconfig)
       ("python-more-itertools" ,python-more-itertools)
       ("python-packaging" ,python-packaging-bootstrap)
       ("python-pluggy" ,python-pluggy)
       ("python-py" ,python-py)
       ("python-six" ,python-six-bootstrap)
       ("python-toml" ,python-toml)
       ("python-wcwidth" ,python-wcwidth)))
    (native-inputs
     `(;; Tests need the "regular" bash since 'bash-final' lacks `compgen`.
       ("bash" ,bash)
       ("python-hypothesis" ,python-hypothesis)
       ("python-iniconfig" ,python-iniconfig)
       ("python-nose" ,python-nose)
       ("python-mock" ,python-mock)
       ("python-pytest" ,python-pytest-bootstrap)