~dricottone/huttese-apk

ref: 31f4ccfbc18c96bdae8e21cc289c0d43127853ae huttese-apk/sr.ht/py3-amqp/APKBUILD -rw-r--r-- 746 bytes
31f4ccfb — Drew DeVault sr.ht/py3-arrow: update to 0.15.4 4 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=2.5.2
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="c540ce39c06bb947e55b4afc56567d5fc5a82b65a2f7e2cc1f769f96da74f788d14e1e9c02852a259a4980c36a4524f07166686c0357f96219fd9f8612a6159a  amqp-2.5.2.tar.gz"