From patchwork Wed Sep 13 09:55:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Pierre De Jesus DIAZ X-Patchwork-Id: 53782 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 5923F27BBEC; Wed, 13 Sep 2023 10:57:29 +0100 (BST) 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 78EB427BBE2 for ; Wed, 13 Sep 2023 10:57:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgMcH-00035n-B3; Wed, 13 Sep 2023 05:57:01 -0400 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 1qgMcE-00034g-5d for guix-patches@gnu.org; Wed, 13 Sep 2023 05:56:58 -0400 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 1qgMcD-0002oB-TO for guix-patches@gnu.org; Wed, 13 Sep 2023 05:56:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qgMcI-0008PM-R3 for guix-patches@gnu.org; Wed, 13 Sep 2023 05:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65911] [PATCH 2/4] gnu: python-pyusb: Use G-Expressions. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Sep 2023 09:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65911 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65911@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 65911-submit@debbugs.gnu.org id=B65911.169459898232249 (code B ref 65911); Wed, 13 Sep 2023 09:57:02 +0000 Received: (at 65911) by debbugs.gnu.org; 13 Sep 2023 09:56:22 +0000 Received: from localhost ([127.0.0.1]:60855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgMbd-0008O4-Fs for submit@debbugs.gnu.org; Wed, 13 Sep 2023 05:56:21 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:53725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgMbW-0008NO-UF for 65911@debbugs.gnu.org; Wed, 13 Sep 2023 05:56:17 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-401f68602a8so71748675e9.3 for <65911@debbugs.gnu.org>; Wed, 13 Sep 2023 02:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1694598964; x=1695203764; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z7vewyNrd3yvpvRhka3hG253wR9i1tRJ2xCbFm1TjOc=; b=LkRknlO5VeVJrmDW3wihyCuU+atQzyFEBGGLcDTk83E/Ton/c7llLYFYYeRsEJ8z/g oKNUKb85ArFm/APZRPj50aXH+Uev+3brP8mQvUAWCDZc5HmYhvdjYQXCRWEcIoZrtwAU TwbZhi1ugI651Rh80ipJupYBwcWI0buvZDva80hRDRYBWj+8ZGQWyg+9tFK98L322o46 F4fo97F0zXJ6I4h8sj1+ry7Ybh6kzcQvsP5C7Z/Enp1u6HVgZnq2BplwXSl4ymipaSlt /pDtrybSFnvwkLnNv4Vc+vo4HSgpko0Dx0VF046XpqKwiurcxeXZ5A6vwnJ6Z59a0gdO fNng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694598964; x=1695203764; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z7vewyNrd3yvpvRhka3hG253wR9i1tRJ2xCbFm1TjOc=; b=mIr8ZXJyYEHA0foOqnhJtM8mCwTqyF9OnOVSalza/QaEbCzL1I/FEbJhp2wcjALY6O hkxEQbGNg52vjl3KDYVnWYJsTw3Yz0PwiIn1kSWwN3Vn7vU6LbdYIaRp0tPIQT1vi4Oj vf+GVEEFRx6qp3ZPw7+51hL2Fl3e3jm8389ZnYZXCOkyL/VKeh6ltzNDqYSD+M4Is0um ZSaZHvwycwl/EaE6lIdDJuiw8wnQganIr+vd6j8popUC7nfEWO0c9q+KFfkljhDvJHc/ Lov+OJqqPwgY69TAeQdpRJqeD9nuH6J8P9svOUutR+pv3ecTLtDiB8p1jYN/cPQW0DE3 91/Q== X-Gm-Message-State: AOJu0YzN+507sbgMyhJKaV5ACilfqcA4/NBm9HR/T8+hrTkVVROBLy4k 2uoaIC2ZnJyuofhuSfBZHpk9QswasW6C20A8XYp6NQ== X-Google-Smtp-Source: AGHT+IEI7AzgC9wuUe5nRET3O7KwGdRWkimhh5/6T7mvbGiGmhFiPP3u5rsZT2k4igiINg7tZCLsHg== X-Received: by 2002:a7b:cc94:0:b0:401:bf89:b013 with SMTP id p20-20020a7bcc94000000b00401bf89b013mr1506128wma.19.1694598963925; Wed, 13 Sep 2023 02:56:03 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id x14-20020a1c7c0e000000b003fe2b081661sm1577675wmc.30.2023.09.13.02.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 02:56:03 -0700 (PDT) Date: Wed, 13 Sep 2023 11:55:57 +0200 Message-Id: <20230913095559.12676-2-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230913095559.12676-1-jean@foundationdevices.com> References: <20230913095559.12676-1-jean@foundationdevices.com> 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches X-Patchwork-Original-From: Jean-Pierre De Jesus DIAZ via Guix-patches via From: Jean-Pierre De Jesus DIAZ 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/usb.scm (python-pyusb) : Use G-Expressions style instead of quoting. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/libusb.scm | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index e615b81ea3..469882e871 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -288,24 +288,23 @@ (define-public python-pyusb "1fg7knfzybzija2b01pzrzhzsj989scl12sb2ra4f503l8279k54")))) (build-system python-build-system) (arguments - `(#:tests? #f ; no tests - #:modules ((srfi srfi-1) - (srfi srfi-26) - (guix build utils) - (guix build python-build-system)) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-libusb-reference - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "usb/libloader.py" - (("lib = locate_library\\(candidates, find_library\\)") - (string-append - "lib = \"" - (find (negate symbolic-link?) - (find-files (assoc-ref inputs "libusb") - "^libusb-.*\\.so\\..*")) - "\""))) - #t))))) + (list #:tests? #f ; no tests + #:modules '((srfi srfi-1) + (srfi srfi-26) + (guix build utils) + (guix build python-build-system)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-libusb-reference + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "usb/libloader.py" + (("lib = locate_library\\(candidates, find_library\\)") + (string-append + "lib = \"" + (find (negate symbolic-link?) + (find-files (assoc-ref inputs "libusb") + "^libusb-.*\\.so\\..*")) + "\"")))))))) (native-inputs (list python-setuptools-scm))