Date: Saturday, December 29, 2018 @ 08:42:27 Author: polyzen Revision: 418820
archrelease: copy trunk to community-any Added: python-authres/repos/community-any/ python-authres/repos/community-any/PKGBUILD (from rev 418819, python-authres/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: python-authres/repos/community-any/PKGBUILD (from rev 418819, python-authres/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-12-29 08:42:27 UTC (rev 418820) @@ -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 +} +