~ruther/guix-local

640b7d6f0c29598dcab28a5bf66ad1ae4450fcef — Nicolas Graves 5 months ago 7ed2cfa
gnu: python-robotframework-pythonlibcore: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-robotframework-pythonlibcore):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Migrate <#:phases> to <#:test-backend> and <#:test-flags>.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +12 -14
@@ 9585,25 9585,23 @@ SFTP.  It has the following main usages:
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0v89v8va65l6inh0fb34qgxawx6p29pnrmw4n5941yzdi3804rc4"))))
    (build-system python-build-system)
        (base32 "0v89v8va65l6inh0fb34qgxawx6p29pnrmw4n5941yzdi3804rc4"))))
    (build-system pyproject-build-system)
    (arguments
     `(#:phases (modify-phases %standard-phases
                  (replace 'check
                    (lambda* (#:key tests? #:allow-other-keys)
                      (when tests?
                        (invoke "utest/run.py")))))))
     (list
      #:test-backend #~'custom
      #:test-flags #~(list "utest/run.py")))
    (native-inputs
     (list python-pytest python-pytest-cov python-pytest-mockito
           python-robotframework))
           python-robotframework python-setuptools))
    (home-page "https://github.com/robotframework/PythonLibCore")
    (synopsis "Robot Framework Python library tools")
    (description "PythonLibCore provides tools for creating larger test
libraries for Robot Framework using Python.  The Robot Framework hybrid and
dynamic library APIs give more flexibility for library than the static library
API, but they also set requirements for libraries which need to be implemented
in the library side.  PythonLibCore eases the problem by providing a simpler
    (description
     "PythonLibCore provides tools for creating larger test libraries for
Robot Framework using Python.  The Robot Framework hybrid and dynamic library
APIs give more flexibility for library than the static library API, but they
also set requirements for libraries which need to be implemented in the
library side.  PythonLibCore eases the problem by providing a simpler
interface and by handling all the requirements towards the Robot Framework
library APIs.")
    (license license:asl2.0)))