void-packages/srcpkgs/python-sqlite/template

21 lines
651 B
Bash

# Template file for 'python-sqlite'
pkgname=python-sqlite
version=2.7.0
revision=1
wrksrc="pysqlite-${version}"
build_style=python-module
hostmakedepends="python-devel"
makedepends="sqlite-devel ${hostmakedepends}"
pycompile_module="pysqlite2"
replaces="pysqlite>=0"
short_desc="Python2 DB-API 2.0 interface for SQLite databases"
homepage="https://code.google.com/p/pysqlite/"
license="MIT"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://pypi.python.org/packages/source/p/pysqlite/pysqlite-${version}.tar.gz"
checksum=0ebdb5feff4e55ac02ec046e66c9d4f8fafa18f6d1eb620b4460c2b9300c7486
post_install() {
rm -r ${DESTDIR}/usr/pysqlite*
}