1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
4 pkgname=python-email-validator
7 pkgdesc="A robust email address syntax and deliverability validation library"
9 url="https://github.com/JoshData/python-email-validator"
10 license=('custom:CC0')
11 depends=('python-dnspython' 'python-idna')
12 makedepends=('python-setuptools')
13 checkdepends=('python-pytest')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/JoshData/python-email-validator/archive/v$pkgver.tar.gz")
15 sha512sums=('7806ef35c07cf0cfef3d8c6c7fe6dd3cb58da091a134b57d879a2cfcdf6425f8729ab8b03194135749ae47b369da47434c1d130432cfaa8eeaf5d07149c15dc2')
18 cd python-email-validator-$pkgver
23 cd python-email-validator-$pkgver
28 cd python-email-validator-$pkgver
29 python setup.py install --root="$pkgdir/" --optimize=1
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
33 # vim:set ts=2 sw=2 et: