pkgsrc/textproc/py-yamllint/Makefile
adam 7ebe1b965a py-yamllint: updated to 1.27.1
1.27.1 (2022-07-08)

Fix failing test on key-duplicates for old PyYAML versions

1.27.0 (2022-07-08)

Add support for Python 3.10, drop Python 3.5
Fix GitHub Actions workflow
Refactor --format=auto logic
Update GitHub format output to use groups
Rule comments: allow whitespace after the shebang marker
Multiple minor fixes in documetation
Configure Sphinx to make man page show up in apropos
Attempt to clarify configuration file location in documentation
Rule key-duplicates: don't crash on redundant closing brackets or braces
Use rstcheck to lint documentation on the CI
Remove UTF-8 headers in Python files, since Python 2 isn't supported
Add various tests to increase coverage
Rule octal-values: pre-compile regex for performance
Add sections for Visual Studio Code and IntelliJ in documentation
Rule new-lines: add the type: platform config option
Add the new rule float-values
2022-08-02 09:45:58 +00:00

27 lines
708 B
Makefile

# $NetBSD: Makefile,v 1.2 2022/08/02 09:45:58 adam Exp $
DISTNAME= yamllint-1.27.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=y/yamllint/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/adrienverge/yamllint
COMMENT= Linter for YAML files
LICENSE= gnu-gpl-v3
DEPENDS+= ${PYPKGPREFIX}-pathspec>=0.5.3:../../devel/py-pathspec
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
USE_LANGUAGES= # none
USE_PKG_RESOURCES= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} yamllint yamllint-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"