[bug#38840] update python-py3status 3.21 to python-xyz.scm
diff mbox series

Message ID 89859462-a59c-b20e-ef98-b6efb3b44aab@moncourriel.eu
State New
Headers show
Series
  • [bug#38840] update python-py3status 3.21 to python-xyz.scm
Related show

Commit Message

Thierry Dec. 31, 2019, 10:42 p.m. UTC

Comments

Marius Bakke Jan. 12, 2020, 9:13 p.m. UTC | #1
thierry@moncourriel.eu writes:

> From c759d206188cbabb17198614247dbbeb9d4803bf Mon Sep 17 00:00:00 2001
> From: Grillon <thierry@moncourriel.eu>
> Date: Tue, 31 Dec 2019 23:25:55 +0100
> Subject: [PATCH] gnu: python-py3status: Update file dependency
>
> * gnu/packages/python-xyz.scm (python-py3status): Update file as
> propagated dependecy

Thanks!  Do you know how "file" is used for py3status?  Ideally we would
patch all invokations of "file" so that it uses the absolute file name,
instead of propagating it, along these lines:

  (substitute* "foo.py"
    (("'file'") (string-append "'" (which "file") "'")))

Can you see if such an approach is feasible for python-py3status?

Patch
diff mbox series

From c759d206188cbabb17198614247dbbeb9d4803bf Mon Sep 17 00:00:00 2001
From: Grillon <thierry@moncourriel.eu>
Date: Tue, 31 Dec 2019 23:25:55 +0100
Subject: [PATCH] gnu: python-py3status: Update file dependency

* gnu/packages/python-xyz.scm (python-py3status): Update file as
propagated dependecy
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9b71982c3a..f5d95562c2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9897,7 +9897,7 @@  to occurrences in strings and comments.")
        (sha256
         (base32 "16z8zq83hxy48g6hh4xczbdz50qvxv9k1aahr4fqq7jis60cc262"))))
     (build-system python-build-system)
-    (inputs
+    (propagated-inputs
      `(("file" ,file)))
     (arguments
      '(#:phases
-- 
2.24.1