[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 12/92] gnu: python-docker-pycreds: Move to pyproject-
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 12/92] gnu: python-docker-pycreds: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:53:07 +0200 |
* gnu/packages/docker.scm (python-docker-pycreds):
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Use it.
<#:phases>: Remove uneeded field.
[native-inputs]: Remove python-pytest-cov and python-flake8. Add
python-setuptools, python-wheel.
Change-Id: Idde93a366fa187d2af915ed15801da2cdbaa3792
---
gnu/packages/docker.scm | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index b18de182fe5..de1baa15172 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2020 Jesse Dowell <jessedowell@gmail.com>
;;; Copyright © 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@ (define-module (gnu packages docker)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (guix utils)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -47,6 +49,7 @@ (define-module (gnu packages docker)
#:use-module (gnu packages networking)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
@@ -151,19 +154,12 @@ (define-public python-docker-pycreds
(sha256
(base32
"1m44smrggnqghxkqfl7vhapdw89m1p3vdr177r6cq17lr85jgqvc"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-versioning
- (lambda _
- (substitute* "test-requirements.txt"
- (("3.0.2") ,(package-version python-pytest))
- (("2.3.1") ,(package-version python-pytest-cov))
- (("2.4.1") ,(package-version python-flake8)))
- #t)))))
+ (list ; XXX: These tests require docker credentials to run.
+ #:test-flags '(list "--ignore=tests/store_test.py")))
(native-inputs
- (list python-flake8 python-pytest python-pytest-cov))
+ (list python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-six))
(home-page "https://github.com/shin-/dockerpy-creds")
--
2.41.0
- [bug#70855] [PATCH 00/92] python-team patches, Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 01/92] gnu: python-seaborn: Correct dependencies., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 02/92] gnu: python-transient: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 03/92] gnu: python-black: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 07/92] gnu: python-http-ece: Update to 1.2.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 04/92] gnu: python-isort: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 16/92] gnu: qtile: Update to 0.23.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 10/92] gnu: vdirsyncer: Move to pyproject-build-system and enable tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 17/92] gnu: qtile: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 09/92] gnu: python-aionotify: Update to 0.3.0., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 12/92] gnu: python-docker-pycreds: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 21/92] gnu: conda: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 13/92] gnu: Add xcffibgen., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 05/92] gnu: python-codespell: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 06/92] gnu: python-mutagen: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 08/92] gnu: python-zope-i18nmessageid: Update to 5.1.1., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 18/92] gnu: sshuttle: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 30/92] gnu: python-dateutil: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 29/92] gnu: python-pypujs: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 24/92] gnu: python-scikit-rf: Fix tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 19/92] gnu: python-apiron: Move to pyproject-build-system., Nicolas Graves, 2024/05/09