mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
python3-apsw: update to 3.36.0r1 and build with --enable=load_extension
This commit is contained in:
parent
819564a425
commit
ced1b8f723
1 changed files with 10 additions and 4 deletions
|
@ -1,21 +1,27 @@
|
||||||
# Template file for 'python3-apsw'
|
# Template file for 'python3-apsw'
|
||||||
pkgname=python3-apsw
|
pkgname=python3-apsw
|
||||||
version=3.32.2r1
|
version=3.36.0r1
|
||||||
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"
|
||||||
hostmakedepends="python3-devel"
|
hostmakedepends="python3-devel"
|
||||||
makedepends="python3-devel sqlite-devel"
|
makedepends="python3-devel sqlite-devel"
|
||||||
|
checkdepends="python3-pytest $makedepends"
|
||||||
short_desc="Another Python SQLite Wrapper (Python3)"
|
short_desc="Another Python SQLite Wrapper (Python3)"
|
||||||
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
||||||
license="Zlib"
|
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=33f3ccfd8a7537dccef2caeb8cc06e26f300f1cf547c22c4e8ec8dcfecb72aa0
|
checksum=133ee2291851e0144661eba25517c7feb026c6d5896df90ef7ea0feddf03a842
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
export PYTHONPATH=$(cd build/lib* && pwd)
|
$CC $CFLAGS -fPIC -shared -o ./testextension.sqlext src/testextension.c
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
PYTHONPATH="$(cd build/lib* && pwd)" python3 ./tests.py
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue