diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-10 00:45:12 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-30 16:23:52 +0000 |
| commit | 640b7d6f0c29598dcab28a5bf66ad1ae4450fcef (patch) | |
| tree | 2cafc1f6fbd63c4a4cfa8f425086bb6b98de84cb /gnu/packages/python-xyz.scm | |
| parent | 7ed2cfa0b9a0ff66c9d2a00e13ea81fd02ce4a4b (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c9a55da9b78..510b9c05802 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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))) |
