mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
import: pypi: Adjust test to new setuptools and wheel requirements.
This is a followup toc904350a81
andd7890af335
, which led to adding ‘setuptools’ and ‘wheel’ to ‘native-inputs’ in many (most?) cases. * tests/pypi.scm ("pypi->guix-package, no wheel") ("pypi->guix-package, no requires.txt, but wheel.") ("pypi->guix-package, no usable requirement file, no wheel."): Add ‘python-setuptools’ and ‘python-wheel’ to the native inputs. ("package-latest-release"): Add ‘setuptools’ and ‘wheel’ to the expected result. Change-Id: I4d1001b0ad332836fe7d1d9ecd07d4adc32330af
This commit is contained in:
parent
4ebc1aba19
commit
bdde278dc9
1 changed files with 18 additions and 3 deletions
|
@ -326,7 +326,9 @@ (define-syntax-rule (with-pypi responses body ...)
|
|||
(base32 ,(? string? hash)))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-bar python-foo))
|
||||
(native-inputs (list python-pytest))
|
||||
(native-inputs (list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "http://example.com")
|
||||
(synopsis "summary")
|
||||
(description "summary.")
|
||||
|
@ -444,7 +446,9 @@ (define-syntax-rule (with-pypi responses body ...)
|
|||
(base32 ,(? string? hash)))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-bar python-baz))
|
||||
(native-inputs (list python-pytest))
|
||||
(native-inputs (list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "http://example.com")
|
||||
(synopsis "summary")
|
||||
(description "summary.")
|
||||
|
@ -473,6 +477,7 @@ (define-syntax-rule (with-pypi responses body ...)
|
|||
(sha256
|
||||
(base32 ,(? string? hash)))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs (list python-setuptools python-wheel))
|
||||
(home-page "http://example.com")
|
||||
(synopsis "summary")
|
||||
(description "summary.")
|
||||
|
@ -502,7 +507,9 @@ (define-syntax-rule (with-pypi responses body ...)
|
|||
(properties (quote (("upstream-name" . "foo-99"))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-bar python-foo))
|
||||
(native-inputs (list python-pytest))
|
||||
(native-inputs (list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "http://example.com")
|
||||
(synopsis "summary")
|
||||
(description "summary.")
|
||||
|
@ -525,6 +532,14 @@ (define-syntax-rule (with-pypi responses body ...)
|
|||
(upstream-input
|
||||
(name "pytest")
|
||||
(downstream-name "python-pytest")
|
||||
(type 'native))
|
||||
(upstream-input
|
||||
(name "setuptools")
|
||||
(downstream-name "python-setuptools")
|
||||
(type 'native))
|
||||
(upstream-input
|
||||
(name "wheel")
|
||||
(downstream-name "python-wheel")
|
||||
(type 'native))))
|
||||
(let ((tarball (pypi-tarball
|
||||
"foo-1.0.0"
|
||||
|
|
Loading…
Reference in a new issue