~dricottone/huttese-apk

ref: 1702be438314219539df8fe2f0cbceab65a7c43c huttese-apk/py3-kombu/APKBUILD -rw-r--r-- 786 bytes
1702be43 — Drew DeVault Fix celery and finish builds.sr.ht package 6 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=kombu
pkgname=py3-kombu
pkgver=4.1.0
pkgrel=1
pkgdesc="A messaging library for Python"
url="http://kombu.readthedocs.org"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools py3-amqp"
source="https://files.pythonhosted.org/packages/source/k/${_name}/${_name}-${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="fc104a3f974fabf090cc257b1a7623af6048f4630c6c2a9bb693fe69d77b6cdab36135a290a41056c1f854f61cce8fc2aa6b7880e9273581bfdfa162b5724861  kombu-4.1.0.tar.gz"