summaryrefslogtreecommitdiff
path: root/pcr/python-pyspf
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:19:43 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-01 02:28:21 -0500
commitc0909157cb9c2649ebc7fd956093dde5b37dc673 (patch)
tree5d1d6f323046c237758ab5c0289eaea379e786a2 /pcr/python-pyspf
parent15f7c4ab15d58b0c613ea7fe2ee0bb8aa1c660b7 (diff)
downloadabslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.gz
abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.tar.bz2
abslibre-c0909157cb9c2649ebc7fd956093dde5b37dc673.zip
Update pcr/pypolicyd-spf
Diffstat (limited to 'pcr/python-pyspf')
-rw-r--r--pcr/python-pyspf/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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 <lukeshu@parabola.nu>
+# Maintainer (AUR): Rich Li <rich@dranek.com>
+# Contributor (AUR): Samed Beyribey <ras0ir@eventualis.org>
+
+_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
+}