Date: Saturday, December 29, 2018 @ 08:42:08 Author: polyzen Revision: 418819
Initial commit Added: python-authres/ python-authres/repos/ python-authres/trunk/ python-authres/trunk/PKGBUILD ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Added: python-authres/trunk/PKGBUILD =================================================================== --- python-authres/trunk/PKGBUILD (rev 0) +++ python-authres/trunk/PKGBUILD 2018-12-29 08:42:08 UTC (rev 418819) @@ -0,0 +1,33 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Rich Li <rich at dranek com> +# Contributor: Thomas Haider <t.hai...@deprecate.de> +# Contributor: Filip S. Adamsen <fsa [at] fsadev [dot] com> +# Contributor: Samed Beyribey <ras...@eventualis.org> + +pkgname=python-authres +pkgver=1.1.1 +pkgrel=1 +pkgdesc='Python Authentication-Results headers generation and parsing' +arch=('any') +url=http://launchpad.net/authentication-results-python +license=('Apache') +depends=('python') +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/a/authres/authres-$pkgver.tar.gz") +sha512sums=('61e73e85e524279d5db37375fbe7b1fcf65a24280ef61124a94e4236ce477c225637690e9d424f5ee3fef8b9cd3d26c6d512dfa3c1c8491fa4f4bf266f88ac80') + +build() { + cd authres-$pkgver + python setup.py build +} + +check() { + cd authres-$pkgver + python -m authres -v +} + +package() { + cd authres-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} +