~dricottone/huttese-apk

ref: 9c1c6927ed80fd40dcc08fb241d0cc5c8fdcae48 huttese-apk/sr.ht/py3-asyncpg/APKBUILD -rw-r--r-- 891 bytes
9c1c6927 — Drew DeVault py3-asyncpg: upgrade to 0.24.0 3 years ago
                                                                                
cb4c58b7 Drew DeVault
9c1c6927 Drew DeVault
cb4c58b7 Drew DeVault
29b85ff8 Drew DeVault
9c1c6927 Drew DeVault
29b85ff8 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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-asyncpg
_pyname=asyncpg
pkgver=0.24.0
pkgrel=0
pkgdesc="An asyncio PostgreSQL driver"
url="https://github.com/MagicStack/asyncpg"
arch="all"
license="Apache-2.0"
makedepends="python3-dev py3-setuptools cython cython-dev"
checkdepends="postgresql postgresql-contrib postgresql-dev"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-asyncpg"
builddir="$srcdir"/$_pyname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
170a093dc608eb9c1920fd545610ccf00a03b3db4b747313d39640f45cc024b9e0146530d45f0aeb5687c1d968ca4c727760652cb67050ba3d44ea94261b9652  asyncpg-0.24.0.tar.gz
"