mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: online-judge-tools: Switch to pyproject.
* gnu/packages/python-xyz.scm (online-judge-tools): [build-system]: Switch to pyproject-build-system. [arguments]: Replace <#:phases> with <#:test-flags>. [native-inputs]: Add python-setuptools-next. Change-Id: I4590ac8211c9d18b1c71be06fe2cf17cb285bbc4 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
5d3f193208
commit
ab6f15041d
1 changed files with 16 additions and 16 deletions
|
@ -29042,23 +29042,23 @@ jmerle/competitive-companion.")
|
||||||
(version "11.5.1")
|
(version "11.5.1")
|
||||||
;; Source distributions are not uploaded to PyPI.
|
;; Source distributions are not uploaded to PyPI.
|
||||||
;; https://pypi.org/project/online-judge-tools/11.5.1/#files
|
;; https://pypi.org/project/online-judge-tools/11.5.1/#files
|
||||||
(source (origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url "https://github.com/online-judge-tools/oj")
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/online-judge-tools/oj")
|
||||||
(file-name (git-file-name name version))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"0zkzmmjgjb6lyrzq1ip54cpnp7al9a7mcyjyi5vx58bvnx3q0c6m"))
|
(base32 "0zkzmmjgjb6lyrzq1ip54cpnp7al9a7mcyjyi5vx58bvnx3q0c6m"))
|
||||||
(patches (search-patches "online-judge-tools.patch"))))
|
(patches (search-patches "online-judge-tools.patch"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list
|
||||||
;; These tests require network connections
|
#:test-flags
|
||||||
(add-after 'unpack 'remove-failing-test
|
;; These tests require network connections
|
||||||
(lambda _
|
#~(list "--ignore=tests/command_version.py")))
|
||||||
(delete-file "tests/command_version.py") #t)))))
|
(native-inputs (list python-pytest python-setuptools-next))
|
||||||
(inputs (list time))
|
(inputs (list time))
|
||||||
(propagated-inputs (list python-online-judge-api-client python-colorama
|
(propagated-inputs (list python-online-judge-api-client python-colorama
|
||||||
python-requests))
|
python-requests))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue