void-packages/srcpkgs/python-apsw/template
2018-07-23 20:58:23 +02:00

28 lines
767 B
Bash

# Template file for 'python-apsw'
pkgname=python-apsw
_distver=3.24.0
_patchver=r1
version=${_distver}${_patchver}
revision=1
wrksrc="apsw-${_distver}-${_patchver}"
build_style=python-module
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel sqlite-devel"
short_desc="Another Python SQLite Wrapper (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="Zlib"
homepage="https://github.com/rogerbinns/apsw"
distfiles="${homepage}/archive/${_distver}-${_patchver}.tar.gz"
checksum=d9769daba2112aec7f46b807097818f68f03a9aaac61dd1e4bb0cc4167f8d29d
post_install() {
vlicense LICENSE
}
python3-apsw_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}