Date: Sunday, July 8, 2018 @ 13:01:20 Author: foutrelis Revision: 354873
archrelease: copy trunk to community-staging-x86_64 Added: python-multidict/repos/community-staging-x86_64/ python-multidict/repos/community-staging-x86_64/PKGBUILD (from rev 354872, python-multidict/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-multidict/repos/community-staging-x86_64/PKGBUILD (from rev 354872, python-multidict/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 13:01:20 UTC (rev 354873) @@ -0,0 +1,34 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: renek <a...@spaceshore.net> + +_pkgname=multidict +pkgname=python-${_pkgname} +pkgver=4.3.1 +pkgrel=2 +pkgdesc='Asyncio-based multidict implementation for Python' +url='https://github.com/aio-libs/multidict' +arch=('x86_64') +license=('APACHE') +depends=('python' 'glibc') +makedepends=('cython' 'python-setuptools') +checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-psutil' 'python-perf') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/multidict/archive/v${pkgver}.tar.gz) +sha256sums=('2d4f7249a11bd4387e2bbb8a29267be927db86b50d1beff9c0f6b53e00d81a65') +sha512sums=('1b475836c776ddddfdc4f14882df41f9956ab06afac7b640e3f5ae3c50717f2b07267acbae2fa3e94cf8c5650273d4d7ce44329c0febea95046ee27d98db9288') + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${_pkgname}-${pkgver} + python setup.py test +} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" -O1 --skip-build +} + +# vim: ts=2 sw=2 et: