aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-apsw/APKBUILD
blob: 20a96f30bc3deb2745541830a4e7802d263e1b35 (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
25
26
27
28
29
30
31
32
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-apsw
_pkgname=apsw
pkgver=3.28.0
_pkgrel=r1
pkgrel=1
pkgdesc="Another Python SQLite Wrapper"
url="https://github.com/rogerbinns/apsw"
arch="all"
license="Zlib"
depends="python3"
makedepends="python3-dev py3-setuptools sqlite-dev"
source="$pkgname-$pkgver-$_pkgrel.tar.gz::https://github.com/rogerbinns/apsw/archive/$pkgver-$_pkgrel.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver-$_pkgrel"

replaces=py-apsw # Backwards compatibility
provides=py-apsw=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="7c7fa277b78ef99823c854dd073ca8d572f682742858063730d81b5dd3b9edb3bbb60a96e6b74cb84781649728a141a0f192db91c2bfcb9e7e9b9e3f47de1df3  py3-apsw-3.28.0-r1.tar.gz"