Date: Saturday, February 17, 2018 @ 01:32:44 Author: demize Revision: 295283
archrelease: copy trunk to community-x86_64 Added: python-msgpack/repos/community-x86_64/PKGBUILD (from rev 295282, python-msgpack/trunk/PKGBUILD) Deleted: python-msgpack/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 110 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-17 01:32:36 UTC (rev 295282) +++ PKGBUILD 2018-02-17 01:32:44 UTC (rev 295283) @@ -1,55 +0,0 @@ -# $Id$ -# Maintainer: Johannes Löthberg <johan...@kyriasis.com> -# Contributor: Sébastien "Seblu" Luttringer - -pkgbase=python-msgpack -pkgname=('python-msgpack' 'python2-msgpack') -pkgver=0.5.1 -pkgrel=1 - -url='https://github.com/msgpack/msgpack-python' -arch=('x86_64') -license=('Apache') - -makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools') -checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six') - -source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/$pkgver.tar.gz) - -md5sums=('85e6df45c1ed31b6d15fe0564d288949') - -build() { - cd msgpack-python-$pkgver - python setup.py build --build-lib=build/python - python2 setup.py build --build-lib=build/python2 - find build/python2 -type f -exec \ - 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 -} - -package_python-msgpack() { - pkgdesc='MessagePack serializer implementation for Python' - depends=('python') - - cd msgpack-python-$pkgver - python setup.py build --build-lib=build/python \ - install --root="$pkgdir" --optimize=1 -} - -package_python2-msgpack() { - pkgdesc='MessagePack serializer implementation for Python2' - depends=('python2') - - cd msgpack-python-$pkgver - python2 setup.py build --build-lib=build/python2 \ - install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-msgpack/repos/community-x86_64/PKGBUILD (from rev 295282, python-msgpack/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-17 01:32:44 UTC (rev 295283) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Sébastien "Seblu" Luttringer + +pkgbase=python-msgpack +pkgname=('python-msgpack' 'python2-msgpack') +pkgver=0.5.4 +pkgrel=1 + +url='https://github.com/msgpack/msgpack-python' +arch=('x86_64') +license=('Apache') + +makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools') +checkdepends=('python-pytest' 'python2-pytest' 'python-six' 'python2-six') + +source=(msgpack-python-$pkgver.tar.gz::https://github.com/msgpack/msgpack-python/archive/$pkgver.tar.gz) + +md5sums=('aa8943bd4f13cdd9f52a666a5c5b8a4a') + +build() { + cd msgpack-python-$pkgver + python setup.py build --build-lib=build/python + python2 setup.py build --build-lib=build/python2 + find build/python2 -type f -exec \ + 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 +} + +package_python-msgpack() { + pkgdesc='MessagePack serializer implementation for Python' + depends=('python') + + cd msgpack-python-$pkgver + python setup.py build --build-lib=build/python \ + install --root="$pkgdir" --optimize=1 +} + +package_python2-msgpack() { + pkgdesc='MessagePack serializer implementation for Python2' + depends=('python2') + + cd msgpack-python-$pkgver + python2 setup.py build --build-lib=build/python2 \ + install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: