Date: Sunday, May 27, 2018 @ 14:16:30 Author: felixonmars Revision: 331859
archrelease: copy trunk to community-any Added: python-amqp/repos/community-any/PKGBUILD (from rev 331858, python-amqp/trunk/PKGBUILD) Deleted: python-amqp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-27 14:16:02 UTC (rev 331858) +++ PKGBUILD 2018-05-27 14:16:30 UTC (rev 331859) @@ -1,52 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: mutantmonkey <a...@mutantmonkey.in> - -pkgbase=python-amqp -pkgname=('python-amqp' 'python2-amqp') -pkgver=2.2.2 -pkgrel=1 -pkgdesc="Low-level AMQP client for Python (fork of amqplib)" -arch=('any') -url="https://github.com/celery/py-amqp" -license=('LGPL') -makedepends=('python-vine' 'python2-vine') -checkdepends=('python-pytest-runner' 'python2-pytest-runner') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/v$pkgver.tar.gz") -sha512sums=('62f60236da9c9a38cc0e63bf08cb52f940c62350fbe1b6dc690e008b61637294541893392470f9a1839cc8bcb6d27a6608c028ec9a23b198936b3a37d6b0d234') - -prepare() { - cp -a py-amqp-$pkgver{,-py2} -} - -build() { - cd "$srcdir"/py-amqp-$pkgver - python setup.py build - - cd "$srcdir"/py-amqp-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/py-amqp-$pkgver - python setup.py pytest - - cd "$srcdir"/py-amqp-$pkgver-py2 - python2 setup.py pytest -} - -package_python-amqp() { - depends=('python-vine') - - cd py-amqp-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-amqp() { - depends=('python2-vine') - - cd py-amqp-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-amqp/repos/community-any/PKGBUILD (from rev 331858, python-amqp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-27 14:16:30 UTC (rev 331859) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: mutantmonkey <a...@mutantmonkey.in> + +pkgbase=python-amqp +pkgname=('python-amqp' 'python2-amqp') +pkgver=2.3.0 +pkgrel=1 +pkgdesc="Low-level AMQP client for Python (fork of amqplib)" +arch=('any') +url="https://github.com/celery/py-amqp" +license=('LGPL') +makedepends=('python-vine' 'python2-vine') +checkdepends=('python-pytest-runner' 'python2-pytest-runner') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/v$pkgver.tar.gz") +sha512sums=('6d12bd6cd7d4ca0cd756e8d434a29371f67e107c6bab602527c414ffeb650bafd163d1615afe625b08af1b144095a4ea4cf47eb68ae399887b974ff0d8614400') + +prepare() { + cp -a py-amqp-$pkgver{,-py2} +} + +build() { + cd "$srcdir"/py-amqp-$pkgver + python setup.py build + + cd "$srcdir"/py-amqp-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/py-amqp-$pkgver + python setup.py pytest + + cd "$srcdir"/py-amqp-$pkgver-py2 + python2 setup.py pytest +} + +package_python-amqp() { + depends=('python-vine') + + cd py-amqp-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-amqp() { + depends=('python2-vine') + + cd py-amqp-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: