~dricottone/huttese-apk

ref: c64eaa2ceb072af0044d7690e6d4c600bff7e633 huttese-apk/sr.ht/py3-asyncpg/APKBUILD -rw-r--r-- 889 bytes
c64eaa2c — Drew DeVault py3-gitlab: add py3-requests-toolbelt dependency 3 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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-asyncpg
_pyname=asyncpg
pkgver=0.22.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="b953290e10ea408ad67ac28f394bb3aaf84c4e42d136f0af9e2f7befcf03e34faf46ef1806c98099453028963142a6e3bce63ff3cbe118b2026744de2103eb37  asyncpg-0.22.0.tar.gz"