diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-02-25 01:31:36 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-03-01 13:48:38 +0800 |
commit | 2d861fd8f0cbe5e615f296b9439103cfb395b7db (patch) | |
tree | 0910b8fc1a0554f23b889459d17459c0b82fd7cc /gnu | |
parent | 24eabd1eff34673d4a93edf16f92c444cdc1ac3f (diff) | |
download | guix-2d861fd8f0cbe5e615f296b9439103cfb395b7db.tar.gz guix-2d861fd8f0cbe5e615f296b9439103cfb395b7db.zip |
gnu: b4: Update to 0.13.0.
* gnu/packages/version-control.scm (b4): Update to 0.13.0.
[source]: Switch to git source for tests.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable.
[propagated-inputs]: Move patatt to…
[inputs]: …here. Add git-filter-repo.
[native-inputs]: Add python-pytest.
Change-Id: I2b24db0f72fc180ea6b12a5829d79ad0be7719a5
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/version-control.scm | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 084346f5b6..cbdd1a89a2 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -83,6 +83,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system perl) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix build-system trivial) @@ -2921,16 +2922,20 @@ email header.") (define-public b4 (package (name "b4") - (version "0.12.3") + (version "0.13.0") (source (origin - (method url-fetch) - (uri (pypi-uri "b4" version)) + (method git-fetch) + (uri (git-reference + (url "https://git.kernel.org/pub/scm/utils/b4/b4.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0qpa0ahw1d86mdgs09ykq5pd0lm8083ds6j0knalw757yh31akmn")))) - (build-system python-build-system) + (base32 + "1dijszinn00r6d0lxii3jz36h2c23zavbgz1m8finp5v6kaiafcg")))) + (build-system pyproject-build-system) (arguments - (list #:tests? #f ;no tests + (list #:tests? (not (%current-target-system)) ;git path hardcoded. #:phases #~(modify-phases %standard-phases ;; XXX: dnspython attempts to read /etc/resolv.conf when loading @@ -2945,9 +2950,14 @@ email header.") (string-append "['" (search-input-file inputs "bin/git") "'")))))))) (inputs - (list git-minimal python-dkimpy python-dnspython python-requests)) - (propagated-inputs - (list patatt)) + (list git-filter-repo + git-minimal + patatt + python-dkimpy + python-dnspython + python-requests)) + (native-inputs + (list python-pytest)) (home-page "https://git.kernel.org/pub/scm/utils/b4/b4.git") (synopsis "Tool for working with patches in public-inbox archives") (description |