~ruther/guix-local

8245801e613dfb7cb4620e13c7feebbb168015fa — Sharlatan Hellseher 4 months ago 42df16c
gnu: Add python-pytest-split.

* gnu/packages/python-check.scm (python-pytest-split): New variable.

Change-Id: If5137abe8d1dd5f9cb6a8f93bd7e740cf5fcec94
1 files changed, 33 insertions(+), 0 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +33 -0
@@ 3679,6 3679,39 @@ unexpectedly.")
through Python's socket interface")
    (license license:expat)))

(define-public python-pytest-split
  (package
    (name "python-pytest-split")
    (version "0.10.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/jerry-git/pytest-split")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256 (base32 "1w42zkw22h0ydfhbjdjp93frbrzi1rlkr17ifb9kavcbv7kfqxfl"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'fix-pytest-config
            (lambda _
              (substitute* "pyproject.toml"
                (("--cov.*") "")
                (("--no-cov-on-fail.*") "")))))))
    (native-inputs
     (list python-poetry-core
           python-pytest-bootstrap))
    (home-page "https://jerry-git.github.io/pytest-split/")
    (synopsis "Pytest plugin to split the test suite to equally sized sub sutes")
    (description
     "This package provides Pytest plugin which splits the test suite to equally
sized sub suites based on
test execution time.")
    (license license:expat)))

(define-public python-pytest-steps
  (package
    (name "python-pytest-steps")