~ruther/guix-local

3e1658a5a32e75efa544c3dc9cd95bb59c949a50 — Nicolas Graves 11 months ago 0a904e6
gnu: python-pathvalidate: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-pathvalidate):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +9 -11
@@ 32359,18 32359,16 @@ is the cythonized version of @code{fractions.Fraction}.")
    (version "2.4.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pathvalidate" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/thombashi/pathvalidate")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0s14ycjgb44lxr2wg8lrq3b7kybmmrbf7yqz47xrqgn2gr6dk6rw"))))
    (build-system python-build-system)
    (arguments
     '(#:tests? #f))
    ;; Tests disabled because of circular dependencies.
    ;; pathvalidate tests depend on pytest-md-report, which
    ;; depends on pathvalidate.
    (native-inputs
     (list python-allpairspy python-click python-faker python-pytest))
        (base32 "17s9vqmws4sfji4bw6qd4rn7ahzkpj6yp2ia5p6vd8kva8n05h37"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-allpairspy python-click python-faker
                         python-pytest python-setuptools))
    (home-page "https://github.com/thombashi/pathvalidate")
    (synopsis "Sanitize strings representing paths")
    (description