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 4IHiGoBnJ2MUNQEAbAwnHQ (envelope-from ) for ; Sun, 18 Sep 2022 20:46:24 +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 cOfiGoBnJ2OFAAAA9RJhRA (envelope-from ) for ; Sun, 18 Sep 2022 20:46:24 +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 33C1C19B24 for ; Sun, 18 Sep 2022 20:46:23 +0200 (CEST) Received: from localhost ([::1]:58292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZzJ8-0001yV-1n for larch@yhetil.org; Sun, 18 Sep 2022 14:46:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZzIo-0001y4-It for guix-patches@gnu.org; Sun, 18 Sep 2022 14:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZzIo-0006mN-8U for guix-patches@gnu.org; Sun, 18 Sep 2022 14:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZzIo-0004QQ-3q for guix-patches@gnu.org; Sun, 18 Sep 2022 14:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57913] [PATCH] gnu: Add java-argparse4j. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Sep 2022 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57913 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 57913@debbugs.gnu.org Received: via spool by 57913-submit@debbugs.gnu.org id=B57913.166352673616974 (code B ref 57913); Sun, 18 Sep 2022 18:46:02 +0000 Received: (at 57913) by debbugs.gnu.org; 18 Sep 2022 18:45:36 +0000 Received: from localhost ([127.0.0.1]:51261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZzIN-0004Ph-DW for submit@debbugs.gnu.org; Sun, 18 Sep 2022 14:45:35 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:47061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZzIK-0004PQ-Lp for 57913@debbugs.gnu.org; Sun, 18 Sep 2022 14:45:33 -0400 Received: by mail-lf1-f48.google.com with SMTP id a8so43430658lff.13 for <57913@debbugs.gnu.org>; Sun, 18 Sep 2022 11:45:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=wxEXmG3Yw/4hD0RJ5kH7ogn23rpAD+CcZH6ozbB1k1c=; b=EZ0Gng1h8DSJ7cLSDELk5bu/Zss11sm1sh2bmNKjpKmbGiHhkMN9hcfBIlNrfy5+/z MSz0t4JeMzHiAaUwHrHt+wTSKnljRO72ZSFjgiopOCQrXMwyZf+LmOtB1kiGrcJjkZuN eHOwYGc1KY0b/rBLGPa3RmsINRgCRiIOMUwOIy7WzmAHFfyzhbBXZoAtoHd3bGYJ6aK0 ILf+jOSUTZAqqjQeCrj6jjYRHDbe3brNYNowmx4v7rTczpuWifBa1TQDNWoO4lUtt4P6 wQKqMdhJuBn2oBTkXHdff6KSH7cIH4mzkV53fombf5ApqUEPqVKznZHSSzsKiP8qv40L Upow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=wxEXmG3Yw/4hD0RJ5kH7ogn23rpAD+CcZH6ozbB1k1c=; b=QXPb5WeryoL9kQMqgLLFGQA+xmovgeGSTaiivmGinPCyKS8g85ZJ7NatPHrX8WMEvv MzYby2vrItzBDFVXzCk/BrooWaFp59rmiblErNfzF8Iuhy52n/1YfzEscU7y4Gw70Pvz 8DuwKS0k4MCpvxqxjPyfrK9a2e8eWDn7tTSS1kmxt00p5pDstVh9/HrTFg3PZz4L4JvH Sw+61updqFL+uTWlqjx7zl0VfgPbOk78yPq14bD+P/0keP/qaw89YVVneN+KzCyDTdH/ /EHYu/cDfcccB1WdIBdRuAinqsWLVI11rQhu5Ice/BTw6c4w96HQFGyzfAT/XpKcfSdx p0dw== X-Gm-Message-State: ACrzQf1MfzWAwFe9D9dHM7tKf3/LpNVtShX0e9ExIp43XBD9TA9ev7Vv CRXtYEoVszbCVR+TFFKaU9gLguCUIxE= X-Google-Smtp-Source: AMsMyM6gSFcn/pmJjKel46CbiAIKEAetq6lo+87mzOG27aQBG/IkNqz9b3AnGi3Ey1wInLieDtuUcQ== X-Received: by 2002:a05:6512:409:b0:49a:e44a:c6b1 with SMTP id u9-20020a056512040900b0049ae44ac6b1mr4882643lfk.222.1663526725721; Sun, 18 Sep 2022 11:45:25 -0700 (PDT) Received: from elephant ([5.166.205.177]) by smtp.gmail.com with ESMTPSA id c24-20020a197618000000b00497a41b3a42sm4797800lff.88.2022.09.18.11.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Sep 2022 11:45:24 -0700 (PDT) From: "Artyom V. Poptsov" References: <87czbsob4l.fsf@gmail.com> <1D297848-AC16-4043-A64C-C2CBA3D23F16@lepiller.eu> Date: Sun, 18 Sep 2022 21:45:16 +0300 In-Reply-To: <1D297848-AC16-4043-A64C-C2CBA3D23F16@lepiller.eu> (Julien Lepiller's message of "Sun, 18 Sep 2022 20:35:15 +0200") Message-ID: <878rmgo72b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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=1663526783; 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=wxEXmG3Yw/4hD0RJ5kH7ogn23rpAD+CcZH6ozbB1k1c=; b=OE37do0q8z9+et5QkRCTo0qE+KzifD3YNaXQCUslDrIwTE2ok+zNDAFHlqzOxRLsoMvp01 w0HwJR+/CdfN6GepnMaBrCN5sL7tHKVsIDULGCiprlYAz2c84rKDUS+tTLMlAjOSLg8dCB XCvvo4c2YAbK+2qermmJxXZPlheeBjrcHfQZ8HlLYD4FZjgtDHe8dqyKaHAWTSVux/pLF9 4UJpuJERTm72haq80yXWeeGXiqUL5nXu5q/5UTMlEoYfaUex5eaKMubgdxHgJS18crXVE0 Tr0zrIf3vUBFwc+KGcVDvAuMOF3ieeDtZaOCw6Wr1lFqbp7TenXYHbEz80LCoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663526783; a=rsa-sha256; cv=none; b=p681P5T+50R/amXtYlw4VBINEmsBuhl3E4Hm897sFoLbjmRU9eXHcg5s/UnbTD/XLC2K7Y 4BMueHa7/RN2u9dn2HFPPNsKeVuwfsbbyDNaX8giSMyQy1J6ytnHylGOMLiW8XBrGiZLiX MRtCq8/Uejj5cARE7/M17WK9KCsluWVY32NfqM4UCMAL90zTQ6axA4yDHXvVMGKyN/7gLQ +32iDK5Ga1RY8ULAu0ZTXq0LljPHIhtsRjdHjdRD3r4f4+gfwXhDeeps2m4zaOJdxVwzkB tT0oNNkvYMn6DD1qBcCXMVf5JGR5s3+OnMCXN8gh2zKAvtHeSwRF6d+W490npQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EZ0Gng1h; 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.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=EZ0Gng1h; 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: 33C1C19B24 X-Spam-Score: 4.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: nH6YW1neCVYE --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Julien, thank you for the patch review. > This looks good from a distance, but I'm not sure you need > maven-enforcer-plugin. Since you're using the ant-build-system, I > don't think the plugin has a chance to run? Good catch. It seems that "java-argparse4j" builds fine w/o "maven-enforcer-plugin". I removed this dependency and added "java-junit" instead as it is required for the tests. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-java-argparse4j.patch Content-Transfer-Encoding: quoted-printable From=20c96118bb654a6120614c363b9ff3e37ac9162b06 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 18 Sep 2022 20:14:28 +0300 Subject: [PATCH] gnu: Add java-argparse4j. * gnu/packages/java.scm (java-argparse4j): 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 c25a330c2a..e4814d1acb 100644 =2D-- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -13965,6 +13965,41 @@ (define-public java-args4j parse command line options/arguments in your CUI application.") (license license:expat))) =20 +(define-public java-argparse4j + (package + (name "java-argparse4j") + (version "0.9.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/argparse4j/argparse4j") + (commit (string-append "argparse4j-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1i0j3zs1ln48n0g8a90vqbv6528mcswhzys6252yp0c8w1ai64fb")))) + (build-system ant-build-system) + (arguments + (list #:jar-name "java-argparse4j.jar" + #:source-dir "main/src/main/" + #:test-dir "main/src/test/" + #:jdk openjdk11 + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'copy-resources + (lambda _ + (copy-recursively "main/src/test/resources" + "target/test-classes") + (copy-recursively "main/src/main/resources" + "build/classes"))) + (replace 'install + (install-from-pom "pom.xml"))))) + (inputs (list java-junit)) + (home-page "https://argparse4j.github.io/") + (synopsis "Java command-line argument parser library") + (description "Argparse4j is a command line argument parser library for +Java based on Python's @code{argparse} module.") + (license license:expat))) + (define-public java-metadata-extractor (package (name "java-metadata-extractor") =2D-=20 2.34.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =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----- iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmMnZzwZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL3IFCACONr/ZrzjbHLv/3vekUo+N fLKa3+NOHPDjVToCxEhomkfBzRpawEquJ6bzK+7FHpUqSMVX+SPnRFlhhu4wtamI 6KgTJ5WrZUMq1GM3FN4phVSFg7edxBL77l7pzBUnZR0v+HNL2Z0fBAwODZux9gNg fUQJXksvx5GyCEP0nt2FuMpd2TG5hA4RZN3TJ5JAtay/Bhj8YlQr+PM2E1jyDrXb w6RlL9D1ltpm0m33Fz/sApehwZSwS6qXtMhnhMlADMEad9xSH2ydudnLHzM1ywj/ cOCJYtmEethL3t2KLUR2OU0OCW3y4Rc6kLmqNgXRm9okzfKttPodxoLzf4qgk+Wh =4vss -----END PGP SIGNATURE----- --==-=-=--