2181c014fc
^^^^^^^^^^^^^^^^^^ - Fixed errors in code examples. - Fixed ``TypeError`` when using ``between`` validator with ``datetime`` objects like in the code example. - Changed validators to always return ``True`` instead of a truthy object when the validation succeeds. - Fixed ``truthy`` validator to work like it's name suggests. Previously it worked like ``falsy``.
21 lines
589 B
Makefile
21 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.3 2014/10/05 22:22:49 rodent Exp $
|
|
|
|
DISTNAME= validators-0.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= python textproc
|
|
MASTER_SITES= https://pypi.python.org/packages/source/v/validators/
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= https://github.com/kvesteri/validators
|
|
COMMENT= Python data validation for humans
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|