python3-apsw: update to 3.39.3.0.

This commit is contained in:
Đoàn Trần Công Danh 2022-09-22 21:47:36 +07:00
parent b1b758ad21
commit 4d972fd472
1 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'python3-apsw'
pkgname=python3-apsw
version=3.36.0r1
revision=3
version=3.39.3.0
revision=1
wrksrc="apsw-${version/r/-r}"
build_style=python3-module
make_build_args="--enable=load_extension"
hostmakedepends="python3-devel"
hostmakedepends="python3-devel python3-setuptools"
makedepends="python3-devel sqlite-devel"
depends="python3"
checkdepends="python3-pytest $makedepends"
@ -15,16 +15,13 @@ license="Zlib"
homepage="https://github.com/rogerbinns/apsw"
changelog="https://raw.githubusercontent.com/rogerbinns/apsw/master/doc/changes.rst"
distfiles="${homepage}/archive/${version/r/-r}.tar.gz"
checksum=133ee2291851e0144661eba25517c7feb026c6d5896df90ef7ea0feddf03a842
checksum=d77db87e95db944b3e21cc73a3d359327e5dd1a7f9146f290379b2356ec42f9b
make_check=no # no test shipped
pre_check() {
$CC $CFLAGS -fPIC -shared -o ./testextension.sqlext src/testextension.c
}
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 ./tests.py
}
post_install() {
vlicense LICENSE
}