(define-module (gn packages check) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages check) #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) #:use-module (past packages python27)) (define-public python-nosexcover (package (name "python-nosexcover") (version "1.0.11") (source (origin (method url-fetch) (uri (pypi-uri "nosexcover" version)) (sha256 (base32 "10xqr12qv62k2flxwqhh8cr00cjhn7sfjrm6p35gd1x5bmjkr319")))) (build-system python-build-system) (propagated-inputs (list python-coverage python-nose)) (home-page "https://github.com/cmheisel/nose-xcover") (synopsis "Extends nose.plugins.cover to add Cobertura-style XML reports") (description "Nose-xcover is a companion to the built-in @code{nose.plugins.cover}. This plugin will write out an XML coverage report to a file named coverage.xml. It will honor all the options you pass to the Nose coverage plugin, especially -cover-package.") (license license:expat))) (define-public python-traceback2 (package (name "python-traceback2") (version "1.4.0") (source (origin (method url-fetch) (uri (pypi-uri "traceback2" version)) (sha256 (base32 "0c1h3jas1jp1fdbn9z2mrgn3jj0hw1x3yhnkxp7jw34q15xcdb05")))) (build-system python-build-system) (arguments `(;; python-traceback2 and python-unittest2 depend on one another. #:tests? #f)) (native-inputs (list python-pbr)) (propagated-inputs (list python-linecache2 python-six)) (home-page "https://github.com/testing-cabal/traceback2") (synopsis "Backports of the traceback module") (description "This module provides a standard interface to extract, format and print stack traces of Python programs. It exactly mimics the behavior of the Python interpreter when it prints a stack trace.") (license license:psfl))) (define-public python-unittest2 (package (name "python-unittest2") (version "1.1.0") (source (origin (method url-fetch) (uri (pypi-uri "unittest2" version)) (patches (search-patches "python-unittest2-python3-compat.patch" "python-unittest2-remove-argparse.patch")) (sha256 (base32 "0y855kmx7a8rnf81d3lh5lyxai1908xjp0laf4glwa4c8472m212")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check (lambda _ (zero? (system* "python" "-m" "unittest2" "discover" "--verbose"))))))) (propagated-inputs (list python-six python-traceback2)) (home-page "https://pypi.org/project/unittest2/") (synopsis "Python unit testing library") (description "Unittest2 is a replacement for the unittest module in the Python standard library.") (license license:psfl))) (define-public python-pyux (package (name "python-pyux") (version "0.0.6") (source (origin (method url-fetch) (uri (pypi-uri "pyux" version)) (sha256 (base32 "1i17xh4dy238ibrjdgh8vn78fk5q6dj37mcznpvdfzidj57js7ca")))) (build-system pyproject-build-system) (arguments `(#:tests? #f)) ;the mini test suite fails (native-inputs (list python-pytest python-setuptools)) (home-page "https://github.com/farizrahman4u/pyux") (synopsis "Utility to check API integrity in Python libraries") (description "The pyux utility detects API changes in Python libraries.") (license license:expat)))