void-packages/srcpkgs/python3-peewee/template
2021-05-17 21:40:26 +02:00

22 lines
809 B
Bash

# Template file for 'python3-peewee'
pkgname=python3-peewee
version=3.14.4
revision=1
wrksrc="peewee-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel sqlite-devel"
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=cded912439699a63704fcad36ee15093bbf3cca502beb9ae648423f8722178c2
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
}