From nobody Thu May 12 14:22:13 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E0F381AC247C; Thu, 12 May 2022 14:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KzYrP62CMz4lnx; Thu, 12 May 2022 14:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652365333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s06AX57iyedJe3UagMJuPEJqd4WIh0VHxuSeG3kTPQE=; b=D9ZZynm6pht+CY/uAHEJUFvzcCUJXup4PHldeQAfjhcKGYGYotGiZZZP9DNpG6Z3c8+Ath iYQFRR3KlCcBmg9jZwu36G7M6atAQzZmTT8IikP0GfWXuCXnDPkjYNrUOTMf0qny+OEqs0 FkFYrwFJKLOwb1R001uJ+XWmn6F1qoOhfjqpuTYpH7MmZuA4bMS9s1hMg6lwDmaOyhZE/F WKSANaHxQdcbIBtvn5n4Rg2IVKOOoMW769QZO1rBiDfsTpbZciMtlSKkWULJ6+db2ByHJB 8VFy+CqRvxO+s1+/flgFEv8Rglop0OmX/eg3CW4bWVE+oxXy4zkcqnRvW8vrow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AF55F7977; Thu, 12 May 2022 14:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24CEMDP0028649; Thu, 12 May 2022 14:22:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24CEMDCP028648; Thu, 12 May 2022 14:22:13 GMT (envelope-from git) Date: Thu, 12 May 2022 14:22:13 GMT Message-Id: <202205121422.24CEMDCP028648@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 53c59951224e - main - devel/rubygem-docopt: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53c59951224eece2f7cee46b36aee912120aa4d3 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652365333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=s06AX57iyedJe3UagMJuPEJqd4WIh0VHxuSeG3kTPQE=; b=TmWZssZ/3ToDSDy5QmSnPuBv9eiT1EztBP3nWq1CLAgLKqxzhxzCL/YmA633DUNk+T9JIK 5vfSMeyxE74F23735DBOkEvBM0EDjPu+jzzkqZzb1Hiir12VNwKjO0PYQgmtqXZdQCauEb Q/uPLFvt/wOwGN6JB6mn9kdxed7NFhv2+mCor/IXXX2HRNqf1jp/fla91wyObba2Bsphr2 9bNsQAqLEJc4gW9hdbSY5qbD1h8LH9sKFaaYxhFqacZNE1wbiSLyk7ccGMAIBIeFTfDsaH Lrk3MWE8GaHV1ax14yfKKc8L+b2EQozC9VepA5UoJzG+Yawv2VZ2CFJ9I0IWYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652365333; a=rsa-sha256; cv=none; b=QrlX+DVhizE0e9rSGkQm1UYjGhNJFI3fCGgrhIbhLr/qY3rde/3eVq8DX5H23pf8pTgs/S +MM4AVa5m8VlRiyIWD12J5IlFe06SWm7T1mbpEeR25zNtspYKvCiAtxt93Gduf+9X/+VpO UA0ZLUv/aScEwbYLmT3DYjt9t8vc038+rQ7i5HelGBi4LDRDzr+J7RKymfDhSm4YOcVF+5 54qQX2QZWOBGqUYJ4BxmQutAkTKbew4e1I9D3Fwxb/XhHy3yia0WXp9miGR6pdr/Ho3Z8/ 9Y9ZXqp2g6Xf6312EkPvhsKcvBnkTNXXarKwfD3n5UGUAc+LUwvYH7CPTj5e/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=53c59951224eece2f7cee46b36aee912120aa4d3 commit 53c59951224eece2f7cee46b36aee912120aa4d3 Author: Lorenzo Salvadore AuthorDate: 2022-05-02 19:38:29 +0000 Commit: Lorenzo Salvadore CommitDate: 2022-05-12 14:17:36 +0000 devel/rubygem-docopt: Add new port Rubygem implementation of docopt. Docopt helps you: - define an interface for your command-line app, and - automatically generate a parser for it. Docopt is based on conventions that have been used in help messages for decades and man pages for describing a program's interface. An interface description in docopt is such a help message, but formalized. WWW: https://github.com/docopt/docopt.rb Reviewed by: ruby (sunpoet) Approved by: gerald (mentor) Differential Revision: https://reviews.freebsd.org/D35031 --- devel/Makefile | 1 + devel/rubygem-docopt/Makefile | 19 +++++++++++++++++++ devel/rubygem-docopt/distinfo | 3 +++ devel/rubygem-docopt/pkg-descr | 11 +++++++++++ 4 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d90e44dacd80..fc9df1cf4d18 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6327,6 +6327,7 @@ SUBDIR += rubygem-ditz SUBDIR += rubygem-diva SUBDIR += rubygem-docile + SUBDIR += rubygem-docopt SUBDIR += rubygem-drb SUBDIR += rubygem-dry-configurable SUBDIR += rubygem-dry-container diff --git a/devel/rubygem-docopt/Makefile b/devel/rubygem-docopt/Makefile new file mode 100644 index 000000000000..80cac84b0bcd --- /dev/null +++ b/devel/rubygem-docopt/Makefile @@ -0,0 +1,19 @@ +PORTNAME= docopt +DISTVERSION= 0.6.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= salvadore@FreeBSD.org +COMMENT= Parse command line arguments based on nothing more than a usage message + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gem python:env shebangfix +USE_RUBY= yes + +SHEBANG_FILES= test/language_agnostic_tester.py + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-docopt/distinfo b/devel/rubygem-docopt/distinfo new file mode 100644 index 000000000000..ebd5347192be --- /dev/null +++ b/devel/rubygem-docopt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650642167 +SHA256 (rubygem/docopt-0.6.1.gem) = 73f837ed376d015971712c17f7aafa021998b964b77d52997dcaff79d6727467 +SIZE (rubygem/docopt-0.6.1.gem) = 19456 diff --git a/devel/rubygem-docopt/pkg-descr b/devel/rubygem-docopt/pkg-descr new file mode 100644 index 000000000000..483ada5911b5 --- /dev/null +++ b/devel/rubygem-docopt/pkg-descr @@ -0,0 +1,11 @@ +Rubygem implementation of docopt. + +Docopt helps you: +- define an interface for your command-line app, and +- automatically generate a parser for it. + +Docopt is based on conventions that have been used in help messages for decades +and man pages for describing a program's interface. An interface description in +docopt is such a help message, but formalized. + +WWW: https://github.com/docopt/docopt.rb