From nobody Wed Mar 20 09:42:47 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 4V03Y33Z60z5F6sW; Wed, 20 Mar 2024 09:42:47 +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 4V03Y32zfjz4Sph; Wed, 20 Mar 2024 09:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710927767; 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=ENr5gY0boCKciyFN5tuWenqPH3CW6JNDDA6HjMnyTIQ=; b=ZcCGdSH8CjmtevPQeHglsit/ZlmVpmOm6E19XrMFzQ9z7M4ayq5D4PQmkF64xk6Y2/o1so UR0LcELT2LP2iczbt2LpUFc7qWfxQl+OU0+29Y4nFlN/QF6QuQr6MWGiK2Xo7NrwerXk9U 6UWHBT9w4C3gihRdz08AvQZhK5St1/ac0QkjosazYEiXPpUCv+pUGpWgwI4Ei6PuJuQGrg lMbx7GW+OBFsxIGv9Gx4g8egDb1GTSNkxlKIx8J/fk70LxdJozuxkJ8HxQBpJOaRgTCkRM BihWkTXdphcb7SyXxt/W/Vi5cY9OQ/qc4CdbSVS867HjjqbUcVmET99hBBUrFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710927767; a=rsa-sha256; cv=none; b=QG2ofoj1caKTnTuWVEkCkDnPt/YSTHSDv23005DsTWB66T/HemRnNGzpWnij/JfteWJPb1 9m30dgEA3hQjuXf4lUGNXm/M4sbGYIbIn+bLD7Uq0P/CbW0+PiffWKE0WJtgkRGU2lFoV7 pHi2ZtkRtkq+CG1jiP4zB8yBOjDiGEDwFn6D2uxpakvbSvTfnOPam7GAk8V145BH4X1SQ0 ftRWwX3/xccRAtpUxhCRdBGMgUg83NTJwuG5GhzYuVuG5WDB6QsBWYV9qxVMytZe8ZzQUg ZxpFKUZXvre0NMs1oitmMGGba6gMm1cVyUFn8OlJKTP2iwb95G0qkoSnLycGuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710927767; 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=ENr5gY0boCKciyFN5tuWenqPH3CW6JNDDA6HjMnyTIQ=; b=xIAExCI9FouAuHr3WAto525dzhdPIjMgCjS+vQJYx3bXYZ/ZNCU0Iwqrks2UJEta8YOS14 xoyrekgQCaoCQwfhIkbDNiTf5pG8CiTpA2p31RaBBwPg7CtgeKvZlBgQP+KC6bXAWTKpcP q6wxfzE0bXZHmuDwMjDlN2M8kv4pLjlqNzK4MjqtMj9v9c2s9X2X4zqOOUU7UvK7qrTmOB mx8hMFyYrCsNf+nNEPmuq3i7Pjwd3HKkKmJzPtkebYTkms0fBXw5ZTxqfW232D4b7ocomB OEGErBzxQ1+2AedC82hTEzGmnMlJOHRuiLRGSbK+cL9bv0D9SbZsMPv/PL0muw== 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 4V03Y32b1BzmCr; Wed, 20 Mar 2024 09:42:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42K9gliX045540; Wed, 20 Mar 2024 09:42:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42K9glDb045537; Wed, 20 Mar 2024 09:42:47 GMT (envelope-from git) Date: Wed, 20 Mar 2024 09:42:47 GMT Message-Id: <202403200942.42K9glDb045537@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: d004acb58622 - main - ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d004acb586229ffd0436c52c6b7f3e3f6dfcd202 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=d004acb586229ffd0436c52c6b7f3e3f6dfcd202 commit d004acb586229ffd0436c52c6b7f3e3f6dfcd202 Author: Hubert Tournier AuthorDate: 2024-03-20 08:27:33 +0000 Commit: Nuno Teixeira CommitDate: 2024-03-20 09:41:54 +0000 ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint - Submitter becomes maintainer The portstreelint utility checks the FreeBSD ports tree Index and some parts of the ports' Makefiles for errors and warnings. By default it will scan the whole port tree, but you can select a subset of the ports by specifying lists of categories, maintainers and ports names. WWW: https://github.com/HubTou/portstreelint PR: 277824 --- ports-mgmt/Makefile | 1 + ports-mgmt/py-pnu-portstreelint/Makefile | 25 +++++++++++++++++++++++++ ports-mgmt/py-pnu-portstreelint/distinfo | 3 +++ ports-mgmt/py-pnu-portstreelint/pkg-descr | 12 ++++++++++++ 4 files changed, 41 insertions(+) diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index c802ce080a29..016706fcc9e6 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -72,6 +72,7 @@ SUBDIR += poudriere-devel SUBDIR += psearch SUBDIR += py-FreeBSD-ports + SUBDIR += py-pnu-portstreelint SUBDIR += py-pytoport SUBDIR += py-skog SUBDIR += rc-subr-jail diff --git a/ports-mgmt/py-pnu-portstreelint/Makefile b/ports-mgmt/py-pnu-portstreelint/Makefile new file mode 100644 index 000000000000..202ea8c3487f --- /dev/null +++ b/ports-mgmt/py-pnu-portstreelint/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pnu-portstreelint +DISTVERSION= 1.2.0 +CATEGORIES= ports-mgmt security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= hubert.tournier@gmail.com +COMMENT= FreeBSD ports tree lint +WWW= https://github.com/HubTou/portstreelint + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/License + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pnu-libpnu>=1.3.0:devel/py-pnu-libpnu@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pnu-vuxml>=1.2.1:security/py-pnu-vuxml@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist flavors pep517 + +SHEBANG_FILES= src/portstreelint/*.py + +.include diff --git a/ports-mgmt/py-pnu-portstreelint/distinfo b/ports-mgmt/py-pnu-portstreelint/distinfo new file mode 100644 index 000000000000..0cdad9049ec7 --- /dev/null +++ b/ports-mgmt/py-pnu-portstreelint/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1710899690 +SHA256 (pnu-portstreelint-1.2.0.tar.gz) = 21b76e3f492a6b3077f053ea93aa9613114c84795c3f2fe414869262b270d8fe +SIZE (pnu-portstreelint-1.2.0.tar.gz) = 21832 diff --git a/ports-mgmt/py-pnu-portstreelint/pkg-descr b/ports-mgmt/py-pnu-portstreelint/pkg-descr new file mode 100644 index 000000000000..39509966f43e --- /dev/null +++ b/ports-mgmt/py-pnu-portstreelint/pkg-descr @@ -0,0 +1,12 @@ +The portstreelint utility checks the FreeBSD ports tree Index and some +parts of the ports' Makefiles for errors and warnings. + +By default it will scan the whole port tree, but you can select a +subset of the ports by specifying lists of categories, maintainers and +ports names. + +It is possible to generate a CSV delimited file with the +per-maintainer findings to a specified filename. This allows for +automated processing of the results, such as, for example, sending +warning emails, storing results and displaying only diffs since +previous run...