Date: Friday, June 2, 2017 @ 15:19:30 Author: anthraxx Revision: 233421
archrelease: copy trunk to community-i686, community-x86_64 Added: python-multidict/repos/community-i686/ python-multidict/repos/community-i686/PKGBUILD (from rev 233420, python-multidict/trunk/PKGBUILD) python-multidict/repos/community-x86_64/ python-multidict/repos/community-x86_64/PKGBUILD (from rev 233420, python-multidict/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) Copied: python-multidict/repos/community-i686/PKGBUILD (from rev 233420, python-multidict/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-06-02 15:19:30 UTC (rev 233421) @@ -0,0 +1,36 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: renek <a...@spaceshore.net> + +_pkgname=multidict +pkgname=python-${_pkgname} +pkgver=2.1.6 +pkgrel=1 +pkgdesc='Asyncio-based multidict implementation for Python' +url='https://github.com/aio-libs/multidict' +arch=('i686' 'x86_64') +license=('APACHE') +depends=('python') +makedepends=('cython' 'python-setuptools') +checkdepends=('python-pytest') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/multidict/archive/v${pkgver}.tar.gz) +sha256sums=('d044e5388058b8622bbcf47322c2c54c583d2985e4e8f49a1ca96a48f39186e3') +sha512sums=('df698ee19cc36879663dc12951751d2975174415fc9b49f0a5f10f0103d6672e010d90e76d686c1cbd401dd30f0c3bfa7c0b7f3d7f8cafe044f5057021fbd346') + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${_pkgname}-${pkgver} + local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" + PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \ + py.test +} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" -O1 --skip-build +} + +# vim: ts=2 sw=2 et: Copied: python-multidict/repos/community-x86_64/PKGBUILD (from rev 233420, python-multidict/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-06-02 15:19:30 UTC (rev 233421) @@ -0,0 +1,36 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: renek <a...@spaceshore.net> + +_pkgname=multidict +pkgname=python-${_pkgname} +pkgver=2.1.6 +pkgrel=1 +pkgdesc='Asyncio-based multidict implementation for Python' +url='https://github.com/aio-libs/multidict' +arch=('i686' 'x86_64') +license=('APACHE') +depends=('python') +makedepends=('cython' 'python-setuptools') +checkdepends=('python-pytest') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aio-libs/multidict/archive/v${pkgver}.tar.gz) +sha256sums=('d044e5388058b8622bbcf47322c2c54c583d2985e4e8f49a1ca96a48f39186e3') +sha512sums=('df698ee19cc36879663dc12951751d2975174415fc9b49f0a5f10f0103d6672e010d90e76d686c1cbd401dd30f0c3bfa7c0b7f3d7f8cafe044f5057021fbd346') + +build() { + cd ${_pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${_pkgname}-${pkgver} + local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" + PYTHONPATH="build/lib.linux-${CARCH}-${PYTHONVERSION}" \ + py.test +} + +package() { + cd ${_pkgname}-${pkgver} + python setup.py install --root="${pkgdir}" -O1 --skip-build +} + +# vim: ts=2 sw=2 et: