35 lines
966 B
Bash
35 lines
966 B
Bash
# Template file for 'python-apsw'
|
|
pkgname=python-apsw
|
|
_distver=3.15.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="MIT"
|
|
homepage="https://github.com/rogerbinns/apsw"
|
|
distfiles="${homepage}/archive/${_distver}-${_patchver}.tar.gz"
|
|
checksum=a932a49bcd00f9e6dab3cf4891676a7ceac9b3ff63d6ea8d6e766fee6ffbf701
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-apsw_package() {
|
|
replaces="python3.4-apsw>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-apsw_package() {
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-apsw>=${version}_${revision}"
|
|
}
|