Date: Saturday, November 16, 2019 @ 18:04:10 Author: felixonmars Revision: 529684
archrelease: copy trunk to community-any Added: python-amqp/repos/community-any/PKGBUILD (from rev 529683, python-amqp/trunk/PKGBUILD) Deleted: python-amqp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-16 18:03:55 UTC (rev 529683) +++ PKGBUILD 2019-11-16 18:04:10 UTC (rev 529684) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: mutantmonkey <a...@mutantmonkey.in> - -pkgname=python-amqp -pkgver=2.5.2 -pkgrel=3 -pkgdesc="Low-level AMQP client for Python (fork of amqplib)" -arch=('any') -url="https://github.com/celery/py-amqp" -license=('LGPL') -depends=('python-vine') -checkdepends=('python-case' 'python-pytest-sugar') -source=("$pkgname-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/$pkgver.tar.gz") -sha512sums=('dfdc337552a0db86a717b1b2a1139eefb4c63c8204ead5e103edd32ffdcdbdfbb4f936acf02eb1cc1d7ff53cbfaa244e795772908e3845e6a2349e4888cc94dd') - -build() { - cd py-amqp-$pkgver - python setup.py build -} - -check() { - cd py-amqp-$pkgver - pytest -} - -package() { - cd py-amqp-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-amqp/repos/community-any/PKGBUILD (from rev 529683, python-amqp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-16 18:04:10 UTC (rev 529684) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: mutantmonkey <a...@mutantmonkey.in> + +pkgname=python-amqp +pkgver=2.5.2 +pkgrel=4 +pkgdesc="Low-level AMQP client for Python (fork of amqplib)" +arch=('any') +url="https://github.com/celery/py-amqp" +license=('LGPL') +depends=('python-vine') +checkdepends=('python-case' 'python-pytest-sugar') +source=("$pkgname-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/$pkgver.tar.gz" + version-fix.patch::https://github.com/celery/py-amqp/commit/6d97ee15b63ba36a283b2ee106ab9caed58c570c.patch) +sha512sums=('dfdc337552a0db86a717b1b2a1139eefb4c63c8204ead5e103edd32ffdcdbdfbb4f936acf02eb1cc1d7ff53cbfaa244e795772908e3845e6a2349e4888cc94dd' + 'b7ac83577efacc7bbe908f9d669a56b2b0408e810e36133c5f58312ccc1c54df7396203ad29f4fb89c07ecce1f5774e5648cdd55c3ba2e7aff7cba0f2f74018f') + +prepare() { + patch -d py-amqp-$pkgver -p1 -i ../version-fix.patch +} + +build() { + cd py-amqp-$pkgver + python setup.py build +} + +check() { + cd py-amqp-$pkgver + pytest +} + +package() { + cd py-amqp-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: