193a83a630
0.14.0: - Added new validators ipv4_cidr, ipv6_cidr
25 lines
803 B
Makefile
25 lines
803 B
Makefile
# $NetBSD: Makefile,v 1.11 2019/08/27 10:10:06 adam Exp $
|
|
|
|
DISTNAME= validators-0.14.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=v/validators/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/kvesteri/validators
|
|
COMMENT= Python data validation for humans
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=2.4.0:../../devel/py-flake8
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.2:../../devel/py-isort
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|