pkgsrc/devel/py-click/Makefile

28 lines
760 B
Makefile

# $NetBSD: Makefile,v 1.19 2022/02/03 23:43:24 wiz Exp $
DISTNAME= click-8.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/click/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://palletsprojects.com/p/click/
COMMENT= Simple wrapper around optparse for powerful command line utilities
LICENSE= modified-bsd
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"