pkgsrc/www/py-wtforms/Makefile
wiz bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00

29 lines
868 B
Makefile

# $NetBSD: Makefile,v 1.17 2022/01/04 20:55:38 wiz Exp $
DISTNAME= WTForms-2.3.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/WTForms/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= https://wtforms.readthedocs.io/
COMMENT= Flexible forms validation and rendering library
LICENSE= modified-bsd
USE_LANGUAGES= # empty
.include "../../lang/python/pyversion.mk"
DEPENDS+= ${PYPKGPREFIX}-babel>=2.6.0:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-email_validator-[0-9]*:../../mail/py-email_validator
.if ${_PYTHON_VERSION} < 33
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
.endif
DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
post-extract:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"