~ruther/guix-local

85938f31c65c88e5b4cfb2362b3310f68cb65a70 — Vinicius Monego 10 months ago 80c43fa
gnu: python-pyrsistent: Update to 0.20.0.

* gnu/packages/python-xyz.scm (python-pyrsistent): Update to 0.20.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Delete phase 'loosen-pytest-requirement'.
[native-inputs]: Remove python-hypothesis, python-pytest-runner. Add
python-setuptools, python-wheel.
[propagated-inputs]: Remove python-six.

Change-Id: Iddce529325ea42b5e39a84eeed9942923b9da1b9
1 files changed, 4 insertions(+), 16 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +4 -16
@@ 6765,29 6765,17 @@ from git information.
(define-public python-pyrsistent
  (package
    (name "python-pyrsistent")
    (version "0.16.0")
    (version "0.20.0")
    (home-page "https://github.com/tobgu/pyrsistent")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "pyrsistent" version))
              (sha256
               (base32
                "1lrsjgblnapfimd0alsi1as5nz2lfqv97131l7d6anbjzq2rjri8"))))
    (build-system python-build-system)
    (arguments
     '(#:phases (modify-phases %standard-phases
                  ;; The package works fine with newer Pytest and Hypothesis, but
                  ;; has pinned older versions to stay compatible with Python 2.
                  (add-before 'check 'loosen-pytest-requirement
                    (lambda _
                      (substitute* "setup.py"
                        (("pytest<5") "pytest")
                        (("hypothesis<5") "hypothesis"))
                      #t)))))
                "1935ybwdxszmzlzshwkc7m7swm1js46ls246j1knqndbca7zfj2c"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-hypothesis python-pytest python-pytest-runner))
    (propagated-inputs
     (list python-six))
     (list python-pytest python-setuptools python-wheel))
    (synopsis "Persistent data structures for Python")
    (description
     "Pyrsistent is a number of persistent collections (by some referred to as