From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 YOTPMaP8rWKcVgAAbAwnHQ (envelope-from ) for ; Sat, 18 Jun 2022 18:26:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +GGwMaP8rWJwqQAA9RJhRA (envelope-from ) for ; Sat, 18 Jun 2022 18:26:11 +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 5EF06201E3 for ; Sat, 18 Jun 2022 18:26:11 +0200 (CEST) Received: from localhost ([::1]:50996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2bGz-0001f8-W4 for larch@yhetil.org; Sat, 18 Jun 2022 12:26:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2bGt-0001f0-Ce for guix-patches@gnu.org; Sat, 18 Jun 2022 12:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2bGt-0004km-4B for guix-patches@gnu.org; Sat, 18 Jun 2022 12:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2bGs-0005BQ-Tl for guix-patches@gnu.org; Sat, 18 Jun 2022 12:26: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: Sat, 18 Jun 2022 16:26: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 X-Debbugs-Original-Cc: 55979@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 55979-submit@debbugs.gnu.org id=B55979.165556955019899 (code B ref 55979); Sat, 18 Jun 2022 16:26:02 +0000 Received: (at 55979) by debbugs.gnu.org; 18 Jun 2022 16:25:50 +0000 Received: from localhost ([127.0.0.1]:49925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2bGZ-0005Ah-Mz for submit@debbugs.gnu.org; Sat, 18 Jun 2022 12:25:50 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:40505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2bGW-0005AL-Eq for 55979@debbugs.gnu.org; Sat, 18 Jun 2022 12:25:41 -0400 Received: by mail-lf1-f49.google.com with SMTP id t25so11163051lfg.7 for <55979@debbugs.gnu.org>; Sat, 18 Jun 2022 09:25:40 -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=X25FiI95lLvXFCm9HUPAx62/Le64bhO8vYHmjwVELLY=; b=a2RmHc5sy8j3Xzx1SPOqaKA4kMvBE5WhzP7Evskv8TvBFpoUcgfvCpTWb65hKzBJks q1GzN8C0/sU9yXID9s90OXmps6/n7xeTL6IcVFo5PgVtrlytU+lvCVx1/N3CQea09lp0 J3ZpEYCMARr6migiMRVhCTDJlVNGzJe18pJ7guGReZWMJvvgOJRjYxnC5GWizRwmMewF eZBhP4HTRs+lm8ciXlJ3T65nJKcjCqaM7FGW2qSTtZPEqt/whtyNEenFLh3OorE4t3FG CgkOm5UpvrzB2HL6PYbhWdIiarQw/Zar2J0NZ4qw1qcPy+1Wehe8T6F0OCyIcyMHfylx b7/A== 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=X25FiI95lLvXFCm9HUPAx62/Le64bhO8vYHmjwVELLY=; b=nyE3NO61Ctk00BsZ1VUP4AtZ3Avk+pdpgfgzxG1IpOlZS0ygYqSrX2/QXh1rhkpNvN x2OyDacOrJr1ChgxInxf91P36akKlz0j9gQ0Qw1hf/pPiyxFnGJQgFwEe1bDncT4P8UO wjkzQoGxCXIKvWQlqoz4BmRFWwdeZ8U77gmWlR/xUU92J5k6hvTjvioebQoujyVGUiP3 5AJqsZAMrC438mjLNR9qQjutqPLM6jZ6YUdLKTzZ8YYXfDALTO9oz3PDvZd7TbAakm/E urJz5WDxRLQx0pTBHozgprQ5xlRptSR4bQBSb0QWVSVxNtmeetv33c/BLN8TCNYi611l DUJA== X-Gm-Message-State: AJIora+vasDvDQ8f/RYrfd3FIn4Cx2rEix2eFm1Mcw+qFJtEHMtMq6Bf Gea4JXyHSXAOixd8oE77REfv4ufQChM= X-Google-Smtp-Source: AGRyM1uSE6qywSQ7dqcigdJRuhd0/7mB80QXTCbZZYwQEEpiEdOoliQJXKtVp28zUQGGz8YPc4jLFA== X-Received: by 2002:a05:6512:108b:b0:479:4cce:7ab1 with SMTP id j11-20020a056512108b00b004794cce7ab1mr8690115lfg.94.1655569534024; Sat, 18 Jun 2022 09:25:34 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id u28-20020ac25bdc000000b0047255d2112asm1053991lfn.89.2022.06.18.09.25.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 09:25:33 -0700 (PDT) From: "Artyom V. Poptsov" References: <87edzrw0e7.fsf@gmail.com> Date: Sat, 18 Jun 2022 19:25:29 +0300 In-Reply-To: (Julien Lepiller's message of "Wed, 15 Jun 2022 12:48:48 +0200") Message-ID: <871qvmvszq.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=1655569571; 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=X25FiI95lLvXFCm9HUPAx62/Le64bhO8vYHmjwVELLY=; b=KOXLwDXeRbsuPFEUd1HZapK49wnhhI15AFACiURwhOGHjDH4CaanTBuWuWjqOa76z9YMVa 4TpFWn5a7NaOiH7nTyWDLoh3baL1KSDKBZhEgIV1So7mrVencxGWd6JMk+tpv35lEBQftN FbOQQbX8jCCjRkyDHUKIozIcG43g9xBKGyYCYPCdAVlH2To4B9rcIq5KSc2RZzQSzHdFYU Ach/BgsN42mrou6W3vmh6leFciTMjPotJpkTuauNsmDpoK/nQay6p9wTWGr5EPbokNpHCX SXfToOdpRMR07eWT9HG8vJx/krDAQsSKEld+4gbvUXXiM6DB8a7muG41s81NQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655569571; a=rsa-sha256; cv=none; b=MYblcoF+NZKkEP7LzGlC6kLUWVXzpNOY6adETFisJTxtPXs1dlPwoAub4scaVaYMmlA0Jz Y0ZUxi1rQnGbf9EsTNNTrKjSvX83m0Gjq+eybs7dX4MFLsdWTmvucoufWtfUtEk0wt+mzM wIQGqh+0+LzLNkwG6W8vodV0lpKVyoMDIwunxDLeoaFZq8pMrrAHANPKGVSL2NU1x+g3Fi 3juY6rjH5XWlFK75auoFZ1m9bRS4Ln3sMaQzLHVWXcYkwQucgJzAPxn1TPl3FVa/3tlsnN JKflScPwtzj0zFsIL85SQf7UWFWQkPwVYMQKkcHkIFRUn0ixEiILLlMaByCaWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a2RmHc5s; 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: 3.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=a2RmHc5s; 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: 5EF06201E3 X-Spam-Score: 3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ejc3sOgXURCW --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Julien, I've updated the patch according to your suggestions. Could you please take a look? --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-java-commons-text.patch Content-Transfer-Encoding: quoted-printable From=20aaafb87ce534f5ae337988f6b540704facfd11ee 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. =2D-- gnu/packages/java.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d2fbf840a0..25d2377c0d 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7893,6 +7893,41 @@ 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" + ;; XXX: Tests require JUnit5, namely 'org.junit.jupiter.api' mo= dule + ;; from JUnit5. + #:tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'install + (install-from-pom "pom.xml"))))) + (inputs + (list java-commons-lang3 + java-commons-io)) + (propagated-inputs + (list apache-commons-parent-pom-52)) + (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 =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKt/HkACgkQ6cWi2QiY oC9UfAgAouAqGBOPwCDiCqADtnnNKTCavueGc+eL4OcNAM23BM0Aa0buKzq1XZL8 cdmkao6ocMztObzKu0M2UNEpp4HDVbn4mQkHJJFtcZTMQ6O6rOfjNGpzKiAWhvh5 8OZxAsFtiW+4smCbKxbIt3FdcQF3FRDZWhq6vkyAHbeYplj9mARfdkEXWhAkwhNp HSCQKjveH1d6d2ACAROWhjFnu+OGwWjZKrysdnhe2EmINntVnFVE0xg6qxAjobFB Dx27TwpHylt1VksotN6C2GUlfJdObgYYIa6/PMKzE5gjXX5M7rLRt6bC2MeuNzfe 4YN9b0L0kKWYmYdwLJCLR4CeovI5ZA== =hYp4 -----END PGP SIGNATURE----- --==-=-=--