gnu: python-pre-commit: Move deprecated variable next to replacement.
This fixes a module import dependency cycle, which was introduced in
831baaf81e
("gnu: python-pre-commit: Replace
with pre-commit."). The rule of thumb to avoid these is that the deprecated
package should live next to the replacement package (in the same module).
* gnu/packages/python-xyz.scm (python-pre-commit): Move to...
* gnu/packages/version-control.scm (python-pre-commit): ... here.
master
parent
0e2e1ffc95
commit
1415d964ab
|
@ -24312,9 +24312,6 @@ Features:
|
||||||
@end itemize")
|
@end itemize")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-pre-commit
|
|
||||||
(deprecated-package "python-pre-commit" pre-commit))
|
|
||||||
|
|
||||||
(define-public python-precis-i18n
|
(define-public python-precis-i18n
|
||||||
(package
|
(package
|
||||||
(name "python-precis-i18n")
|
(name "python-precis-i18n")
|
||||||
|
|
|
@ -1757,6 +1757,9 @@ specify a list of hooks you want and pre-commit manages the installation and
|
||||||
execution of any hook written in any language before every commit.")
|
execution of any hook written in any language before every commit.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-pre-commit
|
||||||
|
(deprecated-package "python-pre-commit" pre-commit))
|
||||||
|
|
||||||
(define-public mercurial
|
(define-public mercurial
|
||||||
(package
|
(package
|
||||||
(name "mercurial")
|
(name "mercurial")
|
||||||
|
|
Reference in New Issue