Date: Tuesday, November 30, 2021 @ 20:22:44 Author: foutrelis Revision: 1058145
archrelease: copy trunk to community-staging-any Added: python-authres/repos/community-staging-any/ python-authres/repos/community-staging-any/PKGBUILD (from rev 1058143, python-authres/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: python-authres/repos/community-staging-any/PKGBUILD (from rev 1058143, python-authres/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 20:22:44 UTC (rev 1058145) @@ -0,0 +1,32 @@ +# 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.2.0 +pkgrel=6 +pkgdesc='Python Authentication-Results headers generation and parsing' +arch=('any') +url=https://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") +sha256sums=('93d1b995ad7ce21e62db649f361048125dd6022563a0ae8a23909465f1fd25b7') + +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 +}