[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
207/474: gnu: borgmatic: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
207/474: gnu: borgmatic: Move to pyproject-build-system. |
Date: |
Sat, 30 Nov 2024 18:20:21 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit f8a8740eb5c33b9ba290d22464d55f92970a2435
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:13 2024 +0200
gnu: borgmatic: Move to pyproject-build-system.
* gnu/packages/backup.scm (borgmatic):
[build-system]: Move to pyproject-build-system.
[arguments]: Migrate 'check phase replacement to <#:test-flags>.
<#:phases>: Add 'set-path phase.
Change-Id: I916e87f10c75718c4e840d97eaa78623ed2a4fd3
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/backup.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 281f951f78..12ee64e9dd 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Feng Shu <tumashu@163.com>
;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2024 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
@@ -1334,7 +1335,7 @@ compression parameters used by Gzip.")
(uri (pypi-uri "borgmatic" version))
(sha256
(base32 "0im7kx9mq1gymid88wa6yxcif4bdqpz5lag5fp9kpm8r5k13p2sr"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases #~(modify-phases %standard-phases
@@ -1351,14 +1352,12 @@ compression parameters used by Gzip.")
(string-append start "'"
(search-input-file inputs "bin/borg")
"'")))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
+ (add-before 'check 'set-path
+ (lambda _
;; Tests require the installed executable.
(setenv "PATH"
(string-append #$output "/bin" ":"
- (getenv "PATH")))
- (invoke "pytest")))))))
+ (getenv "PATH"))))))))
(inputs (list borg
python-apprise
python-colorama
- 171/474: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., (continued)
- 171/474: gnu: python-cucumber-tag-expressions: Move to pyproject-build-system., guix-commits, 2024/11/30
- 181/474: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/11/30
- 162/474: gnu: python-pypujs: Improve package style., guix-commits, 2024/11/30
- 184/474: gnu: python-jaraco-context: Move to pyproject-build-system., guix-commits, 2024/11/30
- 183/474: gnu: python-jaraco-classes: Move to pyproject-build-system., guix-commits, 2024/11/30
- 190/474: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/30
- 191/474: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/11/30
- 197/474: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/11/30
- 199/474: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/30
- 211/474: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/11/30
- 207/474: gnu: borgmatic: Move to pyproject-build-system.,
guix-commits <=
- 231/474: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/30
- 212/474: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/30
- 230/474: gnu: Remove python-mrkd., guix-commits, 2024/11/30
- 223/474: gnu: Remove python-mistune-next., guix-commits, 2024/11/30
- 213/474: gnu: python-warcio: Move to pyproject-build-system., guix-commits, 2024/11/30
- 379/474: gnu: Remove python-typeguard-4., guix-commits, 2024/11/30
- 388/474: gnu: python-pytest-regressions: Update to 2.5.0., guix-commits, 2024/11/30
- 393/474: gnu: python-anytree: Update to 2.12.0., guix-commits, 2024/11/30
- 399/474: gnu: Add python-pytest-asyncio-0.23., guix-commits, 2024/11/30
- 403/474: gnu: python-uvloop: Update to 0.21.0., guix-commits, 2024/11/30