951e6623a3
0.12.2: Fixed IPv4 formatted IP address returning True on ipv6 Fixed IPv6 address parsing Fixed domain validator for international domains and certain edge cases 0.12.1: Fixed IDNA encoded TLDs in domain validator Fixed URL validator for URLs with invalid characters in userinfo part 0.12.0: Added hash validators for md5, sha1, sha224, sha256 and sha512 Made ipv6 validator support IPv4-mapped IPv6 addresses 0.11.3: Fixed URL validator for URLs containing localhost 0.11.2: Fixed URL validator for urls with query parameters but without path 0.11.1: Fixed pyp2rpm build problem 0.11.0: Fixed public url validation Made URL validator case insensitive Drop Python 2.6 support 0.10.3: Added public parameter to url validator 0.10.2: Fixed various URL validation issues 0.10.1: Fixed domain name validation for numeric domain names Fixed IBAN validation for Norwegian and Belgian IBANs 0.10.0: Added support for internationalized domain names in domain validator 0.9.0: Added new validator: domain Added flake8 and isort checks in travis config 0.8.0: Added new validator: iban
25 lines
802 B
Makefile
25 lines
802 B
Makefile
# $NetBSD: Makefile,v 1.6 2018/08/19 07:26:32 adam Exp $
|
|
|
|
DISTNAME= validators-0.12.2
|
|
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"
|