~dricottone/huttese-apk

ref: 9c2c40422da91027c5de63b7fca82578d8945f1c huttese-apk/sr.ht/py3-amqp/APKBUILD -rw-r--r-- 746 bytes
9c2c4042 — Drew DeVault Re-introduce packages from community 3 years ago
                                                                                
1702be43 Drew DeVault
f9216d16 Drew DeVault
85f98dad Drew DeVault
d4445a3e Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
1702be43 Drew DeVault
85f98dad 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.2
pkgrel=1
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="f2cb4d6c0975c39867cd6f777f2e29ea22afdb6c6c092f4767c5629fd255093e233da5673356aac74b53916d05539c40f558f6e35b1837901e546796dfd1f67b  amqp-5.0.2.tar.gz"