pkgsrc/sysutils/py-ansible-compat/Makefile
adam e2535d68fd py-ansible-compat: updated to 2.0.4
v2.0.4
Bugfixes
Add support for tower requirements
2022-05-17 09:30:51 +00:00

32 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2022/05/17 09:30:51 adam Exp $
DISTNAME= ansible-compat-2.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansible-compat/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/ansible-community/ansible-compat
COMMENT= Ansible compatibility goodies
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-subprocess-tee>=0.3.5:../../sysutils/py-subprocess-tee
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
#TODO: TEST_DEPENDS pip-tools, pytest-markdown, pytest-plus
TEST_DEPENDS+= ansible-core-[0-9]*:../../sysutils/ansible-core
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-flaky-[0-9]*:../../devel/py-flaky
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"