# Template file for 'python-peewee'
pkgname=python-peewee
version=3.1.2
revision=1
noarch=yes
pycompile_module="peewee"
wrksrc="peewee-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Small and simple ORM for Python2"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="MIT"
homepage="https://github.com/coleifer/peewee"
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
checksum=e04ec0d6052d50b960893bffe316355238359afc26b7dbbc699b4edfa9205b97

post_install() {
	vlicense LICENSE
}

python3-peewee_package() {
	noarch=yes
	pycompile_module="peewee"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
