summaryrefslogtreecommitdiff
path: root/pcr/python2-authres/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-authres/PKGBUILD')
-rw-r--r--pcr/python2-authres/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/python2-authres/PKGBUILD b/pcr/python2-authres/PKGBUILD
new file mode 100644
index 000000000..c2d66344d
--- /dev/null
+++ b/pcr/python2-authres/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Thomas Haider <t.haider@deprecate.de>
+# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com>
+# Contributor: Samed Beyribey <ras0ir@eventualis.org>
+pkgname=python2-authres
+_pkgname=authentication-results-python
+pkgver=0.602
+pkgrel=1
+pkgdesc="Python2 Authentication-Results Headers generation and parsing"
+arch=('any')
+url="http://launchpad.net/authentication-results-python"
+license=('Apache')
+depends=('python2')
+conflicts=('python-authres')
+source=(http://launchpad.net/$_pkgname/trunk/$pkgver/+download/authres-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/authres-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/authres-$pkgver"
+ python2 setup.py install --root=$pkgdir --optimize=1
+}
+
+sha256sums=('41cea7fcc3387e381b520053dbbba1825598b6cb9d45c505ae466d7a2a27edc3')