[arch-commits] Commit in python-amqp/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Nov 16 18:03:55 UTC 2019


    Date: Saturday, November 16, 2019 @ 18:03:55
  Author: felixonmars
Revision: 529683

upgpkg: python-amqp 2.5.2-4

fix version

Modified:
  python-amqp/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-16 17:57:15 UTC (rev 529682)
+++ PKGBUILD	2019-11-16 18:03:55 UTC (rev 529683)
@@ -3,7 +3,7 @@
 
 pkgname=python-amqp
 pkgver=2.5.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Low-level AMQP client for Python (fork of amqplib)"
 arch=('any')
 url="https://github.com/celery/py-amqp"
@@ -10,9 +10,15 @@
 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')
+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



More information about the arch-commits mailing list