Skip to content

Commit

Permalink
ports-mgmt/py-pnu-portstreelint: New port: FreeBSD ports tree lint
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
HubTou authored and nunotexbsd committed Mar 20, 2024
1 parent dd08532 commit d004acb
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions ports-mgmt/Makefile
Expand Up @@ -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
Expand Down
25 changes: 25 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
12 changes: 12 additions & 0 deletions 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...

0 comments on commit d004acb

Please sign in to comment.