diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index c802ce080a29..016706fcc9e6 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -1,84 +1,85 @@ COMMENT = Ports for managing, installing, and developing FreeBSD ports and packages SUBDIR += bsdadminscripts2 SUBDIR += caronade SUBDIR += create-rb-port SUBDIR += dialog4ports SUBDIR += dialog4ports-static SUBDIR += distilator SUBDIR += fallout SUBDIR += fastest_pkg SUBDIR += freebsd-bugzilla-cli SUBDIR += genpatch SUBDIR += genplist SUBDIR += hs-cabal2tuple SUBDIR += hs-panopticum SUBDIR += jailaudit SUBDIR += lsknobs SUBDIR += mkreadmes SUBDIR += modules2tuple SUBDIR += octopkg SUBDIR += p5-FreeBSD-Ports SUBDIR += p5-FreeBSD-Ports-INDEXhash SUBDIR += packagekit SUBDIR += packagekit-qt SUBDIR += pchecker SUBDIR += pkg SUBDIR += pkg-appstream SUBDIR += pkg-devel SUBDIR += pkg-graph SUBDIR += pkg-provides SUBDIR += pkg-rmleaf SUBDIR += pkg_cleanup SUBDIR += pkg_cutleaves SUBDIR += pkg_jail SUBDIR += pkg_replace SUBDIR += pkg_rmleaves SUBDIR += pkg_search SUBDIR += pkg_tree SUBDIR += pkgcompare SUBDIR += pkgs_which SUBDIR += port-authoring-tools SUBDIR += port-index-uniquifier SUBDIR += port-maintenance-tools SUBDIR += portal SUBDIR += portconf SUBDIR += portconfig SUBDIR += portdowngrade SUBDIR += portest SUBDIR += portfind SUBDIR += portfmt SUBDIR += portgraph SUBDIR += portgrep SUBDIR += portless SUBDIR += portlint SUBDIR += portmaster SUBDIR += portoptscli SUBDIR += portrac SUBDIR += ports-tools SUBDIR += portscout SUBDIR += portsdb SUBDIR += portsearch SUBDIR += portshaker SUBDIR += portshaker-config SUBDIR += portsnap SUBDIR += portsreinstall SUBDIR += porttools SUBDIR += porttree SUBDIR += portupdate-scan SUBDIR += portupgrade SUBDIR += portupgrade-devel SUBDIR += poudriere SUBDIR += poudriere-devel SUBDIR += psearch SUBDIR += py-FreeBSD-ports + SUBDIR += py-pnu-portstreelint SUBDIR += py-pytoport SUBDIR += py-skog SUBDIR += rc-subr-jail SUBDIR += reprise SUBDIR += sccache-overlay SUBDIR += submodules2tuple SUBDIR += synth SUBDIR += wanted-ports .include 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...