~ruther/guix-local

49b2fd4f060b207f746120e3b20079d2c810fad2 — Nicolas Graves 4 months ago 5278a55
gnu: datasette: Update to 1.0a19.

* gnu/packages/databases.scm (datasette): Update to 1.0a19.
[arguments]<#:test-flags>: Ignore python-black tests.
<#:phases>: Add phase 'relax-requirements.
[native-inputs]: Remove python-black, python-pip, python-wheel.
Replace python-pytest-asyncio by python-pytest-asyncio-0.26.

Change-Id: I307b5648637fa6787aba50bffb8b1caea1e6d1a2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 20 insertions(+), 16 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +20 -16
@@ 6156,16 6156,16 @@ mechanism of @code{dogpile}.")
(define-public datasette
  (package
    (name "datasette")
    (version "1.0a16")
    (source (origin
              (method git-fetch)        ;for tests
              (uri (git-reference
                    (url "https://github.com/simonw/datasette")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "10c754idn9ka5hhai1qwjwlxw4dajdlrh162k71i5gwn4cgq6wr5"))))
    (version "1.0a19")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/simonw/datasette")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0wb73iksrc5vg2lnq3q4vr7yhlzxwr711jfmjdndd0s77996zsfh"))))
    (build-system pyproject-build-system)
    (arguments
     (list


@@ 6175,7 6175,14 @@ mechanism of @code{dogpile}.")
                    ;; These contain two unexpected extra items.
                    "not test_searchable"
                    " and not test_searchmode")
              "-n" (number->string (parallel-job-count)))))
              "--ignore=tests/test_black.py"
              "-n" (number->string (parallel-job-count)))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'relax-requirements
            (lambda _
              (substitute* "setup.py"
                (("\"pip\",") "")))))))
    (propagated-inputs
     (list python-aiofiles
           python-asgi-csrf


@@ 6197,17 6204,14 @@ mechanism of @code{dogpile}.")
    (native-inputs
     (list nss-certs-for-test
           python-beautifulsoup4
           python-black
           python-cogapp
           python-pip
           python-pytest
           python-pytest-asyncio
           python-pytest-asyncio-0.26
           python-pytest-runner
           python-pytest-timeout
           python-pytest-xdist
           python-setuptools
           python-trustme
           python-wheel))
           python-trustme))
    (home-page "https://datasette.io/")
    (synopsis "Multi-tool for exploring and publishing data")
    (description "Datasette is a tool for exploring and publishing data.