mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
python3-apsw: update to 3.39.3.0.
This commit is contained in:
parent
b1b758ad21
commit
4d972fd472
1 changed files with 5 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'python3-apsw'
|
# Template file for 'python3-apsw'
|
||||||
pkgname=python3-apsw
|
pkgname=python3-apsw
|
||||||
version=3.36.0r1
|
version=3.39.3.0
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="apsw-${version/r/-r}"
|
wrksrc="apsw-${version/r/-r}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
make_build_args="--enable=load_extension"
|
make_build_args="--enable=load_extension"
|
||||||
hostmakedepends="python3-devel"
|
hostmakedepends="python3-devel python3-setuptools"
|
||||||
makedepends="python3-devel sqlite-devel"
|
makedepends="python3-devel sqlite-devel"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest $makedepends"
|
checkdepends="python3-pytest $makedepends"
|
||||||
|
@ -15,16 +15,13 @@ license="Zlib"
|
||||||
homepage="https://github.com/rogerbinns/apsw"
|
homepage="https://github.com/rogerbinns/apsw"
|
||||||
changelog="https://raw.githubusercontent.com/rogerbinns/apsw/master/doc/changes.rst"
|
changelog="https://raw.githubusercontent.com/rogerbinns/apsw/master/doc/changes.rst"
|
||||||
distfiles="${homepage}/archive/${version/r/-r}.tar.gz"
|
distfiles="${homepage}/archive/${version/r/-r}.tar.gz"
|
||||||
checksum=133ee2291851e0144661eba25517c7feb026c6d5896df90ef7ea0feddf03a842
|
checksum=d77db87e95db944b3e21cc73a3d359327e5dd1a7f9146f290379b2356ec42f9b
|
||||||
|
make_check=no # no test shipped
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
$CC $CFLAGS -fPIC -shared -o ./testextension.sqlext src/testextension.c
|
$CC $CFLAGS -fPIC -shared -o ./testextension.sqlext src/testextension.c
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
|
||||||
PYTHONPATH="$(cd build/lib* && pwd)" python3 ./tests.py
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue