From c0909157cb9c2649ebc7fd956093dde5b37dc673 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 1 Feb 2017 02:19:43 -0500 Subject: Update pcr/pypolicyd-spf --- pcr/python-pyspf/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pcr/python-pyspf/PKGBUILD (limited to 'pcr/python-pyspf') diff --git a/pcr/python-pyspf/PKGBUILD b/pcr/python-pyspf/PKGBUILD new file mode 100644 index 000000000..9a256215d --- /dev/null +++ b/pcr/python-pyspf/PKGBUILD @@ -0,0 +1,27 @@ +# 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=1 +arch=('any') +depends=('python-py3dns') +makedepends=('python-setuptools') +optdepends=('python-authres: Return RFC 5451 Authentication Results headers') + +package() { + cd "$srcdir/$_pkgname-${_basever}" + + python setup.py install --root="$pkgdir" --optimize=1 +} -- cgit v1.2.3