~dricottone/huttese-apk

ref: d98b3b34688f9a6457427c93aac496f60c0a05e1 huttese-apk/sr.ht/py3-celery/APKBUILD -rw-r--r-- 804 bytes
d98b3b34 — Drew DeVault Move into subdir for abuild reasons 7 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
# 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"