blob: 377763bcff82af38775c9395503b9e9ad25a01a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Carl George < arch at cgtx dot us >
_name="asyncpg"
pkgname="python-${_name}"
pkgver="0.10.1"
pkgrel="1"
pkgdesc="An asyncio PosgtreSQL driver"
arch=("i686" "x86_64")
url="https://github.com/MagicStack/${_name}"
license=("Apache")
makedepends=("python-setuptools" "cython")
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('4e9d3c3abdfb7e2bb46ea23d232622a9a2488320c5e8ef49a53c732118f549fa')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py build
}
package() {
depends=("python")
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --optimize=1
}
|