[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
50/110: gnu: java-bsh: Unbundle third-party libraries.
From: |
guix-commits |
Subject: |
50/110: gnu: java-bsh: Unbundle third-party libraries. |
Date: |
Thu, 16 Jul 2020 22:23:24 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit b8d977b1545a957523eb00cbd475c8a1944f8ac4
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun May 17 17:57:41 2020 +0200
gnu: java-bsh: Unbundle third-party libraries.
* gnu/packages/java.scm (java-bsh)[source]: Remove bundled jar files.
---
gnu/packages/java.scm | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f3c8abe..884c10a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9422,19 +9422,38 @@ annotations.")
(file-name (git-file-name name version))
(sha256
(base32
- "0kz3f0xjack6c9syssi4qjw1rbd3q5963sk5pmr143hiibxa9csw"))))
+ "0kz3f0xjack6c9syssi4qjw1rbd3q5963sk5pmr143hiibxa9csw"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete bundled third-party jar archives.
+ (for-each delete-file (find-files "." ".*.jar$"))
+ (for-each (lambda (file) (chmod file #o644))
+ (find-files "." "."))
+ #t))))
(build-system ant-build-system)
(arguments
`(#:build-target "jarall"
#:test-target "junit-tests-all"
#:phases
(modify-phases %standard-phases
+ (add-before 'install 'fix-pom
+ (lambda _
+ (substitute* "pom.xml"
+ (("org.apache-extras.beanshell") "org.beanshell"))
+ #t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((share (string-append (assoc-ref outputs "out")
"/share/java")))
(mkdir-p share)
(copy-file "dist/bsh-2.0b6.jar" (string-append share
"/bsh-2.0b6.jar"))
#t))))))
+ (inputs
+ `(("java-classpathx-servletapi" ,java-classpathx-servletapi)
+ ("java-commons-bsf" ,java-commons-bsf)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("javacc" ,javacc-3)))
(home-page "http://beanshell.org/")
(synopsis "Lightweight Scripting for Java")
(description "BeanShell is a small, free, embeddable Java source
- 27/110: gnu: Add java-sonatype-oss-parent-pom-7., (continued)
- 27/110: gnu: Add java-sonatype-oss-parent-pom-7., guix-commits, 2020/07/16
- 29/110: gnu: Add plexus-parent-pom-3.1., guix-commits, 2020/07/16
- 33/110: gnu: Add maven-parent-pom-33., guix-commits, 2020/07/16
- 40/110: gnu: Add maven-components-parent-pom-22., guix-commits, 2020/07/16
- 42/110: gnu: java-commons-lang3: Update to 3.9., guix-commits, 2020/07/16
- 47/110: gnu: java-plexus-classworlds: Update to 2.6.0., guix-commits, 2020/07/16
- 54/110: gnu: maven: Install from pom file., guix-commits, 2020/07/16
- 57/110: gnu: Add java-plexus-digest., guix-commits, 2020/07/16
- 26/110: gnu: Add java-sonatype-spice-parent-pom-12., guix-commits, 2020/07/16
- 43/110: gnu: java-commons-codec: Update to 1.14., guix-commits, 2020/07/16
- 50/110: gnu: java-bsh: Unbundle third-party libraries.,
guix-commits <=
- 52/110: gnu: maven-wagon-provider-api: Update to 3.3.4., guix-commits, 2020/07/16
- 34/110: gnu: Add maven-parent-pom-30., guix-commits, 2020/07/16
- 36/110: gnu: Add maven-parent-pom-15., guix-commits, 2020/07/16
- 44/110: gnu: java-plexus-utils: Update to 3.2.1., guix-commits, 2020/07/16
- 48/110: gnu: java-plexus-archiver: Update to 4.2.2., guix-commits, 2020/07/16
- 51/110: gnu: java-plexus-interpolation: Update to 1.26., guix-commits, 2020/07/16
- 53/110: gnu: java-httpcomponents-httpclient: Update to 4.5.12., guix-commits, 2020/07/16
- 55/110: gnu: maven-shared-utils: Fix /bin/sh invocation., guix-commits, 2020/07/16
- 56/110: gnu: java-modello-core: Propagate inputs., guix-commits, 2020/07/16
- 62/110: gnu: Add java-sonatype-aether-impl., guix-commits, 2020/07/16