From nobody Thu Oct 10 08:05:40 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 4XPMks41ZCz5YcZt; Thu, 10 Oct 2024 08:05:41 +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 4XPMkr6J8hz4dYP; Thu, 10 Oct 2024 08:05:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728547540; 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=0vSHMY/vvsfQZcRlMCkMc77sbVUOBICV9E6VWQjNu5M=; b=dd8eqmK2DZHKpw2uKgVAXLGQD2vOtvqeH7u9MkHNXCvkayhYlEOd/0thm2TRnPbY3ybM0c 8nIk/3grZTuLcWpVLCr6ABlcyrNy0aKj0y3Q8jB1cuxvnvOit9Bz5Fogr3p22AZEGGSZXn zXOlOYSzExiQpVjqxPUnxp5a46tRWeegzBTeVo/kBts6VZ0gteU+G1CJy2BTNUpKWKEccJ rYeQ7s0e+q3PagOKVvg29rH2xWT0cHjCjQbzh5rXew/lPRlrqs9/MVcpYGfb8h8++ZzsQt 4r9SGuObGYwSZbYUE7+8GQ6NJ0RaWXB1qdvB/1nA2Zw75AObG0MS8Ys7W7Nxxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728547540; 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=0vSHMY/vvsfQZcRlMCkMc77sbVUOBICV9E6VWQjNu5M=; b=C6NNX8Y7q5RQj5kPtcomMm1Jk1luEOQuzvf15jjieH+di+cRQPzf07EQN5I+ajxrY6mpPH 3GvXvmIk5yb4TfCOuzU/KnEj4bwT/JP+vlmngWxBJXRDcuHi+KNBVIACMEwXe83Tcrn/Fe cIlhh7ixcXzTfq+UXnz8qsGlCFmWZQgGKCpGgtaoQiIH7TmGmNXjuRIGmrr95FLO5riQUd ZQXWFCZeLUBxefSdIjRyuKrUBE1Z/tkd0RTdO8d16OS6cZz/qR0W6SjK/eqwNFSueAvZm2 dg7at3hsjlvCbq7fsP9GnNR0bkhFnnu4YRilZwo9wLSAsHP9sdMr817QM1jw7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728547540; a=rsa-sha256; cv=none; b=wyPfQvClIPzqJ1Abgig++6cVpe5CMZqD73ZdVB71ETJjZ+894slt6z6wz3s43rh5gGpWpP 4miSCIJVZmrgWF4WfjOnRZbkqCp4KCvMUlTKcU9KUV6+5khIU/20/urEbiq7C6E3tNNUdi +Z3FH6xnWHI82amk8c+tMJke9iY2By9pxY+qkRFU8ShJ8DBDNbix+PeOTpZ/zGQuABBet6 trBu1pgljUD+ivmGHJ/mEYf/oytFhVJQAOn+MnJEHt9JWeMTLz8Eg3bYCs991vY4vRdHIx hjwLBBnvT7VGiX94BDErARKiuDow+ARgNcnJLi+RxWnJeulWUMzdttv881zKRA== 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 4XPMkr5tbQzqG3; Thu, 10 Oct 2024 08:05:40 +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 49A85erF047973; Thu, 10 Oct 2024 08:05:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49A85eeZ047970; Thu, 10 Oct 2024 08:05:40 GMT (envelope-from git) Date: Thu, 10 Oct 2024 08:05:40 GMT Message-Id: <202410100805.49A85eeZ047970@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: 1d9aa48350da - main - devel/py-graal: 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: 1d9aa48350dae4b85e6430e87e9afa3e75a047ba Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=1d9aa48350dae4b85e6430e87e9afa3e75a047ba commit 1d9aa48350dae4b85e6430e87e9afa3e75a047ba Author: Muhammad Moinur Rahman AuthorDate: 2024-10-09 13:29:39 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-10-10 08:05:06 +0000 devel/py-graal: New port Generic source code analyzer Graal leverages on the Git backend of Perceval and enhances it to set up ad-hoc source code analysis. Thus, it fetches the commits from a Git repository and provides a mechanism to plug third party tools/libraries focused on source code analysis. WWW: https://github.com/chaoss/grimoirelab-graal Sponsored by: The FreeBSD Foundation --- devel/Makefile | 1 + devel/py-graal/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ devel/py-graal/distinfo | 3 +++ devel/py-graal/pkg-descr | 4 ++++ 4 files changed, 54 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1434f7f0d6b0..30ac758b0c2a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4932,6 +4932,7 @@ SUBDIR += py-googleapis-common-protos SUBDIR += py-gptscript SUBDIR += py-gpxpy + SUBDIR += py-graal SUBDIR += py-grab SUBDIR += py-graphene SUBDIR += py-graphene-django diff --git a/devel/py-graal/Makefile b/devel/py-graal/Makefile new file mode 100644 index 000000000000..af6a0310e15e --- /dev/null +++ b/devel/py-graal/Makefile @@ -0,0 +1,46 @@ +PORTNAME= graal +DISTVERSION= 1.0.7 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Generic source code analyzer +WWW= https://github.com/chaoss/grimoirelab-graal + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +# For the full functionality we need to install the following tools: +# FOSSology +# ScanCode toolkit +# crossJadoLint +# However for now we will not include them in the dependencies as +# they are optional and not immediately required +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= \ + cloc>0:misc/cloc \ + git>0:devel/git \ + ${PYTHON_PKGNAMEPREFIX}bandit>=1.4.0:devel/py-bandit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cloc>=0.2.5:devel/py-cloc@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}execnet>=1.9.0:sysutils/py-execnet@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=7.1.1:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}grimoirelab-toolkit>=0.3:devel/py-grimoirelab-toolkit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lizard>=1.16.6:devel/py-lizard@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>=2.1:math/py-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}perceval>=0.19:devel/py-perceval@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydot>=1.2.4:graphics/py-pydot@${PY_FLAVOR} \ + pylint${PYTHON_PKGNAMESUFFIX}>=1.8.4:devel/pylint \ + rubygem-github-linguist>0:textproc/rubygem-github-linguist \ + scc>0:devel/scc + + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 unittest +SHEBANG_GLOB= *.py + +NO_ARCH= yes + +TEST_WRKSRC= ${WRKSRC}/tests + +.include diff --git a/devel/py-graal/distinfo b/devel/py-graal/distinfo new file mode 100644 index 000000000000..17bc3e699f6f --- /dev/null +++ b/devel/py-graal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728441017 +SHA256 (graal-1.0.7.tar.gz) = 54086175b74b4f2dd6b1e594b3e8d7c6049bdec038ee2847b8f4a273e5875f66 +SIZE (graal-1.0.7.tar.gz) = 280822 diff --git a/devel/py-graal/pkg-descr b/devel/py-graal/pkg-descr new file mode 100644 index 000000000000..a1928c0a4d77 --- /dev/null +++ b/devel/py-graal/pkg-descr @@ -0,0 +1,4 @@ +Graal leverages on the Git backend of Perceval and enhances it to set up +ad-hoc source code analysis. Thus, it fetches the commits from a Git +repository and provides a mechanism to plug third party tools/libraries +focused on source code analysis.