~ruther/guix-local

c080336271fd7737ab36d73d62a55fd0c172c62b — Ricardo Wurmus 1 year, 5 months ago b9cfda4
gnu: Remove python-contextlib2.

This was a backport of the Python 3.10 version of contextlib.

* gnu/packages/python-xyz.scm (python-contextlib2): Remove variable.
* gnu/packages/machine-learning.scm (python-ml-collections)
[propagated-inputs]: Remove it.

Change-Id: I47e4eccf98d8caa18235008e94a0849e21975a68
2 files changed, 1 insertions(+), 22 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/python-xyz.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +1 -1
@@ 447,7 447,7 @@ machine learning algorithms based on GPs.")
                        ;; class, not config_dict_test.
                        "-k" "not testJSONConversionBestEffort")))))))
    (propagated-inputs
     (list python-absl-py python-contextlib2 python-pyyaml python-six))
     (list python-absl-py python-pyyaml python-six))
    (native-inputs (list python-mock python-pytest python-setuptools
                         python-wheel))
    (home-page "https://github.com/google/ml_collections")

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -21
@@ 20040,27 20040,6 @@ connection pool.")
@code{ArgumentParser} object.")
    (license license:asl2.0)))

(define-public python-contextlib2
  (package
    (name "python-contextlib2")
    (version "0.6.0.post1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "contextlib2" version))
       (sha256
        (base32
         "0bhnr2ac7wy5l85ji909gyljyk85n92w8pdvslmrvc8qih4r1x01"))))
    (build-system python-build-system)
    (home-page "https://contextlib2.readthedocs.org/")
    (synopsis "Tools for decorators and context managers")
    (description "This module is primarily a backport of the Python
3.2 contextlib to earlier Python versions.  Like contextlib, it
provides utilities for common tasks involving decorators and context
managers.  It also contains additional features that are not part of
the standard library.")
    (license license:psfl)))

(define-public python-contexttimer
  (package
    (name "python-contexttimer")