void-packages/srcpkgs/python3-peewee/template

23 lines
817 B
Bash

# Template file for 'python3-peewee'
pkgname=python3-peewee
version=3.17.6
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython0.29"
makedepends="python3-devel sqlite-devel"
depends="python3"
short_desc="Small and simple ORM for Python3"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="MIT"
homepage="https://github.com/coleifer/peewee"
changelog="https://raw.githubusercontent.com/coleifer/peewee/master/CHANGELOG.md"
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
checksum=81c7c88f17141d653009f1ac63438b919dc3c86ce38f6dc06a0b9ff99e90cb62
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
make_check=no # tests require postgres instance
post_install() {
mv $DESTDIR/usr/bin/pwiz.py $DESTDIR/usr/bin/pwiz.py3
vlicense LICENSE
}