~ruther/guix-local

64b61ef05d64d0645627c012e1ba052156e6ebff — Sharlatan Hellseher 6 months ago bdba3e0
gnu: python-aioitertools: Reduce closure size, enable tests.

* gnu/packages/python-web.scm (python-aioitertools):
[arguments] <tests?>: Enable.
<test-backend, test-flags>: Use 'custom.
[propagated-inputs]: Remove python-typing-extensions.
[native-inputs]: Remove python-coverage, python-flake8, python-mypy,
python-pytest, python-pytest-asyncio, and python-sphinx.

Change-Id: Id6a02edb958053e5e62fb07054de8f2716096598
1 files changed, 4 insertions(+), 10 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +4 -10
@@ 1904,17 1904,11 @@ DNS name.")
       (sha256
        (base32 "0syxv2r90d6410hc68jxhk610pdgx19n1n5rc7shaxxv9xdhbaf2"))))
    (build-system pyproject-build-system)
    ;; Curiously, no tests are collected although they exist.
    (arguments (list #:tests? #false))
    (propagated-inputs (list python-typing-extensions))
    (arguments
     (list #:test-backend #~'custom
           #:test-flags #~(list "-m" "aioitertools.tests")))
    (native-inputs
     (list python-coverage
           python-flake8
           python-flit-core
           python-mypy
           python-pytest
           python-pytest-asyncio
           python-sphinx))
     (list python-flit-core))
    (home-page "https://pypi.org/project/aioitertools/")
    (synopsis "Itertools and builtins for AsyncIO and mixed iterables")
    (description