vp-build/srcpkgs/python-sqlite/template

21 lines
627 B
Bash

# Template file for 'python-sqlite'
pkgname=python-sqlite
version=2.8.3
revision=1
wrksrc="pysqlite-${version}"
build_style=python2-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="zlib"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${PYPI_SITE}/p/pysqlite/pysqlite-${version}.tar.gz"
checksum=17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490
post_install() {
rm -rf ${DESTDIR}/usr/pysqlite*
vlicense LICENSE
}