guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 06af246bbf8b73a754bf322284b6e80b8a001fc3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Nov 24 20:14:27 2025 +0000

    gnu: date2name: Update to 0.0-2.50cc8d3.
    
    * gnu/packages/python-xyz.scm (date2name): Update to
    50cc8d3957fc0bdc26c65042ab8f0d9f05610283 commit.
    [arguments]: Drop all.
    [native-inputs]: Remove python-setuptools; add python-poetry-core and
    python-pytest.
    
    Change-Id: I5ac959c5f4cfd314aa55dd9db85f81996734cc74
---
 gnu/packages/python-xyz.scm | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 33c61742b5..d779850a08 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -33374,8 +33374,8 @@ key-value pairs from a @code{.env} file and set them as 
environment variables.")
        (replace "python-sh" python-sh-1)))))
 
 (define-public date2name
-  (let ((commit "6c8f37277e8ec82aa50f90b8921422be30c4e798")
-        (revision "1"))
+  (let ((commit "50cc8d3957fc0bdc26c65042ab8f0d9f05610283")
+        (revision "2"))
     (package
       (name "date2name")
       (version (git-version "0.0" revision commit))
@@ -33383,26 +33383,15 @@ key-value pairs from a @code{.env} file and set them 
as environment variables.")
        (origin
          (method git-fetch)
          (uri (git-reference
-               (url "https://github.com/novoid/date2name";)
-               (commit commit)))
+                (url "https://github.com/novoid/date2name";)
+                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1vq96b7n16d932nyfhnzwdwxff0zrqanidmwr4cxj2p67ad9y3w7"))))
+          (base32 "16m24dvyg93rpa94401cladjvj5pk3ds5y6sbz54xygdpg9qf8qm"))))
       (build-system pyproject-build-system)
-      (arguments
-       (list
-        #:tests? #f ;no tests
-        #:phases
-        #~(modify-phases %standard-phases
-            (delete 'build)
-            (replace 'install
-              (lambda _
-                (let* ((bindir (string-append #$output "/bin"))
-                       (binary (string-append bindir "/date2name")))
-                  (mkdir-p bindir)
-                  (copy-file "date2name/__init__.py" binary)
-                  (chmod binary #o555)))))))
-      (native-inputs (list python-setuptools))
+      (native-inputs
+       (list python-poetry-core
+             python-pytest))
       (synopsis "Handling time-stamps and date-stamps in file names")
       (description
        "By default, date2name gets the modification time of matching files and

Reply via email to