mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: Remove python2-pep517.
* gnu/packages/python-xyz.scm (python2-pep517): Delete variable.
This commit is contained in:
parent
745be53c5f
commit
9702e5f26c
1 changed files with 8 additions and 23 deletions
|
@ -10807,30 +10807,15 @@ plugin for flake8 to check PEP-8 naming conventions.")
|
||||||
(inherit python-pep517-bootstrap)
|
(inherit python-pep517-bootstrap)
|
||||||
(name "python-pep517")
|
(name "python-pep517")
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(delete-file "pytest.ini")
|
(delete-file "pytest.ini")
|
||||||
;; This test tries to connect to the internet
|
|
||||||
(delete-file "tests/test_meta.py")
|
(delete-file "tests/test_meta.py")
|
||||||
(if tests?
|
(if tests?
|
||||||
(invoke "pytest")
|
(invoke "pytest") #t))))))
|
||||||
#t))))))
|
(native-inputs (list python-mock python-pytest python-testpath))))
|
||||||
(native-inputs
|
|
||||||
(list python-mock python-pytest python-testpath))
|
|
||||||
(properties `((python2-variant . ,(delay python2-pep517))))))
|
|
||||||
|
|
||||||
;; Skip the tests so we don't create a cyclical dependency with pytest.
|
|
||||||
(define-public python2-pep517
|
|
||||||
(let ((base (package-with-python2
|
|
||||||
(strip-python2-variant python-pep517))))
|
|
||||||
(package/inherit base
|
|
||||||
(name "python2-pep517")
|
|
||||||
(arguments
|
|
||||||
`(#:tests? #f
|
|
||||||
,@(package-arguments base)))
|
|
||||||
(native-inputs `()))))
|
|
||||||
|
|
||||||
(define-public python-pep621
|
(define-public python-pep621
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue