# Maintainer: Luke Shumaker # Maintainer (AUR): Rich Li # Contributor (AUR): Samed Beyribey _pkgname=pyspf pkgname=python-$_pkgname _basever=2.0.12 _patchver=t _pkgver=${_basever}${_patchver} pkgver=${_basever}.${_patchver} pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol" url="https://pypi.python.org/pypi/pyspf" license=('PSF') source=("https://pypi.python.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$_pkgver.tar.gz") md5sums=('c83143ad79074bf8c80235748a8a698f') pkgrel=5 arch=('any') depends=('python-py3dns') makedepends=('python-setuptools') optdepends=('python-authres: Return RFC 5451 Authentication Results headers') conflicts=(python2-pyspf) package() { cd "$srcdir/$_pkgname-${_basever}" python setup.py install --root="$pkgdir" --optimize=1 }