Date: Friday, October 19, 2018 @ 02:37:57 Author: felixonmars Revision: 396888
addpkg: python-biscuits 0.1.1-1 Added: python-biscuits/ python-biscuits/repos/ python-biscuits/trunk/ python-biscuits/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: python-biscuits/trunk/PKGBUILD =================================================================== --- python-biscuits/trunk/PKGBUILD (rev 0) +++ python-biscuits/trunk/PKGBUILD 2018-10-19 02:37:57 UTC (rev 396888) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-biscuits +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Fast and tasty cookies handling" +url="https://github.com/pyrates/biscuits" +license=('MIT') +arch=('x86_64') +depends=('python') +makedepends=('cython' 'python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pyrates/biscuits/archive/$pkgver.tar.gz") +sha512sums=('b3370181fc6675913cb677ac5f9a6a8a97ecba7c99ba1c3180414192da9393142f3315d6680cb40da7a49c6aa2f3de6fba46db6a62ce6c42a6953cf52d5bf269') + +build() { + cd biscuits-$pkgver + make compile +} + +check() { + cd biscuits-$pkgver + python setup.py pytest +} + +package() { + cd biscuits-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}