From patchwork Mon Dec 25 09:09:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58052 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 542E727BBE9; Mon, 25 Dec 2023 09:10:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CCF4027BBE2 for ; Mon, 25 Dec 2023 09:10:06 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgyE-0003Az-LZ; Mon, 25 Dec 2023 04:09:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyC-0003Ak-LN for guix-patches@gnu.org; Mon, 25 Dec 2023 04:09:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgyC-0000k0-DC for guix-patches@gnu.org; Mon, 25 Dec 2023 04:09:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgyI-0003ee-O5; Mon, 25 Dec 2023 04:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 01/13] gnu: dtc: Update to 1.7.0. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349539714001 (code B ref 68023); Mon, 25 Dec 2023 09:10:02 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:09:57 +0000 Received: from localhost ([127.0.0.1]:53910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyC-0003dj-4l for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgy8-0003dL-In for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgxw-0000fD-QL; Mon, 25 Dec 2023 04:09:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=dJJilAOUepRxcrwwFjHHLGfYZvv1T/moin2rKH1ajXs=; b=TGXgLrZAASjU5AInrQII pbvwJGyL08W0lGXWNinzgfxeela9dK6+X5ekAn6pu+J5Siaon2BRN4R6Y8qrzZhe4WeW+x8uLfrlO OpbNn61xoh4gaL9adzfe4msQXLAMlo2ECcrlJH8WI5vfNr1rg/v6QUWo1jYtRDhoeLb0STXuqJhPR 5EVNVGcu9r0QFrnrwXCC56ddfg+LHprEdULJKYqQ9lY1FKthbGzk4mYjn0VEddt5EYb5KvlIlxShP qrfgjj00jkd/R/QFKPiFYQRf0BQT6l+QMacXGO5zETsm0EeLIlfCZTEB6nbRRlbscQdpP7bOMXq6I bVGttdhlxGQ3xw==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:17 +0100 Message-ID: <9946d80edc86aa465acc39b9c51094c65c2c5bf1.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Enable the python bindings and switch to the meson build system that handles the python bindings better than the Makefile build system here. * gnu/packages/patches/dtc-meson-cell-overflow.patch: New file * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/bootloaders.scm (dtc): Update to 1.7.0. [build-system]: Switch to the meson-build-system. [arguments]: Remove #:make-flags. Add a new 'preparations phase. Do not edit the Makefile in the 'patch-pkg-config phase. Remove the 'configure phase. Change-Id: Ie61c920829ab3a8c32f4924c694dba6bda807711 Signed-off-by: Mathieu Othacehe --- gnu/local.mk | 1 + gnu/packages/bootloaders.scm | 57 ++++++++++++------- .../patches/dtc-meson-cell-overflow.patch | 32 +++++++++++ 3 files changed, 70 insertions(+), 20 deletions(-) create mode 100644 gnu/packages/patches/dtc-meson-cell-overflow.patch diff --git a/gnu/local.mk b/gnu/local.mk index a472c62acb..91a34983c8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1093,6 +1093,7 @@ dist_patch_DATA = \ %D%/packages/patches/doxygen-hurd.patch \ %D%/packages/patches/dstat-fix-crash-when-specifying-delay.patch \ %D%/packages/patches/dstat-skip-devices-without-io.patch \ + %D%/packages/patches/dtc-meson-cell-overflow.patch \ %D%/packages/patches/dune-common-skip-failing-tests.patch \ %D%/packages/patches/dune-grid-add-missing-include-cassert.patch \ %D%/packages/patches/dune-istl-fix-solver-playground.patch \ diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index bd8b621e35..f8ba93ce01 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -55,6 +55,8 @@ (define-module (gnu packages bootloaders) #:use-module (gnu packages man) #:use-module (gnu packages mtools) #:use-module (gnu packages ncurses) + #:use-module (gnu packages ninja) + #:use-module (gnu packages package-management) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -71,6 +73,7 @@ (define-module (gnu packages bootloaders) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) #:use-module (guix build-system trivial) #:use-module (guix download) @@ -631,7 +634,7 @@ (define-public syslinux (define-public dtc (package (name "dtc") - (version "1.6.1") + (version "1.7.0") (source (origin (method url-fetch) (uri (string-append @@ -639,42 +642,56 @@ (define-public dtc "dtc-" version ".tar.gz")) (sha256 (base32 - "0xm38h31jb29xfh2sfyk48d8wdfq4b8lmb412zx9vjr35izjb9iq")))) - (build-system gnu-build-system) + "0cij9399snpn672pdbda8qbxljdkfg068kvv3g5811rz6yslx124")) + (patches + (search-patches "dtc-meson-cell-overflow.patch")))) + (build-system meson-build-system) (arguments (list - #:modules `(,@%gnu-build-system-modules (srfi srfi-26)) - #:make-flags - #~(list (string-append "CC=" #$(cc-for-target)) - ;; /bin/fdt{get,overlay,put} need help finding libfdt.so.1. - (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") - (string-append "PREFIX=" #$output) - (string-append "SETUP_PREFIX=" #$output) - "INSTALL=install") + #:modules '((guix build meson-build-system) + (guix build utils) + (srfi srfi-26)) #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'patch-pkg-config + (add-after 'unpack 'preparations (lambda _ - (substitute* '("Makefile" - "tests/run_tests.sh") - (("pkg-config") - #$(pkg-config-for-target))))) - (delete 'configure) ;no configure script - (add-before 'build 'install-doc + ;; The version string is usually derived via setuptools-scm, but + ;; without the git metadata available this fails. + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version) + + ;; Needed by setup.py. + (setenv "DESTDIR" "/") + + ;; Native gcc needed by run_test.sh. + (setenv "CC" "gcc") + + ;; /bin/fdt{get,overlay,put} need help finding libfdt.so.1. + (setenv "LDFLAGS" + (string-append "-Wl,-rpath=" #$output "/lib")))) + (add-after 'unpack 'install-doc (lambda _ (with-directory-excursion "Documentation" (for-each (cut install-file <> (string-append #$output "/share/doc/dtc/")) '("dts-format.txt" "dt-object-internal.txt" - "manual.txt")))))))) + "manual.txt"))))) + (add-after 'unpack 'patch-pkg-config + (lambda _ + (substitute* '("tests/run_tests.sh") + (("pkg-config") + #$(pkg-config-for-target)))))))) (native-inputs (append (list bison flex libyaml + ninja pkg-config - swig) + python + python-setuptools-scm + swig + which) (if (member (%current-system) (package-supported-systems valgrind)) (list valgrind) '()))) diff --git a/gnu/packages/patches/dtc-meson-cell-overflow.patch b/gnu/packages/patches/dtc-meson-cell-overflow.patch new file mode 100644 index 0000000000..1c319312f7 --- /dev/null +++ b/gnu/packages/patches/dtc-meson-cell-overflow.patch @@ -0,0 +1,32 @@ +Taken from upstream: +https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=32174a66efa4ad19fc6a2a6422e4af2ae4f055cb + +From 32174a66efa4ad19fc6a2a6422e4af2ae4f055cb Mon Sep 17 00:00:00 2001 +From: David Gibson +Date: Tue, 28 Feb 2023 10:33:58 +1100 +Subject: [PATCH] meson: Fix cell overflow tests when running from meson + +Because meson always builds out-of-tree we need to reference things in the +original source tree via $SRCDIR from run_tests.sh. We forgot a couple of +cases for the cell overflow tests. Fix them. + +Signed-off-by: David Gibson +--- + tests/run_tests.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/run_tests.sh b/tests/run_tests.sh +index 91350ad3..f899d8cb 100755 +--- a/tests/run_tests.sh ++++ b/tests/run_tests.sh +@@ -519,8 +519,8 @@ libfdt_tests () { + check_tests "$SRCDIR/phandle-args-overflow.dts" clocks_property + + ## https://github.com/dgibson/dtc/issues/74 +- run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb cell-overflow-results.dts +- run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb cell-overflow.dts ++ run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb "$SRCDIR/cell-overflow-results.dts" ++ run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb "$SRCDIR/cell-overflow.dts" + run_test dtbs_equal_ordered cell-overflow.test.dtb cell-overflow-results.test.dtb + + # check full tests From patchwork Mon Dec 25 09:09:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58053 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 449FF27BBE9; Mon, 25 Dec 2023 09:10:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5A62927BBE2 for ; Mon, 25 Dec 2023 09:10:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgyI-0003Bo-F9; Mon, 25 Dec 2023 04:10:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyG-0003BE-EI for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgyG-0000kb-6b; Mon, 25 Dec 2023 04:10:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgyJ-0003en-6U; Mon, 25 Dec 2023 04:10:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 02/13] gnu: python-trove-classifiers: Update to 2023.11.29. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349539714014 (code B ref 68023); Mon, 25 Dec 2023 09:10:03 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:09:57 +0000 Received: from localhost ([127.0.0.1]:53914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyC-0003dl-Pq for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyA-0003dO-Cq for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgxy-0000fc-Jr; Mon, 25 Dec 2023 04:09:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=PxkQW2eMeUxNxb+a+ocf2qu/KVzJinsdQYvJfvcCHMo=; b=B2jztRjJ7fhAUBV/Smj+ PEpEaOwgZs4OIcvjrN4jc0459mbs3osE/ttIS59HA3S507RqLVWvuJWtTYIE3StpJ4YkV4NryXfo3 ZT9ZJpkGKVQirm/Ze3veCAy4pt9YONl6pvqhXim6BXUBytU5bUqkqW13SS9puudhMsGbbjKWmcY/9 Y+rYKkwiGfrYywmMovAtDyUkh/tL6cWowfwiSsrA3db5q9aKVUESbV7w1ytt4GBp8NLhB/nVLwPLp 2cNZhtIDE0Y5sqKFt2ORGjGFyah1dwt4UktijYX5pHwTjEiBDC6Ieug/zN2ZsAF/tiyLD2lOszgad CeM2zZrXoua/3g==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:18 +0100 Message-ID: <89d4b017377054f2b235f16557765fbf7d799bc0.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-build.scm (python-trove-classifiers): Update to 2023.11.29. Signed-off-by: Mathieu Othacehe Change-Id: I18e05632ba27dc64e2831b691a7d3c586d2d9f5e --- gnu/packages/python-build.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index bb1df3e9aa..5508b5677e 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -196,13 +196,13 @@ (define-public python-tomli (define-public python-trove-classifiers (package (name "python-trove-classifiers") - (version "2023.3.9") + (version "2023.11.29") (source (origin (method url-fetch) (uri (pypi-uri "trove-classifiers" version)) (sha256 (base32 - "00xvldq94dy0zxz40idbbx40smrkfvq75r26ywszxg6lq7wg4hpf")))) + "054m1fa2w7yr03dnb30cciiwr480qx16gvz78qxi2ckr5kc7z3zz")))) (build-system pyproject-build-system) (arguments (list #:build-backend "setuptools.build_meta" #:tests? #f)) ;keep dependencies to a minimum From patchwork Mon Dec 25 09:09:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58054 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EE39727BBE9; Mon, 25 Dec 2023 09:11:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2081627BBE2 for ; Mon, 25 Dec 2023 09:11:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzB-0003LY-Mz; Mon, 25 Dec 2023 04:10:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgz9-0003Ku-QH for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgz9-00018T-IL for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzF-0003iP-UM; Mon, 25 Dec 2023 04:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 03/13] gnu: Add rust-unsize-1. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349540414083 (code B ref 68023); Mon, 25 Dec 2023 09:11:01 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:04 +0000 Received: from localhost ([127.0.0.1]:53928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyJ-0003eu-Ar for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyC-0003dS-Ci for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy0-0000hX-Km; Mon, 25 Dec 2023 04:09:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=nSVAO21et1+JJQwc/deMezbBzGoHmm17Hzszt7zl8Qw=; b=dBdevhDP4il+rSz/IPV9 f6jCEIGlg8VzDS/ZF5V+EnrnDkK4mMgoBEpaZc42XYHMfpv5j8qbGtcFm5X4UfW+8/IeLX6ZLSr4b vTzfl8hyT0tnN5SdD8cV7/1b0p3IY0TmpdVlUjuxul8TUd8Pg7a/092xopjQpLjtcK+FyGo8bnvFy w1TWKVsDvFr2KrMDCtKF72VeCc6b3AkfndoSoyObnmUXRT44Bmeqbgx4ThkF3F3e8k5G3dZYVUo8f w77eur3BG9fQrGccXOD73QjkjtJfe6ghgxf4Y5HkpU6rpGQQO5+7Bxh6BXlELNbLtpvWvC7rbS3ya OhplNXP3ZJ6qnA==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:19 +0100 Message-ID: <91bf580066833dc22ad52c498bec17c762bf0966.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-unsize-1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: Iae3dcb97809622e79ae6dc74ed94723ff1da8e29 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4af4e51a1a..b552fbb1c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85437,6 +85437,26 @@ (define-public rust-unsafe-unwrap-0.1 "This crate enables unchecked unwrapping on Option and Result types.") (license (list license:expat license:asl2.0)))) +(define-public rust-unsize-1 + (package + (name "rust-unsize") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unsize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fd9lzdhkahygxy9b348m0fs4wlldh5ymp1dcr56d9f16jksg9sg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))) + (home-page "https://github.com/HeroicKatora/static-alloc") + (synopsis "Stable alternative to CoerceUnsize") + (description + "This package provides a stable alternative to @code{CoerceUnsize}.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-untrusted-0.7 (package (name "rust-untrusted") From patchwork Mon Dec 25 09:09:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58056 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 87F2927BBEA; Mon, 25 Dec 2023 09:11:19 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1410F27BBE9 for ; Mon, 25 Dec 2023 09:11:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzC-0003Lq-Bt; Mon, 25 Dec 2023 04:10:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzA-0003L2-8q for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzA-00018Z-1A for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzG-0003iX-Dp; Mon, 25 Dec 2023 04:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 04/13] gnu: Add rust-triomphe-0.1. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349540514102 (code B ref 68023); Mon, 25 Dec 2023 09:11:02 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:05 +0000 Received: from localhost ([127.0.0.1]:53932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyJ-0003fB-VV for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyE-0003dV-Oh for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy2-0000hn-Ez; Mon, 25 Dec 2023 04:09:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=5zuOLVmv3/aHWr6D3CGoGCsu0leFwI3Q9gk2SBwpqY0=; b=jZwr5Z8HmOHXXE0DpFhD 6WriQFa+sPuj4vkwpTr3Bz8dyK92HQuq7IpiTN5h59OqbGXA0riyxWpdxcmWV6Z8KnxncDlXUuixD mEI+Uqwy/lfD04Y+hK5b9d0PW4/YzlE8L9PjSNABoqoDEIFWm1A4v6WVOYP3r9ZilThDx5nLk/LFP hahWz86QYDrCAwiq4otj29LylYOek9rb0LogxLLGor08TIBAIsXt3PaQhaUTyS/tZ/rHU2K6oAt28 LvQMaIQ20CxLHolRmQuLu1tI3Rk3+hDe0Md8y0fNJfzv080TXWKUd54gnTKLwCYk987Gb8UdgTun0 8EYcBuAWe21JsQ==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:20 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-triomphe-0.1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I4bd9ea34b30ae03f8f8dbc4a083d6e246c746ee5 --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b552fbb1c3..18b26f4c50 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -82710,6 +82710,31 @@ (define-public rust-treeline-0.1 "This package provides a library for visualizing tree structured data.") (license license:expat))) +(define-public rust-triomphe-0.1 + (package + (name "rust-triomphe") + (version "0.1.11") + (source + (origin + (method url-fetch) + (uri (crate-uri "triomphe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1crf71hndy3fc68x8v4aikkdjynp4n5sdhq28sck8x7frx8bd7l5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-arc-swap" ,rust-arc-swap-1) + ("rust-serde" ,rust-serde-1) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1) + ("rust-unsize" ,rust-unsize-1)))) + (home-page "https://github.com/Manishearth/triomphe") + (synopsis + "Fork of std::sync::Arc with some extra functionality") + (description + "This package provides a fork of std::sync::Arc with some extra +functionality and without weak references (originally servo_arc).") + (license (list license:expat license:asl2.0)))) + (define-public rust-triple-accel-0.4 (package (name "rust-triple-accel") From patchwork Mon Dec 25 09:09:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58060 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5AE3027BBEB; Mon, 25 Dec 2023 09:11:39 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA3F527BBE2 for ; Mon, 25 Dec 2023 09:11:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzE-0003Mf-0R; Mon, 25 Dec 2023 04:11:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzB-0003LA-1g for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzA-00018g-D5 for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzG-0003ig-Q5; Mon, 25 Dec 2023 04:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 05/13] gnu: Add rust-compiletest-rs-0.10. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349540514113 (code B ref 68023); Mon, 25 Dec 2023 09:11:02 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:05 +0000 Received: from localhost ([127.0.0.1]:53935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyK-0003fP-RZ for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyG-0003dh-10 for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:00 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy4-0000iC-9D; Mon, 25 Dec 2023 04:09:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=DsKRx8N3VxT3dFj5me6EkHQQvON0y8lxyDNYlRETWH4=; b=Up0kPTUs7Hjky3pXjnzy ggISKRLizKH3yJdRvwRH6s+MJwZfWK3lEQXJOhEMBqZOkTsy1ji86rDuIOWgOQRDZ3QYAsL+OmbZL 0moIBikfQGW6ARpUniXxHbXJfVCMgTCp2SdRPOfhcHbxDZdgv2+JfMuUR4V0X6RiYxc1ECZOXzeqt 9XA+OmLYVEl2Ox1JVtqbf+sEpgGwzeKb3NatpGAlmApskz3yKI7iN89we0feijs+yJxFrX8OfIPVV rsKfABiPpzdefMCXddgMQc8UxUAXuVcz9oJcWXk3Z/PQUSwpiwYiaRFRWRZxHiNCYUXODcm+C7i1s /s45A31IebXH3w==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:21 +0100 Message-ID: <04cf62d89dfa23b4f3ba8db316171d11cd3c86ef.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-compiletest-rs-0.10): New variable. Signed-off-by: Mathieu Othacehe Change-Id: Ibd6fc9fa1803df3a804801a10923b8b70c1f4073 --- gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 18b26f4c50..b09fbbd05f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14949,6 +14949,43 @@ (define-public rust-compiler-error-0.1 (description "This package provides a triggerable compiler error for Rust.") (license license:expat))) +(define-public rust-compiletest-rs-0.10 + (package + (name "rust-compiletest-rs") + (version "0.10.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "compiletest_rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mn0v8qax92pl9kdf2csah79jyigzvndg8mil6rpn97rpkhzw9bj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-diff" ,rust-diff-0.1) + ("rust-filetime" ,rust-filetime-0.2) + ("rust-getopts" ,rust-getopts-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-miow" ,rust-miow-0.3) + ("rust-regex" ,rust-regex-1) + ("rust-rustfix" ,rust-rustfix-0.6) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-tester" ,rust-tester-0.9) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/Manishearth/compiletest-rs") + (synopsis + "Extraction of the compiletest utility from the Rust compiler") + (description + "This package provides an extraction of the compiletest utility from the +Rust compiler.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-compiletest-rs-0.3 (package (name "rust-compiletest-rs") From patchwork Mon Dec 25 09:09:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58064 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0D62A27BBE2; Mon, 25 Dec 2023 09:11:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8252127BBE9 for ; Mon, 25 Dec 2023 09:11:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003MX-Pt; Mon, 25 Dec 2023 04:10:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzB-0003LB-2a for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzA-00018k-PN for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzH-0003io-5x; Mon, 25 Dec 2023 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 06/13] gnu: Add rust-archery-1. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349540614128 (code B ref 68023); Mon, 25 Dec 2023 09:11:03 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:06 +0000 Received: from localhost ([127.0.0.1]:53939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyL-0003fZ-JP for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyH-0003ds-Sf for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy6-0000ii-4U; Mon, 25 Dec 2023 04:09:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=MCFG6YhAFhqF0fPdzAcXPhc38ioQF7BknOb2EgLsykw=; b=KX9Dp2duKWHqaZNR8HM8 ICkDNyZDE8EFOz5YYimI57/k2PdQBwrbnnhaAq1aOJPKUUXmDPUmNjb5aHuEpbzeERedWvepVviEb +J5nJDG7qDN4pfBAmwZeA+n8pxNArYafUGcCxlciL9lZgBPL0fcl2ZYGKQDyZouLXpD6Vg6Z0+VDQ kEFY3clJSXLiyEQ6H6454kkIBff0FqSy+Dir7Yl5PiuDBXw994sORK1OmsVCdifBwjBaPW0LGpyAA bK3xA4Wlewo0TI9llloHAOnHJdmgSyJdCOe16NW9L0vnxqOfqEUL3q/Tbjp71cuTzrotlez1oRWh2 tN9Zv+ica4dmfw==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:22 +0100 Message-ID: <8e25849ab27e89dacccf20bae7d32ec7b8af98c9.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-archery-1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: Ie0b29e5c3163e0202327ce5661393ee1d3925d89 --- gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b09fbbd05f..b7f39ff8ff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4096,6 +4096,32 @@ (define-public rust-arc-swap-0.4 ("rust-proptest" ,rust-proptest-0.9) ("rust-version-sync" ,rust-version-sync-0.9)))))) +(define-public rust-archery-1 + (package + (name "rust-archery") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "archery" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1lp7lq613dd21ay15gzbl8s5r91c96iia000rs358xk217v5aya8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-static-assertions" ,rust-static-assertions-1) + ("rust-triomphe" ,rust-triomphe-0.1)) + #:cargo-development-inputs + (("rust-compiletest-rs" ,rust-compiletest-rs-0.10) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1)))) + (home-page "https://github.com/orium/archery") + (synopsis "Abstract over the atomicity of reference-counting pointers") + (description "This package provides a way to abstract @code{Rc} and +@code{Arc} smart pointers. It can also create data structures where +the pointer type is parameterizable.") + (license license:mpl2.0))) + (define-public rust-arg-enum-proc-macro-0.3 (package (name "rust-arg-enum-proc-macro") From patchwork Mon Dec 25 09:09:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58062 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7459F27BBE2; Mon, 25 Dec 2023 09:11:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C988F27BBEA for ; Mon, 25 Dec 2023 09:11:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003MS-ME; Mon, 25 Dec 2023 04:10:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzB-0003LP-DW for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzB-00018v-5p for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzH-0003iw-Il; Mon, 25 Dec 2023 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 07/13] gnu: Add rust-rpds-1. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541814176 (code B ref 68023); Mon, 25 Dec 2023 09:11:03 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:18 +0000 Received: from localhost ([127.0.0.1]:53952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyX-0003gZ-Io for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyJ-0003e6-MB for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy7-0000j4-UU; Mon, 25 Dec 2023 04:09:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=rvhy/q8eG5A/E5XHXwpqhY9pUJZ9Xeejlc34ugPtOqc=; b=Z7JTJs+JiDDnh0FGV9n9 FdzlqOZMRLjQXyFDZaZkppb1m5AXU8TqYHRfW9t8BvvLqTMkw3OE88b2MZt0YTcctNVW0/G1hu45z oHHNkU8DZIuZhw2sUsbI9FDmeJZWZ41WygC5+jeKjj03avCxx3FPzGEIYMTGuDloQqR5yPpEZn/nc tdXAbojL9Hn5rGRh0d6kY/SnDzTNYn4xkoLMswIW9LeRLC+8kaE3lgpQ9tGn2Xa5ezAx7N6sZT3tk VGBx+yrjl3SeQyxNjcNizIXmHr1AIA9NvFt5MKxTVIVSGE9owwZXRSuviLDwkmntSipoPgkXHhAeX 6ZGIn2bpGLxDyA==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:23 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-rpds-1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I91b02a357e679ab4b8361bf232d2fec473a5f910 --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b7f39ff8ff..65b90fed6f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64093,6 +64093,33 @@ (define-public rust-rpassword-4 (sha256 (base32 "17z99xazhhbaczw0ib1vnnq450j0zacdn8b2zcbdir68sdbicdwr")))))) +(define-public rust-rpds-1 + (package + (name "rust-rpds") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rpds" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "194hjbsicmgqi3dyllqrz09mmhh597m2j9l49lr16cyfscambqd0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-archery" ,rust-archery-1) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-bincode" ,rust-bincode-1) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://github.com/orium/rpds") + (synopsis "Persistent data structures with structural sharing") + (description "This package provides support for fully persistent data +structures with structural sharing.") + (license license:mpl2.0))) + (define-public rust-runtime-0.3 (package (name "rust-runtime") From patchwork Mon Dec 25 09:09:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58063 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E7BAC27BBEB; Mon, 25 Dec 2023 09:11:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9825927BBE2 for ; Mon, 25 Dec 2023 09:11:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzF-0003OP-3A; Mon, 25 Dec 2023 04:11:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003M4-0v for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzC-000196-Oh; Mon, 25 Dec 2023 04:10:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzH-0003j6-Ve; Mon, 25 Dec 2023 04:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 08/13] gnu: Add python-rpds-py. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541814185 (code B ref 68023); Mon, 25 Dec 2023 09:11:03 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:18 +0000 Received: from localhost ([127.0.0.1]:53954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyX-0003gb-VF for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyL-0003eJ-GN for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy9-0000jP-OF; Mon, 25 Dec 2023 04:09:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=2KlBRFjhEmo4PDdYrNxeTh/6cCYaE0q3KLY0RLrGsso=; b=eI7X1nIPuX5LtHpcxdpw ld9fYxJma6bx0zIlMtWqmIZmmPgv8uMmisybxzLIjFigsXK9yTF/Gpr4t9xXe/T1ljT0SJWEkoUgO kiHJBFrQDWGhYChNLyLXC2b9tsXBv1TwUHtCrDJ5asf843yK8GaWlVUofWVSly5YEp7rNkK84n8Ey gDR/r/ZVKsB/jGrvSeA3TpzTpIAYeVSU7MswbPMJwfgjoUBK+jSngezVwCbhpQcHWxof677vMrWqw xzgww3ZDBlXzdF3ukCewj8EwsceJW0tKLd6e6sS4/asbSETZbzkouYY6p2kLNjYEOWRvShMmSbGyN tSZJx/xy1ZHfSQ==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:24 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-rpds-py): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I6f4d80cc7a9a3d591fcf894375ef14e079573c0d --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cab44be011..4d3041db2c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34054,6 +34054,46 @@ (define-public python-types-orjson etc. to check code that uses @code{orjson}.") (license license:asl2.0))) +(define-public python-rpds-py + (package + (name "python-rpds-py") + (version "0.10.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "rpds_py" version)) + (sha256 + (base32 + "0l5slkvhq2vf64mapimmj6ginsv01mc4niyj90vvz3assq4agrac")))) + (build-system cargo-build-system) + (arguments + (list + #:imported-modules `(,@%cargo-build-system-modules + ,@%pyproject-build-system-modules) + #:modules '((guix build cargo-build-system) + ((guix build pyproject-build-system) #:prefix py:) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'prepare-python-module 'build-python-module + (assoc-ref py:%standard-phases 'build)) + (add-after 'build-python-module 'install-python-module + (assoc-ref py:%standard-phases 'install))) + #:cargo-inputs + `(("rust-archery" ,rust-archery-1) + ("rust-pyo3" ,rust-pyo3-0.19) + ("rust-rpds" ,rust-rpds-1)) + #:install-source? #false)) + (inputs + (list maturin)) + (native-inputs + (list python-wrapper)) + (home-page "https://github.com/crate-py/rpds") + (synopsis "Bindings to Rust rpds for persistent data structures") + (description "This package provides Python bindings to the Rust rpds crate +for persistent data structures. It was written initially to support replacing +@code{python-pyrsistent}.") + (license license:expat))) + (define-public python-nanoid ;; There are no tests on PyPi. (let ((commit "061f9a598f310b0e2e91b9ed6ce725a22770da64") From patchwork Mon Dec 25 09:09:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58059 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3330827BBEC; Mon, 25 Dec 2023 09:11:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AAEF927BBE9 for ; Mon, 25 Dec 2023 09:11:37 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzF-0003Op-Bt; Mon, 25 Dec 2023 04:11:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003MI-AL for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzD-00019I-2T; Mon, 25 Dec 2023 04:10:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzI-0003jE-BG; Mon, 25 Dec 2023 04:11:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 09/13] gnu: Add python-referencing. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541814192 (code B ref 68023); Mon, 25 Dec 2023 09:11:04 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:18 +0000 Received: from localhost ([127.0.0.1]:53956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyY-0003gj-BO for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyN-0003eW-C7 for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyB-0000jn-JM; Mon, 25 Dec 2023 04:09:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=3L7aKo0L4Jy3IrWkc7gtNVyD86kAY9GZWE2N4jJah3k=; b=JTkLou9IMYXHvHQGtci2 pvzz9SUblrn3wI2L2/3qLiWKYkodus3me0jlFrW6dlKOOswprpmmAFswujL6kD4mokIHO1gdcb2rF QNrwnXZzsSltpCLMKr7/oV+M2cJVkH28IYZCaEzo624pJ/VU9ZDJXxfNIEl/Lj15nTbsYlXL3Y+Me E4xj9xLkQpWanKH5LJnEFB6h1eMTlGUCsIup0dXxQ1p+s0RnYsH7fwlgc6yTGCkBcx5qHChjuSMdF T5DVymo1cFO8obVW7CkbiMQhU2xIF0C2MWAOxsMoXaV/f2VlPKYJY/ItTS/d4nagMREMkLFOh1Wyg wsNBUphM6Sodww==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:25 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-referencing): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I90cfdb3efb0726b445ba35f0336e0a966534d577 --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4d3041db2c..e80e3c9089 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30650,6 +30650,31 @@ (define-public python-reflink implementations.") (license license:expat))) +(define-public python-referencing + (package + (name "python-referencing") + (version "0.32.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "referencing" version)) + (sha256 + (base32 "0qb1zp46ma004wrnflxlzy413ygiiqqk66dpazyxqhqq2bz697k8")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) + (native-inputs + (list python-hatchling + python-hatch-fancy-pypi-readme + python-hatch-vcs + python-trove-classifiers)) + (propagated-inputs (list python-attrs python-rpds-py)) + (home-page "https://github.com/python-jsonschema/referencing") + (synopsis "JSON reference resolution") + (description "This package provides a way for JSON Schema tooling to +resolve the @code{$ref} keywords across all drafts without needing to +implement support themselves.") + (license license:expat))) + (define-public python-retry (package (name "python-retry") From patchwork Mon Dec 25 09:09:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58058 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BA1AF27BBEA; Mon, 25 Dec 2023 09:11:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 34DEA27BBE2 for ; Mon, 25 Dec 2023 09:11:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzI-0003QB-3w; Mon, 25 Dec 2023 04:11:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzG-0003PU-Bf for guix-patches@gnu.org; Mon, 25 Dec 2023 04:11:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzG-00019x-39; Mon, 25 Dec 2023 04:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzI-0003jN-Ou; Mon, 25 Dec 2023 04:11:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 10/13] gnu: Add python-jsonschema-specifications. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541914200 (code B ref 68023); Mon, 25 Dec 2023 09:11:04 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:19 +0000 Received: from localhost ([127.0.0.1]:53958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyY-0003gr-Nq for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyP-0003fL-J5 for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyD-0000kC-OU; Mon, 25 Dec 2023 04:09:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=QgfA4eyiNGe9mgzMcJC60fkdvR72lDtq0oW1bvTta2g=; b=VlEIj6mxJjWX3Hx6pN5R WFC4W00W0Np2tc0vk3/dZ/hg77sIVmS992zEOzoDf/4PF8K6WtnLiatzRE8u0kqcCDz1Q4gBKzerh lLwzrArcAhhR7DCI+HGRJgKTV/jpWikTvG7DVgb/QlKtuAzrAMMnyJzxxPnf2rdm0GEsCtqG+OMSq WxDYaesg3yLyb058n7WkNRsBgpESoZ+kVIKf0INTZ2TJYbqTnOkj1O4Odc7avcUwCcF5iAwWsDNLw YkOFC8DWwt8V3rj+FInWwYOmTQdHDmRhzJ7bkPsaPjCh7jaXpRfogaYlwLmdvlPlr2GwjpUHgHbnN Ts9U+C1LjSFRvQ==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:26 +0100 Message-ID: <8a52cc7f8acddedeaf62b7d57b5145aa6ecdfd02.1703494195.git.othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-jsonschema-specifications): New variable. Signed-off-by: Mathieu Othacehe Change-Id: I967800d6867d6a6405230aa48ed4a06ee3d42d14 --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e80e3c9089..c4d6d20751 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5038,6 +5038,32 @@ (define-public python-schema-0.5 (base32 "10zqvpaky51kgb8nd42bk7jwl8cn2zvayxjpdc1wwmpybj92x67s")))))) +(define-public python-jsonschema-specifications + (package + (name "python-jsonschema-specifications") + (version "2023.11.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jsonschema_specifications" version)) + (sha256 + (base32 "1f41kby85dd1yzy0xa1fvgjakdfcmq6ijasax95xfk27x97zqwll")))) + (build-system pyproject-build-system) + (native-inputs + (list python-hatchling + python-hatch-fancy-pypi-readme + python-hatch-vcs + python-pytest)) + (propagated-inputs + (list python-importlib-resources python-referencing)) + (home-page "https://github.com/python-jsonschema/jsonschema-specifications") + (synopsis "JSON Schema Specifications support") + (description + "This package provides support for the JSON Schema +Specifications (metaschemas, vocabularies, ...), packaged for runtime access +from Python as a referencing-based Schema Registry.") + (license license:expat))) + (define-public python-kitchen (package (name "python-kitchen") From patchwork Mon Dec 25 09:09:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58061 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E562027BBEA; Mon, 25 Dec 2023 09:11:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F0ED27BBE2 for ; Mon, 25 Dec 2023 09:11:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzE-0003Ng-Jq; Mon, 25 Dec 2023 04:11:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003M5-2U for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzC-000197-Qt; Mon, 25 Dec 2023 04:10:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzJ-0003jW-6Q; Mon, 25 Dec 2023 04:11:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 11/13] gnu: python-jsonschema: Update to 4.17.3. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349541914207 (code B ref 68023); Mon, 25 Dec 2023 09:11:05 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:19 +0000 Received: from localhost ([127.0.0.1]:53960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyZ-0003gz-6M for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyS-0003fy-9w for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:13 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyG-0000kh-I1; Mon, 25 Dec 2023 04:10:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=jD9nm2D7LuFtsqMUum72FE7CX8WULsK8+uNYBnCd8qU=; b=EgQpo/VVmZn5rACDijBv okWuXmXah/vE9neMgzsf5SdPER611V81tGFm2IHZ0ZdGaEcrp0R95zcRSSYlERxSWAHlkszXvJpAo wyAHGfg1gRE1coJdbFbXFVyRn70CkYyXXM2wFkqs2Lm9+Wn60KgXXd9Ax+UGmm/yhjyS1wSE65smB cCzlS1j/KVuRreeQIYTtDQWG0efq1XDPRfqWN7QpIvceS52MO7dF9yV0s2LlMNmLVsGRYt5x3mCMj sBUhwOOnRZlKr1b4x3e7QS+6w//SONIXLcrR+RdY4sfDrWUO7fQDhRZv0Oy7ql6YR307DlB/ot8wc TOymVlAUhRB5pw==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:27 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-jsonschema): Update to 4.17.3. [arguments]: Do not replace the 'check phase. [native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme, python-hatch-vcs, python-jsonschema-specifications, python-pytest, python-rpds-py, python-trove-classifiers. [propagated-inputs]: Add python-referencing, python-rpds-py. Change-Id: I39e5128d851470d25ef31edf3baefcdf6d690fa6 Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c4d6d20751..2e74befa1c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4949,15 +4949,13 @@ (define-public python-ddlparse (define-public python-jsonschema (package (name "python-jsonschema") - ;; XXX: Update to the latest version requires new build system - Hatch - ;; https://hatch.pypa.io/ - (version "4.5.1") + (version "4.17.3") (source (origin (method url-fetch) (uri (pypi-uri "jsonschema" version)) (sha256 - (base32 "1z0x22691jva7lwfcfh377jdmlz68zhiawxzl53k631l34k8hvbw")))) + (base32 "03dnxhvzfxmnpn53zsc0598hsslaz7w3wi87cyx7cq4bmcvl91hg")))) (build-system pyproject-build-system) (arguments (list @@ -4968,17 +4966,21 @@ (define-public python-jsonschema ;; without the git metadata available, the version string is set to ;; '0.0.0'. (lambda _ - (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "JSON_SCHEMA_TEST_SUITE" "json") - (invoke "trial" "jsonschema"))))))) - (native-inputs (list python-setuptools-scm python-twisted)) + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (native-inputs (list python-hatchling + python-hatch-fancy-pypi-readme + python-hatch-vcs + python-jsonschema-specifications + python-pytest + python-setuptools-scm + python-trove-classifiers + python-twisted)) (propagated-inputs (list python-attrs python-importlib-metadata python-pyrsistent + python-referencing + python-rpds-py python-typing-extensions)) (home-page "https://github.com/Julian/jsonschema") (synopsis "Implementation of JSON Schema for Python") From patchwork Mon Dec 25 09:09:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58055 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 853AF27BBEA; Mon, 25 Dec 2023 09:11:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CE33C27BBE2 for ; Mon, 25 Dec 2023 09:11:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzG-0003Pc-So; Mon, 25 Dec 2023 04:11:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzE-0003Mk-15 for guix-patches@gnu.org; Mon, 25 Dec 2023 04:11:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzD-00019a-Oc for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzK-0003jt-4k; Mon, 25 Dec 2023 04:11:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 12/13] gnu: Add python-dtschema. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner , Vagrant Cascadian X-Debbugs-Original-Xcc: Efraim Flashner , Vagrant Cascadian Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349543414244 (code B ref 68023); Mon, 25 Dec 2023 09:11:06 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:34 +0000 Received: from localhost ([127.0.0.1]:53964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyo-0003hg-2z for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyU-0003g6-5C for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:25 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyI-0000lS-C7; Mon, 25 Dec 2023 04:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=8RRDTVtrEZS5J8j/lifahyz4k9RJocwYjYs6RfDjVE8=; b=oH4NtA3aSN2GXRqTviVe CoiFcE6CpnlgymymNAFzDrwC7dB2HeP37QH6aDZF1mI0M6bNfXz5NhPSHrknpFV0DH0mMGJ0clwfz DDZRLEuoGBF239F3xdTidC3n51jmYudb8S2oFyCBf9RvcxCJOSKszhIOV0T2C2mSjgVsR2/wEWjzc obh07GXxlvfH8FdeznTuz2wU0BK3YRVyMfV6ncJDQTv8M1r8x177K9OiQQR5f2YV0UnTE9heD9qqI uL4kK09NyUpXvSMuAbpYvJ1zfjZNnbocFMzQW8s7rzDYamZZOy73a1OGq7KsCBjaU7XP3Wqra9YGS EiA2DkWg5+Og/Q==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:28 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bootloaders.scm (python-dtschema): New variable. Change-Id: Iaf5de29ea6db2cdf0998a22f48faf9126282c09d Signed-off-by: Mathieu Othacehe --- gnu/packages/bootloaders.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index f8ba93ce01..fa13b630f3 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -41,6 +41,7 @@ (define-module (gnu packages bootloaders) #:use-module (gnu packages base) #:use-module (gnu packages disk) #:use-module (gnu packages bison) + #:use-module (gnu packages build-tools) #:use-module (gnu packages cdrom) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -60,6 +61,7 @@ (define-module (gnu packages bootloaders) #:use-module (gnu packages perl) #: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 texinfo) #:use-module (gnu packages tls) @@ -75,6 +77,7 @@ (define-module (gnu packages bootloaders) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix gexp) @@ -704,6 +707,46 @@ (define-public dtc tree binary files. These are board description files used by Linux and BSD.") (license license:gpl2+))) +(define-public python-dtschema + (package + (name "python-dtschema") + (version "2023.11") + (source (origin + (method url-fetch) + (uri (pypi-uri "dtschema" version)) + (sha256 + (base32 + "0fr7byph8xpg3z37fjb8fyhmxyk8cqjfyd30rxaskh23lyg496ng")))) + (build-system pyproject-build-system) + (native-inputs + (list python-toml python-setuptools-scm)) + (propagated-inputs + (list dtc + python-attrs + python-jsonschema + python-jsonschema-specifications + python-rfc3987 + python-ruamel.yaml)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; Fix the dependency name. + (add-after 'unpack 'libfdt + (lambda _ + (substitute* "pyproject.toml" + (("pylibfdt") "libfdt")))) + ;; No tests. + (delete 'check)))) + (home-page "https://github.com/devicetree-org/dt-schema") + (synopsis "Devicetree schema validation") + (description "This module provides tools and schema data for Devicetree +schema validation using the json-schema vocabulary. The tools validate +Devicetree files using DT binding schema files. The tools also validate the +DT binding schema files. Schema files are written in a JSON compatible subset +of YAML to be both human and machine readable.") + (license license:bsd-2))) + (define %u-boot-rockchip-inno-usb-patch ;; Fix regression in 2020.10 causing freezes on boot with USB boot enabled. ;; See https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-rockpro64/-/issues/4 From patchwork Mon Dec 25 09:09:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 58057 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1472B27BBEA; Mon, 25 Dec 2023 09:11:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 95B4B27BBE2 for ; Mon, 25 Dec 2023 09:11:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzE-0003NU-9T; Mon, 25 Dec 2023 04:11:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgzD-0003MO-J6 for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rHgzD-00019Q-9a for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzJ-0003jj-Ma; Mon, 25 Dec 2023 04:11:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 13/13] gnu: linux-libre: Add python-dtschema. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, me@tobias.gr, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Leo Famulari , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Leo Famulari , Tobias Geerinckx-Rice Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349542014213 (code B ref 68023); Mon, 25 Dec 2023 09:11:05 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:20 +0000 Received: from localhost ([127.0.0.1]:53962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyZ-0003h6-Lb for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyW-0003gD-8I for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgyK-0000xK-G9; Mon, 25 Dec 2023 04:10:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=+zkVKZSSe722nrYZseKU7plL1tEGDLeHjErqrQG+abE=; b=bbcrwhQ8kAlkRytpmCMm RMEnvpB+ezfKlBs0PzAgRgcoo77OxKGItIY9PwFJZYIUChTtmp72SXgb7VpDButtJ0B50BNNJqFgX 0t9H1ggENDO7y9NPBiS8ZMTdj/lGr1qNy4WJBcVG1S1eZiZX6/OSfiX9vmxF/eL4dZDkXf5f+0ain /365b2cfFbBJ4RMg/a5xGTwi55g834xrqtyYPZbYlucSWdqYLWbxqGfItBlL1DZXdauJjFI33QB+A l3lHh8uaVTSLiUoYD7f8ksMMnVywbvIOiQo9q/TPIWoyXm3SWwO6fHCC6cHyqLybuVCP3cujChrOk nN5DDdp9xYqcpw==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:29 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This allows to run `make dtbs_check` on a Linux checkout after running `guix shell -D linux-libre`. * gnu/packages/linux.scm (linux-libre)[native-inputs]: Add python-dtschema. Signed-off-by: Mathieu Othacehe Change-Id: I9d67a1efc6ecca4b353ebbebf531fceea1eafd7d --- gnu/packages/linux.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 2d9e4cebbe..9a9ffc9c13 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1077,6 +1077,10 @@ (define* (make-linux-libre* version gnu-revision source supported-systems flex bison util-linux ;needed for hexdump + ;; Needed for dtb validation. + (module-ref (resolve-interface + '(gnu packages bootloaders)) + 'python-dtschema) ;; These are needed to compile the GCC plugins. gmp mpfr