# Template file for 'python3-minidb'
pkgname=python3-minidb
version=2.0.2
revision=1
noarch=yes
wrksrc="minidb-${version}"
build_style=python3-module
pycompile_module="minidb.py"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple SQLite3 store for Python objects"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="ISC"
homepage="https://thp.io/2010/minidb/"
distfiles="https://github.com/thp/minidb/archive/${version}.tar.gz"
checksum=40a1992281dbfb63a90616db328c1babc3aabadd8844fdd676369e8df09d3b9f
replaces="python3.4-minidb>=0"

post_install() {
	sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > COPYING
	vlicense COPYING
}
