~ruther/guix-local

3da79727837db823aff1fc064bb7fd5b634641f8 — Sharlatan Hellseher 7 months ago aebb310
gnu: python-spinners: Reduce closure size.

* gnu/packages/terminals.scm (python-spinners): Reduce closure size.
  [arguments] <tests?>: Disable as no provided with PyPI archive.
  <phases>: Remove 'relax-requirements.
  [native-inputs]: Remove python-coverage, python-nose, python-pylint,
  python-tox, and python-wheel.

Change-Id: I39ca6a2bedc351475abd476c232ab4d820d59201
1 files changed, 2 insertions(+), 13 deletions(-)

M gnu/packages/terminals.scm
M gnu/packages/terminals.scm => gnu/packages/terminals.scm +2 -13
@@ 1210,20 1210,9 @@ purposes.")
                "0zz2z6dpdjdq5z8m8w8dfi8by0ih1zrdq0caxm1anwhxg2saxdhy"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'relax-requirements
                 (lambda _
                   (substitute* "requirements-dev.txt"
                     (("(.*)==(.*)$" _ dep ver)
                      (string-append dep ">=" ver))))))))
     (list #:tests? #f))         ;no tests in PyPI archive, tests depend on Nose
    (native-inputs
     (list python-coverage
           python-nose
           python-pylint
           python-setuptools
           python-tox
           python-wheel))
     (list python-setuptools))
    (home-page "https://github.com/manrajgrover/py-spinners")
    (synopsis "Python library with graphical spinners for the terminal")
    (description "Spinners is a Python library that contains graphical spinners