From patchwork Wed Sep 20 10:05:26 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: 54066 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 1C72327BBEA; Wed, 20 Sep 2023 11:06:24 +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 21DE827BBE2 for ; Wed, 20 Sep 2023 11:06:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiu5m-0002mY-KQ; Wed, 20 Sep 2023 06:05:58 -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 1qiu5j-0002lr-3k for guix-patches@gnu.org; Wed, 20 Sep 2023 06:05:56 -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 1qiu5h-0004HM-54 for guix-patches@gnu.org; Wed, 20 Sep 2023 06:05:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiu5q-00048U-3T for guix-patches@gnu.org; Wed, 20 Sep 2023 06:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65911] [PATCH v1 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, 20 Sep 2023 10:06: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.169520435315851 (code B ref 65911); Wed, 20 Sep 2023 10:06:02 +0000 Received: (at 65911) by debbugs.gnu.org; 20 Sep 2023 10:05:53 +0000 Received: from localhost ([127.0.0.1]:58399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiu5h-00047a-4x for submit@debbugs.gnu.org; Wed, 20 Sep 2023 06:05:53 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:47104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiu5e-00047E-A8 for 65911@debbugs.gnu.org; Wed, 20 Sep 2023 06:05:51 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-502b0d23f28so10852094e87.2 for <65911@debbugs.gnu.org>; Wed, 20 Sep 2023 03:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695204335; x=1695809135; 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=hnP3E9DY0UoRsWTdsWHR9VqyjHhl/OmIZkAzmxgSsxMEZ7IfjZwBu8L0ghyo/CMZLt sHAGWYRwyLmaMnciCafEXB8XVAAg/oFsUJZXZWgXjQscwsksHOm/m5iCcDK4+MdAvLKQ EFJSFkt+psp5Bq9AwHcUDGXaQZccRiII3mETuQNOgiJtG+E6BFlacEJlc/BNV6cLmRjw /xqk3HpKNkdcS1b6GIE/g4dAX5WYeNqo5nTpGwYv9BVyPRE5lQhwBFP4Uk1L0kyv9R1z Vsq2GkRHqW36YishMFtdovrmAYq42MllGWQqjdfIB5pp5I5OE199jnrmHRGKW8T85MPn O2ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695204335; x=1695809135; 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=QRFcE8Ev28AF/2LVBmM47VBFiV3ttbY550tzFrz1EeJ+Isy5CHVJmGq6lRai1Vizge xwk8blZu9v7FKHlSzEL3XLQDuEsY2Wa8Y3gyEaM4FKDY3DUe9yoaNTJoU0rzIsCodwYf JIjJmbxIjR/LMG/KJe8qz0Os95f3etBpRme6w9CuQrEpngPufWIJ2Y7+L1j+CSEv0KSQ vfJLZKEZP+5eh+ARqkgsOHwUbmVDHxJNszWFL/DM6LPPpt5WhvGFEym182FRrF01Hawg WjrPsf4G4vrX7J3YJJ95bb1/cSaGqrM8Wt8ugCpL7rPtZ8SCz0zldgSk3DsaQB8DXNYz RUlg== X-Gm-Message-State: AOJu0YwQRLkraHrzMUj5jc3x0t4NXlj3bT5JWIBGsDznqrQyvWWmD37J OmbT24apGIiChwbssqLTGNFBp1bGtmCES+nr0GfwwQ== X-Google-Smtp-Source: AGHT+IHBmbEZlUOe8ZJXcLGPuHmPfW9HKrVD5NqtUeoeBaSsil9jRpvHVXdxXCfWlXAbZZftd2nC6Q== X-Received: by 2002:a05:6512:104f:b0:503:364e:96ce with SMTP id c15-20020a056512104f00b00503364e96cemr2152832lfb.29.1695204334639; Wed, 20 Sep 2023 03:05:34 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id y20-20020a05600c20d400b003fefaf299b6sm1496927wmm.38.2023.09.20.03.05.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:05:34 -0700 (PDT) Date: Wed, 20 Sep 2023 12:05:26 +0200 Message-Id: <20230920100528.1217339-2-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230920100528.1217339-1-jean@foundationdevices.com> References: <20230920100528.1217339-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))