~dricottone/huttese-apk

ref: d457da279515f2698192c6d58413a13692c4bdff huttese-apk/sr.ht/py3-amqp/APKBUILD -rw-r--r-- 746 bytes
d457da27 — Drew DeVault todo.sr.ht: add go to makedeps 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-amqp
_pyname=amqp
pkgver=5.0.5
pkgrel=0
pkgdesc="Low-level AMQP client for Python"
url="https://github.com/celery/py-amqp"
arch="noarch"
license="LGPL"
depends="python3 py3-vine"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="5af642ea9ecffaa5124af6fc9d435929ba0fb31f6735bbefb93329d817a5b39f1a6ed1ed1e920d8875dea3d88e50d8ce8cbc8b9bf91016681e690ccf0bbdf6fd  amqp-5.0.5.tar.gz"