void-packages/srcpkgs/python-apsw/template

30 lines
801 B
Bash
Raw Normal View History

2016-01-19 09:56:53 +00:00
# Template file for 'python-apsw'
pkgname=python-apsw
2016-06-18 08:12:23 +00:00
_distver=3.13.0
2016-03-07 16:23:56 +00:00
_patchver=r1
version=${_distver}${_patchver}
2016-01-19 09:56:53 +00:00
revision=1
2016-03-07 16:23:56 +00:00
wrksrc="apsw-${_distver}-${_patchver}"
2016-01-19 09:56:53 +00:00
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="python-devel python3.4-devel sqlite-devel"
2016-02-25 22:02:12 +00:00
short_desc="Another Python SQLite Wrapper (Python2)"
2016-01-19 09:56:53 +00:00
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT"
homepage="https://github.com/rogerbinns/apsw"
2016-06-18 08:12:23 +00:00
distfiles="${homepage}/archive/${_distver}-${_patchver}.tar.gz"
checksum=de096149be32716e9c5dda2d1f20d59bb0609504c66c68e0ea9a3bf9953085f0
2016-01-19 09:56:53 +00:00
post_install() {
vlicense LICENSE
}
python3.4-apsw_package() {
2016-02-25 22:02:12 +00:00
short_desc="${short_desc/Python2/Python3.4}"
2016-01-19 09:56:53 +00:00
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}