pkgsrc/mail/py-email_validator/Makefile
2018-01-18 08:43:40 +00:00

23 lines
710 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/01/18 08:43:40 adam Exp $
DISTNAME= email_validator-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/email_validator/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/JoshData/python-email-validator
COMMENT= Robust email syntax and deliverability validation library
LICENSE= cc0-1.0-universal
DEPENDS+= ${PYPKGPREFIX}-dns>=1.15.0:../../net/py-dns
DEPENDS+= ${PYPKGPREFIX}-idna>=2.0.0:../../www/py-idna
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} email_validator email_validator${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"