[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
50/55: gnu: barectf: Update to 3.1.2.
From: |
guix-commits |
Subject: |
50/55: gnu: barectf: Update to 3.1.2. |
Date: |
Thu, 21 Sep 2023 13:31:40 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit d9b13b1e0f33df1541a8da1d679e7e0cc935211c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Sep 21 20:20:56 2023 +0800
gnu: barectf: Update to 3.1.2.
* gnu/packages/instrumentation.scm (barectf): Update to 3.1.2.
[source]: Switch to GIT-FETCH.
[build-system]: Change to PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove version pins. Set CC before building.
[native-inputs]: Add PYTHON-POETRY-CORE and PYTHON-PYTEST. Remove
GCC-TOOLCHAIN, GNU-MAKE, PYTHON-PYYAML-5, and PYTHON-TOX. Move
PYTHON-JINJA2,
PYTHON-JSONSCHEMA, and PYTHON-TERMCOLOR ...
[propagated-inputs]: ... here. Add PYTHON-PYYAML.
---
gnu/packages/instrumentation.scm | 46 ++++++++++++++++++++++++++++------------
1 file changed, 33 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index d8dc3b3e36..7fa7b2f7ba 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021, 2022 Olivier Dion <olivier.dion@polymtl.ca>
;;; Copyright © 2023 Andy Tai <atai@atai.org>
+;;; Copyright © 2023 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,7 +25,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
- #:use-module (gnu packages commencement)
+ #:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpio)
#:use-module (gnu packages datastructures)
@@ -47,6 +48,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages popt)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
@@ -58,6 +60,7 @@
#:use-module (guix build-system copy)
#:use-module (guix build-system gnu)
#:use-module (guix build-system linux-module)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -141,21 +144,38 @@ bindings, and the command-line tool
@command{babeltrace2}.")
(define-public barectf
(package
(name "barectf")
- (version "3.1.1")
+ (version "3.1.2")
(source (origin
- (method url-fetch)
- (uri (pypi-uri "barectf" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/efficios/barectf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0zhc9d4qnnl4fjj6354qb4bng4ykywn8x3l3acpv6sx439q6ylwd"))))
- (build-system python-build-system)
- (native-inputs (list gcc-toolchain
- gnu-make
- python-jinja2
- python-jsonschema
- python-pyyaml-5
- python-termcolor
- python-tox))
+ "0v7w830dqi46bq753x84d0z75dw4cf4r93gpfrv4sjynvmylbs95"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ ;; Remove version constraints as the program appears
+ ;; to work (tests pass!) with later versions.
+ ;; Try removing these when updating barectf.
+ (substitute* "pyproject.toml"
+ (("pyyaml = '\\^5")
+ "pyyaml = '>=5")
+ (("jsonschema = '\\^3")
+ "jsonschema = '>=3"))))
+ (add-before 'check 'set-CC
+ (lambda _
+ ;; Some tests invoke a compiler.
+ (setenv "CC" "gcc"))))))
+ (native-inputs
+ (list python-poetry-core python-pytest))
+ (propagated-inputs
+ (list python-jinja2 python-jsonschema python-pyyaml python-termcolor))
(home-page "https://barectf.org")
(synopsis "CTF tracer generator")
(description
- 31/55: gnu: python-daemon: Update to 3.0.1., (continued)
- 31/55: gnu: python-daemon: Update to 3.0.1., guix-commits, 2023/09/21
- 33/55: gnu: python-pytest-django: Update to 4.5.2., guix-commits, 2023/09/21
- 38/55: gnu: python-platformdirs: Update to 3.10.0., guix-commits, 2023/09/21
- 42/55: gnu: python-cmarkgfm: Update to 2022.10.27., guix-commits, 2023/09/21
- 36/55: gnu: python-django@4: Update to 4.2.5., guix-commits, 2023/09/21
- 39/55: gnu: python-distlib: Update to 0.3.7., guix-commits, 2023/09/21
- 41/55: gnu: python-cachetools: Update to 5.3.1., guix-commits, 2023/09/21
- 37/55: gnu: python-bleach: Update to 6.0.0., guix-commits, 2023/09/21
- 51/55: gnu: python-sphinxcontrib-autoprogram: Update to 0.1.8., guix-commits, 2023/09/21
- 43/55: gnu: python-websockets: Update to 11.0.3., guix-commits, 2023/09/21
- 50/55: gnu: barectf: Update to 3.1.2.,
guix-commits <=
- 53/55: gnu: python-duniterpy: Update to 1.1.1., guix-commits, 2023/09/21
- 47/55: gnu: python-hyperlink: Update to 21.0.0., guix-commits, 2023/09/21
- 45/55: gnu: python-psycopg-pool: Update to 3.1.7., guix-commits, 2023/09/21
- 54/55: gnu: python-arboreto: Add missing inputs., guix-commits, 2023/09/21