Files
void-packages/srcpkgs/python-peewee/template
johannes 6cf51633eb python-peewee: update to 3.3.4.
Closes #14452.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-17 14:31:03 +02:00

33 lines
860 B
Bash

# Template file for 'python-peewee'
pkgname=python-peewee
version=3.3.4
revision=1
wrksrc="peewee-${version}"
build_style=python-module
pycompile_module="peewee"
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=b36f4aec9b29bc97237588534b020a4bc6c401986cc918be731490f28e05764e
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
noarch=yes
post_install() {
vlicense LICENSE
}
python3-peewee_package() {
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
noarch=yes
pycompile_module="peewee"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}