Add postfix spf stuff

This commit is contained in:
moparisthebest
2016-12-02 01:05:29 -05:00
parent a77fde4bd2
commit 35dc2f1141
9 changed files with 188 additions and 0 deletions

15
src/python-pyspf/.SRCINFO Normal file
View File

@@ -0,0 +1,15 @@
pkgbase = python-pyspf
pkgdesc = Python implementation of the Sender Policy Framework (SPF) protocol
pkgver = 2.0.12
pkgrel = 1
url = http://pypi.python.org/pypi/pyspf
arch = any
license = PSF
makedepends = python-setuptools
depends = python-pydns
optdepends = python-authres: Return RFC 5451 Authentication Results headers
source = http://pypi.python.org/packages/source/p/pyspf/pyspf-2.0.12t.tar.gz
md5sums = c83143ad79074bf8c80235748a8a698f
pkgname = python-pyspf

31
src/python-pyspf/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Rich Li <rich at dranek com>
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgname=python-pyspf
pkgver=2.0.12
# This version is a patched release that is only reflected in the filename; this will likely be removed in the next upstream release?
_fix_pkgver=2.0.12t
pkgrel=1
pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol"
arch=('any')
url="http://pypi.python.org/pypi/pyspf"
license=('PSF')
depends=('python-pydns')
makedepends=('python-setuptools')
optdepends=('python-authres: Return RFC 5451 Authentication Results headers')
source=(http://pypi.python.org/packages/source/p/pyspf/pyspf-$_fix_pkgver.tar.gz)
md5sums=('c83143ad79074bf8c80235748a8a698f')
build() {
cd "$srcdir/pyspf-$pkgver"
python setup.py build
}
# The package requires installation before testing...so it won't work here
# check() {
# }
package() {
cd "$srcdir/pyspf-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
# vim:set ts=2 sw=2 et: