~dricottone/huttese-apk

ref: 06c053e6cd71ee0fbbf30ff91f1a03bb2b0135e8 huttese-apk/sr.ht/py3-celery/APKBUILD -rw-r--r-- 824 bytes
06c053e6 — Drew DeVault prometheus/alertmanager: new APKBUILD 5 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
29
30
31
32
33
34
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=celery
pkgname=py3-celery
pkgver=4.2.0
pkgrel=0
pkgdesc="Distributed Asyncronous Task Queue"
url="http://celeryproject.org"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
depends="
	py3-amqp
	py3-billiard
	py3-kombu
	py3-tz
	py3-vine
"
source="https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"
# check requires a buttload of dependencies I can't be arsed to package
options="$options !check"

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="ad7d18c318b6383e2a44a03f55f44d30f4d2fb6f3d05529376f0b05cbc28a8acbf3961a8d24a039e46917f439c1679d1f55a5957e4bc9587a6643a5c766ca487  celery-4.2.0.tar.gz"