~ruther/guix-local

b66ea1e9ff33570abbd9b861b07fc8fdcf8a34c5 — Sharlatan Hellseher 8 months ago e4c2f80
gnu: python-sortedcontainers: Switch to pyproject, enable tests.

* gnu/packages/python-xyz.scm (python-sortedcontainers):
  [source]: Switch to git-fetch containing tests.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Now enable them.
  [native-inputs]: Add python-pytest-bootstrap and python-setuptools.

Change-Id: Ibce0dd93d964853e734424e029f9197e67f1f828
1 files changed, 10 insertions(+), 7 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -7
@@ 30489,15 30489,18 @@ that is accessible to other projects developed in Cython.")
    (version "2.4.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "sortedcontainers" version))
       (method git-fetch)       ;no tests in PyPI archive
       (uri (git-reference
              (url "https://github.com/grantjenks/python-sortedcontainers")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "126vpywl7aly6zir033a9indgyficlzl68qls61nn2y3djhabji5"))))
    (build-system python-build-system)
        (base32 "190w2mvgvx0r5k0r8117slq48nh6k7xidbpsrp02wnmcd0rx45k1"))))
    (build-system pyproject-build-system)
    (arguments
     ;; TODO: Circular dependency on pytest.
     '(#:tests? #f))
     (list #:test-flags #~(list "--pyargs" "sortedcontainers")))
    (native-inputs
     (list python-pytest-bootstrap python-setuptools))
    (home-page "https://grantjenks.com/docs/sortedcontainers/")
    (synopsis "Sorted List, Sorted Dict, Sorted Set")
    (description