void-packages/srcpkgs/python-peewee/template
johannes cc1ce0462c
python-peewee: update to 3.2.4.
Closes: #13121 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-21 16:09:33 +02:00

32 lines
860 B
Bash

# Template file for 'python-peewee'
pkgname=python-peewee
version=3.2.4
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=2363000a8ace228b8125aa88a403e5b04a24eeecaa05052584a153d8914cbdc6
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
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
}
}