aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-apsw/APKBUILD
blob: a14b1b56dc1c5c73b6999be5ee05465fc60df74c (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.30.1
_pkgrel=r1
pkgrel=0
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="4613acb23bc89ebde14b31d52c23136991e66b348f75e0e838c398e73d73fd92323324b7547a30294b1762d4575347410f1626742c09462676d4901ea45893c2  py3-apsw-3.30.1-r1.tar.gz"