From nobody Thu Oct 10 08:05:38 2024 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 4XPMkp5h2zz5YcWR; Thu, 10 Oct 2024 08:05:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XPMkp4Drrz4dQH; Thu, 10 Oct 2024 08:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728547538; 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=WVYPQ7lo715kJNVsQke+mthWOURMZn8MXUc/D8PWkm8=; b=aNLYlrSZTJaEPxYlhnSYDhjsfUzY+QCs451XxxcM+szRJYE3kBppwrmns4xNP1yt3F9PlL adDZL2j53rNDYNGwCIsVo4kLqd0MOOiPxBkVq8FXiHmAip7FAcjLYzUE/KrAv5ElOfdC2U OJbpGCA18/uBBKfmyyPfovi1p7DSKjmUIrB6g49gfX8RyYwVWYPpiiuDV/SZ4HbZUCt9Uc lYi+3acW/Y3XhFdFLg952IGFx4d4peoTX8uYMYvad6SSLNBgU8tU8klXejv2/R/niDqCO1 F5A6r2OIzeE+ABozLKkA0VZ3V572ajpz+3LyBJMfPFgQSSmqfVYWGGh2t2QZBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728547538; 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=WVYPQ7lo715kJNVsQke+mthWOURMZn8MXUc/D8PWkm8=; b=Zz66iCr8Mpd5CZq0/N+P6SL+UHQv37LjZjnPzf75XyWVZIQ7P6/M51wnqc6AMJFmEVJAAT LyfGE5WlM1vxe8JdIZW6Ysh7DAsk+C9oG0fu1CvcAIEEhlM26lKJCwhNa0Fuxob/nxpV2b nIcTVCFPbzWkdt8+j709PhGmv3BknZ/K26qqlCmU4ResBEMJgeJ/KqMsMG2P8FE9g+QqVh xt/A32kjufLKj8gPaZ9GnCXDmN2h6Z6tzeBuGRt1RMtbTUehJln4cPG2C79Z2lnJXRR5co DuNoPXzmeAX5sQEQtE6AKnZCJUoXPZZT42/J4WDMDoftc9Vdf0AY2Xp0Ifb8ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728547538; a=rsa-sha256; cv=none; b=rNz1zFbt6a0VTFMhYAWKK9jY3OXWqSWhNizxJI1Z6TBKsmzX2PA1TcL7a3IjRz9U9dsLzG ZuaBgNOiccYdkgOfVVmupK12GyDuVFMb9fsnTd6tqrK5CYUh2kjjynkeyYVnxw+lswwCd7 XkndRZ+SzAJCBWeHVuzpSWgNzNIE+z113iBRIjjBDoTCvCisghk9nPtQCmIAdyNAh5UueI Nmgj021OCrhd7cZsQ22gsSupX8q8PtKicoXGiz1+K2eALSub2xtcL5m72JglmcUQ+jU3aJ fEmQBSMA7d9hZEzH01sKy1HMs+EJuswBswvK0zTV4Hh7+NQvftL5OCACMInEJw== 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 4XPMkp3rcWzqLT; Thu, 10 Oct 2024 08:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49A85cPV047895; Thu, 10 Oct 2024 08:05:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49A85cGn047892; Thu, 10 Oct 2024 08:05:38 GMT (envelope-from git) Date: Thu, 10 Oct 2024 08:05:38 GMT Message-Id: <202410100805.49A85cGn047892@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 1252b6e917f6 - main - devel/py-cloc: 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1252b6e917f61545aa0cbd1ab8f04aa9402fb29e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1252b6e917f61545aa0cbd1ab8f04aa9402fb29e commit 1252b6e917f61545aa0cbd1ab8f04aa9402fb29e Author: Muhammad Moinur Rahman AuthorDate: 2024-10-08 16:11:47 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-10-10 08:05:05 +0000 devel/py-cloc: New port Modern cli framework for simple and complex cli applications Command line framework for making simple and complex command line applications. - Easily create stand alone commands or nested groups of commands - Define and connect commands with class objects - Inherit and create viewsets of commands to be able to reuse large nested groups in other cli applications - Use mixin commands to quickly add pre defined commands to your cli - Groups of commands can be found from any class that has defined a cloc.core.BaseCmd WWW: https://github.com/tannerburns/cloc Sponsored by: The FreeBSD Foundation --- devel/Makefile | 1 + devel/py-cloc/Makefile | 23 +++++++++++++++++++++++ devel/py-cloc/distinfo | 3 +++ devel/py-cloc/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8ad77559d3cb..32d84858320d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4644,6 +4644,7 @@ SUBDIR += py-clikit SUBDIR += py-clint SUBDIR += py-clldutils + SUBDIR += py-cloc SUBDIR += py-cloudpathlib SUBDIR += py-cloudpickle SUBDIR += py-cluster diff --git a/devel/py-cloc/Makefile b/devel/py-cloc/Makefile new file mode 100644 index 000000000000..d1bbf1abe33b --- /dev/null +++ b/devel/py-cloc/Makefile @@ -0,0 +1,23 @@ +PORTNAME= cloc +DISTVERSION= 0.2.5 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Modern cli framework for simple and complex cli applications +WWW= https://github.com/tannerburns/cloc + +LICENSE= MIT +# PYPI doesn't have a LICENSE file +#LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colored>=0:misc/py-colored@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-cloc/distinfo b/devel/py-cloc/distinfo new file mode 100644 index 000000000000..c041c68807c4 --- /dev/null +++ b/devel/py-cloc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728402066 +SHA256 (cloc-0.2.5.tar.gz) = 469164d445169ef3635c5cbae21db2e6126ebc2d71f7151f482674414c0c3363 +SIZE (cloc-0.2.5.tar.gz) = 22941 diff --git a/devel/py-cloc/pkg-descr b/devel/py-cloc/pkg-descr new file mode 100644 index 000000000000..48cd05885f74 --- /dev/null +++ b/devel/py-cloc/pkg-descr @@ -0,0 +1,10 @@ +Command line framework for making simple and complex command line +applications. + +- Easily create stand alone commands or nested groups of commands +- Define and connect commands with class objects +- Inherit and create viewsets of commands to be able to reuse large + nested groups in other cli applications +- Use mixin commands to quickly add pre defined commands to your cli +- Groups of commands can be found from any class that has defined a + cloc.core.BaseCmd