gnu: Rename stringtemplate3 to java-stringtemplate-3.

* gnu/packages/java.scm (stringtemplate3): Replace this...
(java-stringtemplate-3): ...with this.
[name]: Change to "java-stringtemplate".
(stringtemplate4)[inputs]: Adjust accordingly.
(stringtemplate4-4.0.6)[inputs]: Likewise.
(antlr3)[inputs, propagated-inputs]: Likewise.
(antlr3-3.3)[propagated-inputs, arguments]: Likewise.
(antlr3-3.1)[propagated-inputs]: Likewise.
This commit is contained in:
Ricardo Wurmus 2017-05-16 12:43:49 +02:00
parent 8a3814cdc5
commit e44112e1a5
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 9 additions and 9 deletions

View File

@ -3149,9 +3149,9 @@ C++, or Python actions. ANTLR provides excellent support for tree construction,
tree walking, and translation.") tree walking, and translation.")
(license license:public-domain))) (license license:public-domain)))
(define-public stringtemplate3 (define-public java-stringtemplate-3
(package (package
(name "stringtemplate3") (name "java-stringtemplate")
(version "3.2.1") (version "3.2.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -3231,7 +3231,7 @@ StringTemplate also powers ANTLR.")
(inputs (inputs
`(("antlr3" ,antlr3-bootstrap) `(("antlr3" ,antlr3-bootstrap)
("antlr2" ,antlr2) ("antlr2" ,antlr2)
("stringtemplate" ,stringtemplate3))) ("java-stringtemplate" ,java-stringtemplate-3)))
(home-page "http://www.stringtemplate.org") (home-page "http://www.stringtemplate.org")
(synopsis "Template engine to generate formatted text output") (synopsis "Template engine to generate formatted text output")
(description "StringTemplate is a java template engine (with ports for C#, (description "StringTemplate is a java template engine (with ports for C#,
@ -3257,7 +3257,7 @@ StringTemplate also powers ANTLR.")
(inputs (inputs
`(("antlr3" ,antlr3-3.3) `(("antlr3" ,antlr3-3.3)
("antlr2" ,antlr2) ("antlr2" ,antlr2)
("stringtemplate" ,stringtemplate3))))) ("java-stringtemplate" ,java-stringtemplate-3)))))
(define-public antlr3 (define-public antlr3
(package (package
@ -3344,10 +3344,10 @@ import org.antlr.grammar.v3.ANTLRTreePrinter;"))
("antlr3" ,antlr3-bootstrap))) ("antlr3" ,antlr3-bootstrap)))
(inputs (inputs
`(("junit" ,java-junit) `(("junit" ,java-junit)
("stringtemplate" ,stringtemplate3) ("stringtemplate" ,java-stringtemplate-3)
("stringtemplate4" ,stringtemplate4))) ("stringtemplate4" ,stringtemplate4)))
(propagated-inputs (propagated-inputs
`(("stringtemplate" ,stringtemplate3) `(("stringtemplate" ,java-stringtemplate-3)
("antlr" ,antlr2) ("antlr" ,antlr2)
("stringtemplate4" ,stringtemplate4-4.0.6))) ("stringtemplate4" ,stringtemplate4-4.0.6)))
(home-page "http://www.antlr3.org") (home-page "http://www.antlr3.org")
@ -3400,7 +3400,7 @@ tree walking, and translation.")
(string-append "#!" (which "sh") "\n" (string-append "#!" (which "sh") "\n"
"java -cp " jar "/antlr3-3.3.jar:" "java -cp " jar "/antlr3-3.3.jar:"
(string-concatenate (string-concatenate
(find-files (assoc-ref inputs "stringtemplate") (find-files (assoc-ref inputs "java-stringtemplate")
".*\\.jar")) ".*\\.jar"))
":" ":"
(string-concatenate (string-concatenate
@ -3450,7 +3450,7 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))))
(inputs (inputs
`(("junit" ,java-junit))) `(("junit" ,java-junit)))
(propagated-inputs (propagated-inputs
`(("stringtemplate" ,stringtemplate3) `(("java-stringtemplate" ,java-stringtemplate-3)
("antlr" ,antlr2) ("antlr" ,antlr2)
("antlr3" ,antlr3-3.1))))) ("antlr3" ,antlr3-3.1)))))
@ -3522,7 +3522,7 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))))
(inputs (inputs
`(("junit" ,java-junit))) `(("junit" ,java-junit)))
(propagated-inputs (propagated-inputs
`(("stringtemplate" ,stringtemplate3))))) `(("stringtemplate" ,java-stringtemplate-3)))))
(define-public java-asm (define-public java-asm
(package (package