~dricottone/huttese-apk

ref: ba4d735606a11966e87646d95c91dffc6ec371c1 huttese-apk/sr.ht/py3-amqp/APKBUILD -rw-r--r-- 746 bytes
ba4d7356 — Drew DeVault todo.sr.ht: add API service 3 years ago
                                                                                
1702be43 Drew DeVault
f9216d16 Drew DeVault
3118ab01 Drew DeVault
0816248b Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 Drew DeVault
3118ab01 Drew DeVault
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"