void-packages/srcpkgs/python-peewee/template

30 lines
750 B
Bash

# Template file for 'python-peewee'
pkgname=python-peewee
version=3.1.5
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=902d5643f4ee343a11bc9600bce9bc7e55d9fc16cdd3647177a65af78cafe5fc
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
}
}