blob: 8048baa29636dee70f271ad51a5d22172e7e6880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Maintainer (AUR): Rich Li <rich@dranek.com>
# Contributor (AUR): Samed Beyribey <ras0ir@eventualis.org>
_pkgname=pyspf
pkgname=(python-pyspf python2-pyspf)
_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=3
arch=('any')
makedepends=('python' 'python2')
package_python-pyspf() {
depends=('python python-py3dns')
optdepends=('python-authres: Return RFC 5451 Authentication Results headers')
cd "$srcdir/$_pkgname-${_basever}"
python setup.py install --root="$pkgdir" --optimize=1
}
package_python2-pyspf() {
depends=('python2 python2-pydns python2-ipaddr')
optdepends=('python2-authres: Return RFC 5451 Authentication Results headers')
cd "$srcdir/$_pkgname-${_basever}"
python2 setup.py install --root="$pkgdir" --optimize=1
}
|