From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4EEzMhfQsGJkIAAAbAwnHQ (envelope-from ) for ; Mon, 20 Jun 2022 21:52:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QLRHMhfQsGJ7ZAAAauVa8A (envelope-from ) for ; Mon, 20 Jun 2022 21:52:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55F1392E6 for ; Mon, 20 Jun 2022 21:52:55 +0200 (CEST) Received: from localhost ([::1]:36810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3NS9-0003Vt-VH for larch@yhetil.org; Mon, 20 Jun 2022 15:52:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3NQM-0002lD-N9 for guix-patches@gnu.org; Mon, 20 Jun 2022 15:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3NQM-0003F9-CM for guix-patches@gnu.org; Mon, 20 Jun 2022 15:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3NQM-0004uO-3R for guix-patches@gnu.org; Mon, 20 Jun 2022 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55979] [PATCH] gnu: Add java-commons-text Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Jun 2022 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55979 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 55979@debbugs.gnu.org Received: via spool by 55979-submit@debbugs.gnu.org id=B55979.165575461618813 (code B ref 55979); Mon, 20 Jun 2022 19:51:02 +0000 Received: (at 55979) by debbugs.gnu.org; 20 Jun 2022 19:50:16 +0000 Received: from localhost ([127.0.0.1]:58499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3NPb-0004tL-Li for submit@debbugs.gnu.org; Mon, 20 Jun 2022 15:50:16 -0400 Received: from mail-lf1-f54.google.com ([209.85.167.54]:43751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3NPa-0004t3-0I for 55979@debbugs.gnu.org; Mon, 20 Jun 2022 15:50:14 -0400 Received: by mail-lf1-f54.google.com with SMTP id a13so9014809lfr.10 for <55979@debbugs.gnu.org>; Mon, 20 Jun 2022 12:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=dfXyYPlFPMzac2k/qKroPPs6QW2jeJnWZ3SKemEIC1E=; b=e7mh+CV2iIOuTHvb3b3fS+RcP04V1XrH35GPNGV6QpMC3gQjB1zxLmPG6O9gofyAPW wESIotgJQf31MaY0m7CDgBQ99UHGCtPzVf+/uZxvIiCXMxWOqqVoy0hP3XcMGXS/37YR CHY4zLl2SAmwb27BaKNeTtECyqZSp6tG5Ldz+YCVeVjXMyhlt2bLwCQxM/UzldugIBni bh7kRvACkDJ73VeQBQH9muNJDqVk95Fh4mv9Nroc+uqrPBHPJyfuC84aKQwyoqyTehan 7KcokeiKImH4ydNANwQ0UiUmwZhTkRrFlzo5rBRvyLkMyYU05Allcutzj5pper9hzBou tlHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=dfXyYPlFPMzac2k/qKroPPs6QW2jeJnWZ3SKemEIC1E=; b=d3cf5S0EXAypzSDK5xvnPvGC3Mz/bXByz4zsWhb6TG8uuSEEtDEiXIjl9TT8MehMlK iC88YI5HGY3dYM6QEHcqet1ilkdFWIrB+u/RPL1PARNDxVEWX6QdT5iznC80/lUdNNph K16+uG29nSH2hFXx1E0Wvk7iKFvGF/NKAbBhDmtFbeH3g4Ab/acInnGxxaJAB6ICzWqC AW1tvN2EAqytv9ROZlEGHxRZfoafYjTLix+GaXFWMbIVPcLZ1ZJmIm6NkF3Lx96y5B3n 7Gj6eMIwv0fKzf5Uu5z+ghx0ViVpvFNSWqXnEQFERpJKstOj8qrqJ/H/Vea1EodFfPza gFDA== X-Gm-Message-State: AJIora+PFNOZvMwl4Y5mXwK+zcPlnHLdOCe4/OTPEbi1kI/pkxQW4Bqm JDU/bH1QVF6sHR9iOGLYEVlapeqnUdg= X-Google-Smtp-Source: AGRyM1sGTmm9d4XCB1MeKb+Cr33UzCnlp5SbsYMxEIT5KtuN3kIVp3UeoCUnM8ZeTQJ6UNc+rqNQHA== X-Received: by 2002:a05:6512:3990:b0:47f:6fa0:840c with SMTP id j16-20020a056512399000b0047f6fa0840cmr3769214lfu.628.1655754607422; Mon, 20 Jun 2022 12:50:07 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id t11-20020a2e9d0b000000b002559299b0e7sm1765571lji.86.2022.06.20.12.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 12:50:06 -0700 (PDT) From: "Artyom V. Poptsov" References: <87edzrw0e7.fsf@gmail.com> <871qvmvszq.fsf@gmail.com> <20220618214159.07a3cff6@sybil.lepiller.eu> Date: Mon, 20 Jun 2022 22:50:02 +0300 In-Reply-To: <20220618214159.07a3cff6@sybil.lepiller.eu> (Julien Lepiller's message of "Sat, 18 Jun 2022 21:42:05 +0200") Message-ID: <87mte73yj9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655754775; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=dfXyYPlFPMzac2k/qKroPPs6QW2jeJnWZ3SKemEIC1E=; b=PTMSzOTV01vZIuLv6AfiAM4jqLEgalLZmcNgDTgvRZD6loNgdEU44kLrvcZlc8mugqrEUU ckws/tyRxTKsrTupaHUXxWMzDZQNg1B+PHAoumpBmvVFnhue0aLDQ9h6k47ZsjTongBWIb oZJaogtI/60/eA0hHljMi2EOI1PVb0kEF1+6TMeexJbfTB++57BhUJckVmPdh5umerE7dw eXTKw7iE3Z1Ohi5040R8iY9Gt0u17wd07x+Y6E782Bz27FAQ1kWC23OA18csQCfv3oa2Gv PrzemFfnd6JS6wtxTcQsYyhn1f/n2KFWOjUNN/NvupQbEREaqvJapcop8w8xNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655754775; a=rsa-sha256; cv=none; b=ZOLbyJ0hkOt6xOPY6vwX+P+z74HOpa7nusr312gy5Bw3ATBTgv1HERBoptltxb2wKpEc3Y intbqjU7+8MLWG6m6iY2PcWHLZgNzRPSziAq0LU5dJHjkFGOhiy3oK/B7izugixaGKU0U3 25zqfCUwxEBbsc/7V/dMcGXlQUuHOQZSgW8MSAS1DADtHf3CeRfbAENAOvB/JQRyvUydo3 a0nk5ScwCLZVA5Y/We9hx5sWUVlIUn0ePFhgGT7q1n80DfCnwUQOnGpW4FEgI4z07X0P8d n/lTzI7bkJbhPYZyxHIoqpUEtiTWBCuZplr4Z0BSUrLpZxWxzTGE9aOZcxJ8tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=e7mh+CV2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=e7mh+CV2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 55F1392E6 X-Spam-Score: 4.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q5ld7WGrtpEZ --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, here's an updated version of the patch. I've added 'apache-commons-parent-pom-51' in the same patch, not sure if it's right though. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-java-commons-text.patch Content-Transfer-Encoding: quoted-printable From=200b3f5533d2c97c333b201da307f31cca9deb6a1a Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Mon, 13 Jun 2022 06:54:25 +0300 Subject: [PATCH] gnu: Add java-commons-text * gnu/packages/java.scm (java-commons-text): New variable. * gnu/packages/maven-parent-pom.scm (apache-commons-parent-pom-51): New variable, required for 'java-commons-text'. =2D-- gnu/packages/java.scm | 33 +++++++++++++++++++++++++++++++ gnu/packages/maven-parent-pom.scm | 5 +++++ 2 files changed, 38 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d2fbf840a0..4ac1e52f67 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7893,6 +7893,39 @@ Commons CLI supports different types of options: @item long options with single hyphen (ie. ant -projecthelp) @end itemize =20 +This is a part of the Apache Commons Project.") + (license license:asl2.0))) + +(define-public java-commons-text + (package + (name "java-commons-text") + (version "1.9") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/commons/text/source/" + "commons-text-" version "-src.tar.gz")) + (sha256 + (base32 + "1k99ib2dxlqxb5y94kpzf4ix8xgxz1j3n9kq3ddssqqcccsp5ik2")))) + (build-system ant-build-system) + (arguments + (list #:jar-name "java-commons-text.jar" + #:source-dir "src/main/java" + #:test-dir "src/test" + #:tests? #f ; Tests require JUnit5. + #:phases #~(modify-phases %standard-phases + (replace 'install + (install-from-pom "pom.xml"))))) + (inputs + (list java-commons-io)) + (propagated-inputs + (list java-commons-lang3 + apache-commons-parent-pom-51)) + (home-page "https://commons.apache.org/text/") + (synopsis "Library focused on algorithms working on strings") + (description "Apache Commons Text is a library focused on algorithms +working on strings. + This is a part of the Apache Commons Project.") (license license:asl2.0))) =20 diff --git a/gnu/packages/maven-parent-pom.scm b/gnu/packages/maven-parent-= pom.scm index cf48be86a2..bb5e97e6e2 100644 =2D-- a/gnu/packages/maven-parent-pom.scm +++ b/gnu/packages/maven-parent-pom.scm @@ -143,6 +143,11 @@ "50" "0ki8px35dan51ashblpw6rdl27c2fq62slazhslhq3lr4fwlpvxs" apache-parent-pom-21)) =20 +(define-public apache-commons-parent-pom-51 + (make-apache-commons-parent-pom + "51" "05najrpys26jymla2p5jdz4mf4fjp525h6mnr0jfx55lp03xi939" + apache-parent-pom-21)) + (define-public apache-commons-parent-pom-52 (make-apache-commons-parent-pom "52" "0fb6id9cs9944fjlirjc07bf234bwi96i642px09m9nrfj338n5d" =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks! =2D Artyom =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKwz2oACgkQ6cWi2QiY oC97fwf/d86/xdyPa3EuhCfUfXEaOOREI6h+4M0XeWYjzcg37nmd8kIhYNrUIzTD o54rjyHkrZOqVc4b2gkNFEsV19tdH3OzDVMtWRKw+mBGRLweU8GYYdeuDi0jC7Wo ks6VQJNhH/bRLsdIXJ3kF6B/8SVCSxvINr4EEzjX0VfTt7sv9fEcgHS8cFU/oklw lrmT4c8g5ypNocZoP0wFPksV9l1sxcnV2VyflQXJozkfW8GVXH+4YobMjztLbKIr 7Skqc3hha+avxMWRIWg82NXHOHhUF9IzyTMnkEwpFmkDFXgJ+HUp47mJlYy85wlc g7962YG3HrVICSO96ukF3wg49XANdQ== =wlkt -----END PGP SIGNATURE----- --==-=-=--