pkgsrc/misc/py-ansi/Makefile

25 lines
670 B
Makefile

# $NetBSD: Makefile,v 1.6 2022/02/13 10:07:46 wiz Exp $
DISTNAME= ansi-0.3.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/ansi/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/tehmaze/ansi
COMMENT= ANSI cursor movement and graphics
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.6.4:../../devel/py-typing-extensions
.endif
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"