void-packages/srcpkgs/python-apsw/template

29 lines
783 B
Bash

# Template file for 'python-apsw'
pkgname=python-apsw
version=3.9.2
revision=1
wrksrc="apsw-${version}-r1"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="python-devel python3.4-devel sqlite-devel"
short_desc="Another Python SQLite Wrapper (Python 2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="https://github.com/rogerbinns/apsw"
distfiles="https://github.com/rogerbinns/apsw/archive/${version}-r1.tar.gz"
checksum=6fae3f701f5cadca47195d814a02cec016f813f35d9d44d39596d293f5067577
post_install() {
vlicense LICENSE
}
python3.4-apsw_package() {
pycompile_version="3.4"
short_desc="${short_desc/Python 2/Python 3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}