David Thompson <[email protected]> skribis: > * gnu/packages/python.scm (python-discover, python2-discover): New variables.
[...] > +(define-public python-coverage > + (package > + (name "python-coverage") > + (version "3.7.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://pypi.python.org/packages/source/c/coverage/coverage-" > + version ".tar.gz")) > + (sha256 > + (base32 > + "0knlbq79g2ww6xzsyknj9rirrgrgc983dpa2d9nkdf31mb2a3bni")))) > + (build-system python-build-system) > + (inputs > + `(("python-setuptools" ,python-setuptools))) > + (home-page "http://nedbatchelder.com/code/coverage") > + (synopsis "Code coverage measurement for Python") > + (description > + "Coverage measures code coverage, typically during test execution. It > +uses the code analysis tools and tracing hooks provided in the Python > standard > +library to determine which lines are executable, and which have been > +executed.") > + (license bsd-3))) > + > +(define-public python2-coverage > + (package-with-python2 python-coverage)) This one looks OK, but you may want to move it to a separate patch, or to mention it in the commit log. > +(define-public python-discover OK. Ludo’.
