summaryrefslogtreecommitdiff
path: root/pcr/python-pyspf/PKGBUILD
blob: f2e5794cdb864900a75dd99bf2ede6fce64b4ec8 (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
# 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=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
}