void-packages/srcpkgs/python-peewee/template

30 lines
750 B
Bash
Raw Normal View History

2018-01-03 01:47:58 +01:00
# Template file for 'python-peewee'
pkgname=python-peewee
version=3.1.2
2018-01-03 01:47:58 +01:00
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=e04ec0d6052d50b960893bffe316355238359afc26b7dbbc699b4edfa9205b97
2018-01-03 01:47:58 +01:00
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
}
}