~ruther/guix-local

44c6878f8e8fd8417210f169241b874095a9b141 — Nicolas Graves 5 months ago 690f7fd
gnu: python-fs: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-fs):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -11
@@ 17215,11 17215,13 @@ It has a flexible system of @samp{authorizers} able to manage both
    (version "2.4.16")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "fs" version))
       (sha256
        (base32 "04ykd7q49qgv13hl2n71lzihs2c9099r50lmd85vgx0k2bawg5xf"))))
    (build-system python-build-system)
       (method git-fetch)
       (uri (git-reference (url
                            "https://github.com/PyFilesystem/pyfilesystem2/")
                           (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256 (base32 "1wrkhsv57kv4jcadn7w330mgbjjsimgzfvicni8cka6y1a8chbjs"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:tests? (and (not (%current-target-system))


@@ 17239,15 17241,16 @@ It has a flexible system of @samp{authorizers} able to manage both
     (if (and (not (%current-target-system))
              (supported-package? python-pyftpdlib))
         (list python-mock python-parameterized python-pyftpdlib
               python-pytest)
               python-pytest python-setuptools)
         '()))
    (home-page "https://github.com/PyFilesystem/pyfilesystem2/")
    (synopsis "File system abstraction layer for Python")
    (description "PyFilesystem's @code{FS} object is a file system abstraction
sharing similarities with Python's own @code{file} object for single files.
It allows opening all the files under a given directory recursively, as a
single @code{FS} object.  This enables, for example, counting the combined
number of lines in the contained files easily.")
    (description
     "PyFilesystem's @code{FS} object is a file system abstraction sharing
similarities with Python's own @code{file} object for single files.  It allows
opening all the files under a given directory recursively, as a single
@code{FS} object.  This enables, for example, counting the combined number of
lines in the contained files easily.")
    (license license:expat)))

;;; Tests are left out in the main package to avoid cycles.