~dricottone/huttese-apk

ref: 16f8aec1ab361fa87fccce2a3c71edd57fba0ad7 huttese-apk/sr.ht/py3-asyncpg/APKBUILD -rw-r--r-- 889 bytes
16f8aec1 — Drew DeVault sr.ht/py3-asyncpg: update to 0.20.0 5 years ago
                                                                                
cb4c58b7 Drew DeVault
16f8aec1 Drew DeVault
cb4c58b7 Drew DeVault
16f8aec1 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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-asyncpg
_pyname=asyncpg
pkgver=0.20.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="1368a9b5b206a38c104bf6525714c6468f416f84bb7062736338576e360d08101fbdd4417eda0b52ee300674542201269ebe48df6fd613a14855a75edb6ec5b1  asyncpg-0.20.0.tar.gz"