Date: Tuesday, January 26, 2016 @ 15:58:34 Author: demize Revision: 158957
upgpkg: python-msgpack 0.4.7-1 Modified: python-msgpack/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-01-26 14:08:10 UTC (rev 158956) +++ PKGBUILD 2016-01-26 14:58:34 UTC (rev 158957) @@ -1,18 +1,23 @@ # $Id$ -# Maintainer: Sébastien "Seblu" Luttringer +# Maintainer: Johannes Löthberg <[email protected]> +# Contributor: Sébastien "Seblu" Luttringer pkgbase=python-msgpack pkgname=('python-msgpack' 'python2-msgpack') -pkgver=0.4.6 -pkgrel=3 +pkgver=0.4.7 +pkgrel=1 + +url='https://github.com/msgpack/msgpack-python' arch=('i686' 'x86_64') -url='https://github.com/msgpack/msgpack-python' license=('Apache') + makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools') checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six') + source=("http://pypi.python.org/packages/source/m/msgpack-python/msgpack-python-$pkgver.tar.gz") -md5sums=('8b317669314cf1bc881716cccdaccb30') +md5sums=('eb2aad1081534ef3a9f32a0ecd350b9b') + build() { cd msgpack-python-$pkgver python setup.py build --build-lib=build/python @@ -21,13 +26,13 @@ sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \; } -#check() { -# cd msgpack-python-$pkgver -# msg2 'python' -# PYTHONPATH=$PWD/build/python py.test test -# msg2 'python2' -# PYTHONPATH=$PWD/build/python2 py.test2 test -#} +check() { + cd msgpack-python-$pkgver + msg2 'python' + PYTHONPATH=$PWD/build/python py.test test + msg2 'python2' + PYTHONPATH=$PWD/build/python2 py.test2 test +} package_python-msgpack() { pkgdesc='MessagePack serializer implementation for Python'
