void-packages/srcpkgs/python-sqlite/template

21 lines
648 B
Bash

# Template file for 'python-sqlite'
pkgname=python-sqlite
version=2.6.3
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@gmail.com>"
distfiles="https://pypi.python.org/packages/source/p/pysqlite/pysqlite-${version}.tar.gz"
checksum=fe9c35216bf56c858b34c4b4c8be7e34566ddef29670e5a5b43f9cb8ecfbb28d
post_install() {
rm -r ${DESTDIR}/usr/pysqlite*
}