~dricottone/huttese-apk

ref: f26e327f64d7eb57decdd2d57f07bf2d3da1baba huttese-apk/sr.ht/py3-kombu/APKBUILD -rw-r--r-- 786 bytes
f26e327f — Drew DeVault Initial pass on todo.sr.ht package 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=kombu
pkgname=py3-kombu
pkgver=4.1.0
pkgrel=0
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"