Date: Saturday, September 28, 2019 @ 14:50:24 Author: foxboron Revision: 512000
archrelease: copy trunk to community-x86_64 Added: python-keyutils/repos/community-x86_64/ python-keyutils/repos/community-x86_64/PKGBUILD (from rev 511999, python-keyutils/trunk/PKGBUILD) ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Copied: python-keyutils/repos/community-x86_64/PKGBUILD (from rev 511999, python-keyutils/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-09-28 14:50:24 UTC (rev 512000) @@ -0,0 +1,26 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contibutor: Pierre Neidhardt <ambre...@gmail.com> + +pkgname=python-keyutils +pkgver=0.6 +pkgrel=2 +pkgdesc="A set of python bindings for keyutils" +arch=("x86_64") +url="https://github.com/sassoftware/python-keyutils" +license=("Apache") +# python-pytest-runner in makedepends due to be set in setup_requires (which is wrong upstream) +depends=("python" "keyutils") +makedepends=("python" "python-setuptools" "python-pytest-runner") +checkdepends=("python-pytest") +source=("$pkgname-$pkgver.tar.gz::https://github.com/sassoftware/python-keyutils/archive/$pkgver.tar.gz") +sha256sums=('f69e6cadc50525dcb117714e440ee6579b0e5b7f12910b2bb2e910b236a2b18b') + +build(){ + cd "$pkgname-$pkgver" + python setup.py build +} + +package(){ + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1 --skip-build +}