[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
207/361: gnu: borgmatic: Move to pyproject-build-system.
From: |
guix-commits |
Subject: |
207/361: gnu: borgmatic: Move to pyproject-build-system. |
Date: |
Thu, 21 Nov 2024 06:29:19 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 9adf8eca00eead0a73e6a66525b456729c989048
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
- 159/361: gnu: python-arrow: Move to pyproject-build-system., (continued)
- 159/361: gnu: python-arrow: Move to pyproject-build-system., guix-commits, 2024/11/21
- 167/361: gnu: python-unidecode: Update to 1.3.8., guix-commits, 2024/11/21
- 169/361: gnu: python-tinycss: Move to pyproject-build-system., guix-commits, 2024/11/21
- 182/361: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/11/21
- 186/361: gnu: python-jaraco-packaging: Move to pyproject-build-system., guix-commits, 2024/11/21
- 178/361: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/11/21
- 189/361: gnu: Add ghc-xcb-types., guix-commits, 2024/11/21
- 202/361: gnu: python-uqbar: Upgrade to python-team branch., guix-commits, 2024/11/21
- 204/361: gnu: python-typeguard-4: Ignore failing tests., guix-commits, 2024/11/21
- 203/361: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/21
- 207/361: gnu: borgmatic: Move to pyproject-build-system.,
guix-commits <=
- 221/361: gnu: python-websockets: Adjust inputs., guix-commits, 2024/11/21
- 230/361: gnu: Remove python-mrkd., guix-commits, 2024/11/21
- 222/361: gnu: python-urllib3: Update to 2.2.1., guix-commits, 2024/11/21
- 229/361: gnu: Remove python-m2r., guix-commits, 2024/11/21
- 232/361: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/21
- 235/361: gnu: python-lazy-loader: Adjust inputs., guix-commits, 2024/11/21
- 241/361: gnu: python-waitress: Adjust inputs., guix-commits, 2024/11/21
- 240/361: gnu: python-responses: Update to 0.25.3., guix-commits, 2024/11/21
- 242/361: gnu: python-requests-unixsocket: Fix build., guix-commits, 2024/11/21
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/21