mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-20 23:32:47 +01:00
35 lines
939 B
Plaintext
35 lines
939 B
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-apsw
|
|
_pkgname=apsw
|
|
pkgver=3.38.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="
|
|
4d161641d7bf7f933507e7d7e71d437d9db95f7327e29cf34848d9b741e2711dafbefbf19cb34d78d83b4e69115acad855f924fdf80de1cea4c9d61fe0f2b670 py3-apsw-3.38.1-r1.tar.gz
|
|
"
|