27 lines
839 B
Bash
27 lines
839 B
Bash
# Template file for 'python3-apsw'
|
|
pkgname=python3-apsw
|
|
version=3.39.3.0
|
|
revision=3
|
|
build_style=python3-module
|
|
make_build_args="--enable=load_extension"
|
|
hostmakedepends="python3-devel python3-setuptools"
|
|
makedepends="python3-devel sqlite-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest $makedepends"
|
|
short_desc="Another Python SQLite Wrapper (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=d77db87e95db944b3e21cc73a3d359327e5dd1a7f9146f290379b2356ec42f9b
|
|
make_check=no # no test shipped
|
|
|
|
pre_check() {
|
|
$CC $CFLAGS -fPIC -shared -o ./testextension.sqlext src/testextension.c
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|