30 lines
853 B
Bash
30 lines
853 B
Bash
# Template file for 'python-apsw'
|
|
pkgname=python-apsw
|
|
_distver=3.30.1
|
|
_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 <bra1nwave@protonmail.com>"
|
|
license="Zlib"
|
|
homepage="https://github.com/rogerbinns/apsw"
|
|
changelog="https://raw.githubusercontent.com/rogerbinns/apsw/master/doc/changes.rst"
|
|
distfiles="${homepage}/archive/${_distver}-${_patchver}.tar.gz"
|
|
checksum=5b7adbc5aa6bc0b186d32ff813a1248817470da78dc9ebf4efc4ff0b475372dd
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-apsw_package() {
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
vlicense LICENSE
|
|
}
|
|
}
|