guix-commits
[Top][All Lists]
Advanced

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

15/16: gnu: python-pre-commit: Replace with pre-commit.


From: guix-commits
Subject: 15/16: gnu: python-pre-commit: Replace with pre-commit.
Date: Sun, 12 Mar 2023 07:14:27 -0400 (EDT)

lbraun pushed a commit to branch master
in repository guix.

commit 831baaf81e57ce9d9053ba6f9e0653a2d27298c4
Author: Antero Mejr <antero@mailbox.org>
AuthorDate: Sat Mar 11 13:39:44 2023 +0000

    gnu: python-pre-commit: Replace with pre-commit.
    
    * gnu/packages/python-xyz.scm (python-pre-commit): Deprecate in favor of
    pre-commit.
    
    Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
---
 gnu/packages/python-xyz.scm | 29 +----------------------------
 1 file changed, 1 insertion(+), 28 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 20de20a229..9daacb9777 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24317,34 +24317,7 @@ Features:
     (license license:asl2.0)))
 
 (define-public python-pre-commit
-  (package
-    (name "python-pre-commit")
-    (version "2.10.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "pre_commit" version))
-       (sha256
-        (base32 "1ycf6wpxrhxhdzz0vpryhbdxlwik5khgcvp3hxwvfr447a6k84zl"))))
-    (build-system python-build-system)
-    (arguments
-     ;; Tests fail with "AttributeError: module 'pre_commit.resources' has no
-     ;; attribute 'empty_template_setup'".
-     `(#:tests? #false))
-    (propagated-inputs
-     (list python-cfgv
-           python-identify
-           python-importlib-metadata
-           python-nodeenv
-           python-pyyaml
-           python-toml
-           python-virtualenv))
-    (home-page "https://github.com/pre-commit/pre-commit";)
-    (synopsis "Framework for managing multi-language pre-commit hooks")
-    (description
-     "This package provides a framework for managing and maintaining
-multi-language pre-commit hooks.")
-    (license license:expat)))
+  (deprecated-package "python-pre-commit" pre-commit))
 
 (define-public python-precis-i18n
   (package



reply via email to

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