Date: Tuesday, November 30, 2021 @ 20:24:17 Author: felixonmars Revision: 1058212
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 1058207, python-multidict/trunk/PKGBUILD) ----------+ PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) Copied: python-multidict/repos/community-staging-x86_64/PKGBUILD (from rev 1058207, python-multidict/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-11-30 20:24:17 UTC (rev 1058212) @@ -0,0 +1,34 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: renek <a...@spaceshore.net> + +_pkgname=multidict +pkgname=python-${_pkgname} +pkgver=5.2.0 +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' 'git') +checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-runner' 'python-psutil' 'python-perf') +source=(https://github.com/aio-libs/multidict/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('508b6db9219c3dae76da5e89a398f4541beff2a875030c2f11da9aaa1e001324d069d7a291148c510fe555cb3a33288ef297c9baa863e42d3d09d60588bebd7e') +b2sums=('3580e3f53b3ec581d338676647f2e8dd78387fdad5730fe703c02b3cd4182d69e3b6896d71bd969413dd27974e07272cc541701a2145a517d9bacea45000e9c8') + +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: