guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3694267e233226d32186e85a7444d21d8c084a8f
Author: Nguyễn Gia Phong <[email protected]>
AuthorDate: Sat Feb 14 22:49:43 2026 +0900

    gnu: java-antlr4-runtime-python: Rename to python-antlr4-runtime.
    
    * gnu/packages/java.scm (python-antlr4-runtime):
      Rename from java-antlr4-runtime-python.
      [outputs]: Fall back to default.
      (java-antlr4-runtime-python):
      Deprecate in favor of python-antlr4-runtime.
    * gnu/packages/geo.scm (python-cf-units)[propagated-inputs]:
      Replace java-antlr4-runtime-python with python-antlr4-runtime.
    * gnu/packages/python-xyz.scm (python-moto)[propagated-inputs],
      (python-omegaconf)[propagated-inputs]:
      Replace java-antlr4-runtime-python with python-antlr4-runtime.
    
    Change-Id: Ia679b1d0402236650aa92cbcbd7bc6f03ffbcda1
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/geo.scm        | 2 +-
 gnu/packages/java.scm       | 9 ++++++---
 gnu/packages/python-xyz.scm | 4 ++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index fdec1f424f..64982fe351 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -2069,7 +2069,7 @@ extension.")
     (inputs
      (list udunits))
     (propagated-inputs
-     (list java-antlr4-runtime-python
+     (list python-antlr4-runtime
            python-cftime
            python-jinja2
            python-numpy))
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index efe3c1e70a..8e85afe9bb 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8918,11 +8918,11 @@ generated sources by ANTLR.")))
 (define-deprecated-package java-antlr4-runtime-cpp
   cpp-antlr4-runtime)
 
-(define-public java-antlr4-runtime-python
+(define-public python-antlr4-runtime
   (package
     (inherit java-antlr4-runtime)
-    (name "java-antlr4-runtime-python")
-    (outputs '("out"))
+    (name "python-antlr4-runtime")
+    (properties '((upstream-name . "antlr4-python3-runtime")))
     (build-system pyproject-build-system)
     (arguments
      (list
@@ -8938,6 +8938,9 @@ generated sources by ANTLR.")))
     (description "This package contains the Python runtime library used with
 Python generated sources by ANTLR.")))
 
+(define-deprecated-package java-antlr4-runtime-python
+  python-antlr4-runtime)
+
 (define-public antlr4
   (package
     (inherit java-antlr4-runtime)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 070e6c2dcf..0838c0085e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18760,7 +18760,7 @@ files.")
              python-setuptools
              python-wheel))
       (propagated-inputs
-       (list java-antlr4-runtime-python
+       (list python-antlr4-runtime
              python-pydevd
              python-pyyaml))
       (home-page "https://github.com/omry/omegaconf";)
@@ -19474,7 +19474,7 @@ for the module to work under Python 3.3.")
     (inputs
      (list bash-minimal))
     (propagated-inputs
-     (list java-antlr4-runtime-python
+     (list python-antlr4-runtime
            python-aws-xray-sdk
            python-boto3
            python-botocore

Reply via email to