~ruther/guix-local

e03ecde37f1a68505169fa91a8ed40a035682b68 — Nicolas Graves 4 months ago 9263d5e
gnu: python-executor: Switch to pyproject.

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

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -10
@@ 12707,13 12707,17 @@ currently doing, particularly the AST node being executed.")
    (version "23.2")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "executor" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/xolox/python-executor")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0g83yr54j0vcwhy6h7n0jsd7q0q630kwa6v9kqzlzrm9xj6c3ip1"))))
    (build-system python-build-system)
        (base32 "1mr0662c5l5zx0wjapcprp8p2xawfd0im3616df5sgv79fqzwfqs"))))
    (build-system pyproject-build-system)
    (arguments
    `(#:tests? #f)) ; TODO: tests require root/sudo
     (list #:tests? #f)) ;TODO: tests require root/sudo
    (native-inputs (list python-mock python-pytest python-setuptools))
    (propagated-inputs
     (list python-six
           python-property-manager


@@ 12721,11 12725,12 @@ currently doing, particularly the AST node being executed.")
           python-virtualenv))
    (home-page "https://github.com/xolox/python-executor")
    (synopsis "Programmer friendly subprocess wrapper")
    (description "The @code{executor} package is a simple wrapper for Python’s
subprocess module that makes it very easy to handle subprocesses on UNIX
systems with proper escaping of arguments and error checking currently doing,
particularly the AST node being executed.")
    (license license:expat))) ; MIT license
    (description
     "The @code{executor} package is a simple wrapper for Python’s subprocess
module that makes it very easy to handle subprocesses on UNIX systems with
proper escaping of arguments and error checking currently doing, particularly
the AST node being executed.")
    (license license:expat)))

(define-public python-roifile
  (package