[arch-commits] Commit in python-amqp/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 20 09:11:27 UTC 2019


    Date: Wednesday, March 20, 2019 @ 09:11:27
  Author: felixonmars
Revision: 442852

archrelease: copy trunk to community-any

Added:
  python-amqp/repos/community-any/PKGBUILD
    (from rev 442851, python-amqp/trunk/PKGBUILD)
Deleted:
  python-amqp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 48 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-20 09:11:08 UTC (rev 442851)
+++ PKGBUILD	2019-03-20 09:11:27 UTC (rev 442852)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: mutantmonkey <aur at mutantmonkey.in>
-
-pkgbase=python-amqp
-pkgname=('python-amqp' 'python2-amqp')
-pkgver=2.4.1
-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-case' 'python2-case' 'python-pytest-sugar' 'python2-pytest-sugar')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/celery/py-amqp/archive/v$pkgver.tar.gz")
-sha512sums=('4c634aa8614fbc1d3cd01786144c0ce8773ab9b2ff6bb6bcf1bc1f7c8f05a5208b9fda3a18f182bad3bd8c8a84fa5640cbd322204e0fab8d389f5b5b872dfe5f')
-
-build() {
-  cd py-amqp-$pkgver
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd py-amqp-$pkgver
-  pytest
-  pytest2
-}
-
-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
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-amqp/repos/community-any/PKGBUILD (from rev 442851, python-amqp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-20 09:11:27 UTC (rev 442852)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mutantmonkey <aur at mutantmonkey.in>
+
+pkgbase=python-amqp
+pkgname=('python-amqp' 'python2-amqp')
+pkgver=2.4.2
+_commit=dfc336d2db69f0e4e8aeda00650c1c5e23b9f93c
+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-case' 'python2-case' 'python-pytest-sugar' 'python2-pytest-sugar')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/celery/py-amqp/archive/$_commit.tar.gz")
+sha512sums=('e820e733293428bfe86f185136060847d99251baa571ec6f106a9d6db01251b8950db4ead815b3df662c72166ffd575afb45389e2c2c19026e43a21e738a15a6')
+
+prepare() {
+  mv py-amqp-{$_commit,$pkgver}
+}
+
+build() {
+  cd py-amqp-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd py-amqp-$pkgver
+  pytest
+  pytest2
+}
+
+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
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list