unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: 27588-done@debbugs.gnu.org
Subject: bug#27588: [PATCH] Add java-commons-cli-1.2.
Date: Thu, 20 Jul 2017 11:00:48 +0200	[thread overview]
Message-ID: <87tw27xz27.fsf@gnu.org> (raw)
In-Reply-To: <20170705154851.6716-1-boskovits@gmail.com> ("Gábor Boskovits"'s message of "Wed, 5 Jul 2017 17:48:51 +0200")

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Hi Gábor,

Gábor Boskovits <boskovits@gmail.com> skribis:

> * gnu/packages/java.scm(java-commons-cli-1.2): New variable.

I made the cosmetic changes shown below and committed.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1583 bytes --]

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fa8bd4be3..de992c649 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4673,15 +4673,15 @@ transformations and analysis algorithms allow to easily assemble custom
 complex transformations and code analysis tools.")
     (license license:bsd-3)))
 
-;;maven2 bootstrap dependecies
 (define-public java-commons-cli-1.2
-  (package (inherit java-commons-cli)
-    (name "java-commons-cli-1.2")
+  ;; This is a bootstrap dependency for Maven2.
+  (package
+    (inherit java-commons-cli)
     (version "1.2")
     (source (origin
               (method url-fetch)
-              (uri (string-append "http://archive.apache.org/dist/commons/cli/"
-                                  "source/commons-cli-" version "-src.tar.gz"))
+              (uri (string-append "mirror://apache/commons/cli/source/"
+                                  "commons-cli-" version "-src.tar.gz"))
               (sha256
                (base32
                 "0rvfgzgv2pc1m091dfj3ih9ddsjjppr1f1wf0qmc3bk6b1kwv2dm"))))
@@ -4692,7 +4692,8 @@ complex transformations and code analysis tools.")
          (add-before 'check 'fix-build-xml
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "build.xml"
-               (("dir=\"\\$\\{test.home\\}/java\"") "dir=\"${test.home}\"")))))))
+               (("dir=\"\\$\\{test.home\\}/java\"")
+                "dir=\"${test.home}\""))
+             #t)))))
     (native-inputs
      `(("java-junit" ,java-junit)))))
-;;end of maven2 bootstrap dependecies

      parent reply	other threads:[~2017-07-20  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 15:48 [bug#27588] [PATCH] Add java-commons-cli-1.2 Gábor Boskovits
     [not found] ` <handler.27588.B.14992698086003.ack@debbugs.gnu.org>
2017-07-05 15:58   ` [bug#27588] Acknowledgement ([PATCH] Add java-commons-cli-1.2.) Gábor Boskovits
2017-07-20  9:00 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tw27xz27.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27588-done@debbugs.gnu.org \
    --cc=boskovits@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).