From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyLlt-0006va-Ew for guix-patches@gnu.org; Tue, 20 Mar 2018 14:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyLlq-0007ZH-68 for guix-patches@gnu.org; Tue, 20 Mar 2018 14:14:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyLlq-0007Z8-1v for guix-patches@gnu.org; Tue, 20 Mar 2018 14:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyLlp-0002Ic-Ql for guix-patches@gnu.org; Tue, 20 Mar 2018 14:14:01 -0400 Subject: [bug#30845] [PATCH 08/82] gnu: Add java-jakarta-oro. Resent-Message-ID: Date: Tue, 20 Mar 2018 19:13:02 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180320191302.7d830d51@alma-ubu> In-Reply-To: <20180318130530.1654-8-julien@lepiller.eu> References: <20180318134211.38163cd6@lepiller.eu> <20180318130530.1654-8-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ADVzXd=ocbZscBMgEA0s3Nv"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 30845@debbugs.gnu.org --Sig_/ADVzXd=ocbZscBMgEA0s3Nv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 18 Mar 2018 14:05:28 +0100 Julien Lepiller wrote: > * gnu/packages/java.scm (java-jakarta-oro): New variable. > --- > gnu/packages/java.scm | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) >=20 > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index 0ee4ade95..37eeda0a6 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -9515,3 +9515,35 @@ different file systems. It presents a uniform > view of the files from various different sources, such as the files > on local disk, on an HTTP server, or inside a Zip archive.") > (license license:asl2.0))) > + > +(define-public java-jakarta-oro > + (package > + (name "java-jakarta-oro") > + (version "2.0.8") > + (source (origin > + (method url-fetch) > + (uri (string-append > "https://archive.apache.org/dist/jakarta/oro/" > + "jakarta-oro-" version ".tar.gz")) > + (sha256 > + (base32 > + > "0rpmnsskiwmsy8r0sckz5n5dbvh3vkxx8hpm177c754r8xy3qksc")))) > + (build-system ant-build-system) > + (arguments > + `(#:build-target "package" > + #:tests? #f; tests are run as part of the build process > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'remove-bin > + (lambda _ > + (delete-file (string-append "jakarta-oro-" ,version > ".jar")))) This needs to be a snippet, not part of a phase. Only then the binaries/jars are removed from the result of "guix build -S". [..] > + (license license:asl2.0))) File "LICENSE" and some example java-files I checked say it's ASL 1.1. Otherwise, LGTM. Bj=C3=B6rn --Sig_/ADVzXd=ocbZscBMgEA0s3Nv Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqxTy8ACgkQvyhstlk+X/2/dgCgsFpWwlx8qo323QguJ1/B+BGU Js8An1T34fqxdCbHY0X/3VkEhNbRRy87 =yd5P -----END PGP SIGNATURE----- --Sig_/ADVzXd=ocbZscBMgEA0s3Nv--