diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 15:26:55 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-06 17:56:58 +0100 |
| commit | d0283dde90ac0858e90813d4a9b38ceeabdfc359 (patch) | |
| tree | 27fa225a2ca7752093f2eb3dc39c23c1b1a2b31f /gnu/packages/python-web.scm | |
| parent | cc8b2ef6c6ad753b32e254a9275c662d2ad76d58 (diff) | |
gnu: python-minio: Switch to pyproject.
* gnu/packages/python-web.scm (python-minio):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-flags>.
[native-inputs]: Remove them. Add python-pytest,
python-setuptools-next.
Change-Id: I231b16e279c34b2d93ce5b533d2fcae435e03e8c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 34819c8f554..b4c0b560c0d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3357,21 +3357,22 @@ be written directly in Python without templates.") (package (name "python-minio") (version "7.1.9") - (source (origin - (method url-fetch) - (uri (pypi-uri "minio" version)) - (sha256 - (base32 - "02nh865xbf2glxvcy70ir6gkcwqxl119zryfc70q7w0yjvkg64d7")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/minio/minio-py") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01734ki3p7844dya366hy1kvmmgy3xr0l0zbkchnnv4p611510vc")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (add-before 'check 'disable-failing-tests - (lambda _ - ;; This test requires network access. - (delete-file "tests/unit/credentials_test.py")))))) - (native-inputs - (list python-faker python-mock python-nose)) + (list + #:test-flags + ;; XXX: requires network access. + #~(list "--ignore=tests/unit/credentials_test.py"))) + (native-inputs (list python-pytest python-setuptools-next)) (propagated-inputs (list python-certifi python-dateutil python-pytz python-urllib3)) (home-page "https://github.com/minio/minio-py") |
