~dricottone/huttese-apk

ref: 1702be438314219539df8fe2f0cbceab65a7c43c huttese-apk/py3-celery/APKBUILD -rw-r--r-- 804 bytes
1702be43 — Drew DeVault Fix celery and finish builds.sr.ht package 7 years ago
                                                                                
2effb6a1 Drew DeVault
1702be43 Drew DeVault
2effb6a1 Drew DeVault
1702be43 Drew DeVault
2effb6a1 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
29
30
31
32
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=celery
pkgname=py3-celery
pkgver=4.1.0
pkgrel=1
pkgdesc="Distributed Asyncronous Task Queue"
url="http://celeryproject.org"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
depends="
	py3-billiard
	py3-tz
	py3-kombu
"
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="5232adc43ba55d01f2b030382075750033e0c5c2abdc8308903e0cef7a465513b7765e2ae495da6555b377452ae233500530ef9d57e584a5352a54c5f4731c64  celery-4.1.0.tar.gz"