[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
147/361: gnu: python-docker-pycreds: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
147/361: gnu: python-docker-pycreds: Move to pyproject-build-system. |
Date: |
Fri, 22 Nov 2024 06:00:30 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit cbe48449f7a92674ff37b41fd6d55433ced5afc2
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:07 2024 +0200
gnu: python-docker-pycreds: Move to pyproject-build-system.
* 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
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
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 b49dc58bd0..0abe85f01e 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 @@
#: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 @@
#: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 @@ created and all the services are started as specified in
the configuration.")
(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")
- 117/361: gnu: repo2docker: Update to 2024.03.0., (continued)
- 117/361: gnu: repo2docker: Update to 2024.03.0., guix-commits, 2024/11/22
- 116/361: gnu: Add python-sphinxext-rediraffe., guix-commits, 2024/11/22
- 118/361: gnu: Add python-pytoolconfig., guix-commits, 2024/11/22
- 124/361: gnu: python-nbclient: Update to 0.10.0., guix-commits, 2024/11/22
- 126/361: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/22
- 119/361: gnu: Add python-whatthepatch., guix-commits, 2024/11/22
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/22
- 131/361: gnu: python-widgetsnbextension: Update to 4.0.10., guix-commits, 2024/11/22
- 134/361: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/22
- 141/361: gnu: python-mutagen: Move to pyproject-build-system., guix-commits, 2024/11/22
- 147/361: gnu: python-docker-pycreds: Move to pyproject-build-system.,
guix-commits <=
- 145/361: gnu: vdirsyncer: Move to pyproject-build-system and enable tests., guix-commits, 2024/11/22
- 150/361: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/11/22
- 154/361: gnu: python-alembic: Move to pyproject-build-system., guix-commits, 2024/11/22
- 161/361: gnu: zulip-term: Move to pyproject-build-system., guix-commits, 2024/11/22
- 159/361: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/22
- 157/361: gnu: python-conda-package-handling: Move to pyproject-build-system., guix-commits, 2024/11/22
- 162/361: gnu: python-pypujs: Improve package style., guix-commits, 2024/11/22
- 163/361: gnu: python-dateutil: Move to pyproject-build-system., guix-commits, 2024/11/22
- 170/361: gnu: behave: Move to pyproject-build-system., guix-commits, 2024/11/22
- 167/361: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/22