void-packages/srcpkgs/python-sqlite/template

21 lines
624 B
Bash

# Template file for 'python-sqlite'
pkgname=python-sqlite
version=2.8.1
revision=1
wrksrc="pysqlite-${version}"
build_style=python-module
hostmakedepends="python-devel"
makedepends="sqlite-devel ${hostmakedepends}"
pycompile_module="pysqlite2"
short_desc="Python2 DB-API 2.0 interface for SQLite 3.x databases"
homepage="https://github.com/ghaering/pysqlite"
license="MIT"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${PYPI_SITE}/p/pysqlite/pysqlite-${version}.tar.gz"
checksum=75cae18f9646f2a6137e1fb5302dba674b6982eeab3a2829377e98b13cfea066
post_install() {
rm -r ${DESTDIR}/usr/pysqlite*
vlicense LICENSE
}