guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

107/150: gnu: python-capablerobot-usbhub: Build using python-poetry-core


From: guix-commits
Subject: 107/150: gnu: python-capablerobot-usbhub: Build using python-poetry-core.
Date: Sun, 24 Apr 2022 05:12:30 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit d11334825e60d0f2e992b0c554ad87aaddc53956
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Jan 7 13:33:13 2022 +0100

    gnu: python-capablerobot-usbhub: Build using python-poetry-core.
    
    * gnu/packages/libusb.scm (python-capablerobot-usbhub)[arguments]:
    Override #:build-backend.
    [native-inputs]: Add python-poetry-core.
---
 gnu/packages/libusb.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 01771dffca..aa8b45e942 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -47,6 +47,7 @@
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages python-build)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xiph))
@@ -316,7 +317,8 @@ wrapper for accessing libusb-1.0.")
          "1priic4iq2vn1rc711kzxwhxrwa508rkxrr193qdz2lw26kdhvix"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
+     `(#:build-backend "poetry.core.masonry.api"
+       #:phases
        (modify-phases %standard-phases
          (add-after 'install 'install-udev-rules
            (lambda* (#:key outputs #:allow-other-keys)
@@ -329,6 +331,7 @@ wrapper for accessing libusb-1.0.")
                #t))))))
     (propagated-inputs
      (list python-click python-construct python-pyusb python-pyyaml))
+    (native-inputs (list python-poetry-core))
     (home-page
      "https://github.com/CapableRobot/CapableRobot_USBHub_Driver";)
     (synopsis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]