# Maintainer: Steven Guikal pkgname=py3-email-validator _pkgname=python-email-validator pkgver=2.0.0 pkgrel=1 pkgdesc="A robust email syntax and deliverability validation library" url="https://github.com/JoshData/python-email-validator" arch="noarch" license="CC0-1.0" depends="py3-idna" makedepends="py3-setuptools" checkdepends="py3-pytest py3-dnspython" subpackages="$pkgname-pyc" install="$pkgname.post-upgrade" source="$pkgname-$pkgver.tar.gz::https://github.com/JoshData/$_pkgname/archive/v$pkgver.tar.gz version.patch " builddir=$srcdir/$_pkgname-$pkgver replaces="py-email-validator" # Backwards compatibility provides="py-email-validator=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { PYTHONPATH=build/lib pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 67d457642a574498bf12eb6f4fc3c25c46374724f064b775a7382d8c96c7087e78937ffceb717461b853e1945dd5efe9ef7562a1e639249cd5cfe006a776239e py3-email-validator-2.0.0.tar.gz 492d025165eead8883eacae34e5bddd094b782f618fb844dc85efd0b1e0f9e40c90a311e00c69da7711529007ddbaa62e194da6a53a26858403927cb3326eee9 version.patch "