From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eA2wAT3XqGKqXgAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 20:45:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cLeGAT3XqGJNZwAAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 20:45:17 +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 8BED73184A for ; Tue, 14 Jun 2022 20:45:16 +0200 (CEST) Received: from localhost ([::1]:33286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1BXP-000611-LE for larch@yhetil.org; Tue, 14 Jun 2022 14:45:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1BXC-00060l-S2 for guix-patches@gnu.org; Tue, 14 Jun 2022 14:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41850) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1BXC-00039W-Iz for guix-patches@gnu.org; Tue, 14 Jun 2022 14:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o1BXC-000544-CL for guix-patches@gnu.org; Tue, 14 Jun 2022 14:45: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: Tue, 14 Jun 2022 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55979 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55979@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165523227119404 (code B ref -1); Tue, 14 Jun 2022 18:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 18:44:31 +0000 Received: from localhost ([127.0.0.1]:35746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1BWg-00052t-RA for submit@debbugs.gnu.org; Tue, 14 Jun 2022 14:44:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:40412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o1BWf-00052m-3D for submit@debbugs.gnu.org; Tue, 14 Jun 2022 14:44:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1BWd-0005id-2u for guix-patches@gnu.org; Tue, 14 Jun 2022 14:44:27 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:35685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o1BWa-000357-Tz for guix-patches@gnu.org; Tue, 14 Jun 2022 14:44:26 -0400 Received: by mail-lj1-x229.google.com with SMTP id j6so244081lji.2 for ; Tue, 14 Jun 2022 11:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=zTqK+SKEXzCSb40GD2T7wpqYZ5Y725g9HTMcMNE/XOw=; b=oV1+LP3TA71gBRBXQg8Juh42n0M2gfTiFaeMH8D6cSJ1MXpB+1nAmYx3xwKg73Ubzd 9pKBEyVoG9UUXAZQm8rcCca7GacYlf/eazG9LCN9n5ApDdaKoL7Udrq9ddzJTxQYOGvh qu/6jrFcalVLnhzDegA4bYYLVgtoIWF1Sg798tbfBPbOAl64X9Hoi386cRNtVMOPUHRf JISRKLWbQ6p26Q/JUt0Ra0mB8KdiTKegBNHmkHCecQBE9+dKRVYTJBkVaz6Pp0MY3CD3 7CX/sUy8xt+jkBgBHbqq5g6WdXVSwIFJomvtzwkDBNRnqfJmwDQl4RjvzN7Su3c4O+TU wbug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=zTqK+SKEXzCSb40GD2T7wpqYZ5Y725g9HTMcMNE/XOw=; b=YYPUL3gxIG9X1OmX/4KKcMbyml6QjiIJMHXgDIzfwS0Dkbo7XKBYqTci9K9WteGaxU FxEsawHh556FWmyxWYOqNx+30muZzpmjU/uHK+PuYDa9l90OmjAXPUvut/8Wz8N36xwm 3peym07RhOCxcowPpBdErzqhGhdwvzB4SiSHL1McI4tSsucPOSyvdZZ20PoM4qDLpzXl LCOSNJ2hXF8OhfmrdZT/ai64H0xC0yjGJj0zATG3zWKbqdT52d0upmm1+llD4YJyi0Hm gT+WPtswOo/mzWAF5mqwIX4whkKymbALFnmoh6DquCZ9dAi5PSMMeJ91DYCHjAPdrMsB sprA== X-Gm-Message-State: AJIora9NYJ9JWfrYyikSLQ8maEptGvbYgKGLtKM+d6plwfauT0+OogTa XP1Dn36lipyYDtwAqofloWN5klcfs2M= X-Google-Smtp-Source: AGRyM1vrihmF19HB033u1R6K5Bs5g8FjAwWTSBIPnkDRhSZJ5k7nOSfqMpUa3D/UfBrIyxEJgvVSZA== X-Received: by 2002:a2e:a801:0:b0:24a:ff0b:ae7a with SMTP id l1-20020a2ea801000000b0024aff0bae7amr3190145ljq.287.1655232261970; Tue, 14 Jun 2022 11:44:21 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id u20-20020ac25194000000b00478b95dabb3sm1484864lfi.117.2022.06.14.11.44.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 11:44:21 -0700 (PDT) From: "Artyom V. Poptsov" Date: Tue, 14 Jun 2022 21:44:16 +0300 Message-ID: <87edzrw0e7.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" Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1655232316; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=zTqK+SKEXzCSb40GD2T7wpqYZ5Y725g9HTMcMNE/XOw=; b=paaYaXilw0Gv5061h2tneSANRP92ittlCeJvRD0y3pYNU0berEP4B2F5dASCvSLZLOSP0k ozFjTBJ6Rp8xoKNGYfiOA9zJCIG7bvaS1VXZmeSqQskKnF75tTpjcy+2ouztYtOckReSD5 BcTn19BJIjsybICLgPquchXJZjoa9XntONb64oi5ds9SIB8HvMeWW60bB+Snc8s5ZFBs0C tfWpDpB8/HOblUjxm9zJB8epKsbqz9gz3vLae6e61fNtGJC4NmOOzNNWZfo1UbRwegLkyh N2k7fLy7Fk4ELrxoTY5ep8cDkhXijgV3i5v0RZkHkLsskfafo9d4TvGWm0cDHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655232316; a=rsa-sha256; cv=none; b=mNqPvFzPfoMdwLd+JM1oUidJpR8RZ273K97OqNAuCaLR9QpNqEw9bkDArPTxV7+IRAv4qQ XtnqhNV+YbHv0sW4Zfi7sW8dBt3MBqeDSU1OKlYhCcuRI3oIbBGitt4h30lNwboTu3R/3V futEHrFEaAPSE2Pdwwc5n9gSR/v5DI+WbW93ERh56/5R8C+SlaJ5+Lc/Xp8RJyDjTTEk7p jHV5PiJ3O33/oAZkRpDzAQdwouc9T/02Omu6miV8cdQgyflujd9nD+ratN7I6obl/Rbo+f 4RBtyBeVFqrCaXvdNklKN62rx13Y8A2LmTyKBReQFsoeheczS3nlb2fB/8NNeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oV1+LP3T; 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=oV1+LP3T; 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: 8BED73184A X-Spam-Score: 4.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: Rvc2GEBUyJ8l --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, here's the patch that adds 'java-commons-text'. [1] Unfortunately I had to disable tests as they require JUnit5 (which is missing from GNU Guix at the moment.) Also many thanks to Julien Lepiller who helped me to update 'java-commons-lang3' to 3.12.0, which in turn was required to package 'java-commons-text'. - Artyom References: 1. https://commons.apache.org/proper/commons-text/ --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-java-commons-text.patch Content-Transfer-Encoding: quoted-printable From=20a3c835fb370930a6bc99ae872bc7f4c541587189 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 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index d2fbf840a0..1750dc662b 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7893,6 +7893,44 @@ 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)) + (inputs (list java-commons-lang3 java-commons-io)) + ;; XXX: These are dependencies required for running the tests (which a= re + ;; disable until JUnit5 is available.) + ;; (native-inputs + ;; (list java-assertj + ;; java-junit)) + (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 =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKo1wAACgkQ6cWi2QiY oC+3Ogf/XxJCo23x5FtcMOA0ilHEemwuTAiDpYgeWejdjofjx5RnjCA6XzB+62or USXwFrb3YDLD51gOu+Cp2+K2bRVZJaOXF9VpJTSGhZFBPvsH3Pz7rkIRKnfxpqsc Gb3gOlfg4y4Uac9CSft4nYnYbXPMi6QyAAMg8GnQIlZcF2BU4ZkOtHMdBjuoE15Q NRpmG+Heyc0AReyxz5PTd/T26ciRojIzIpWnC/76h/ZjdFpI9NtiE70dpa9A4OSY f1SrZXLuH1M1oybXuxY9C5uWqrL5nPZW57KkF/UwChZ6c0ow5sPvwjnLKktLbcYT 2h2GFJdhPr4yz5ryB5XQPkqn1D8iAw== =xvYy -----END PGP SIGNATURE----- --==-=-=--