30 lines
751 B
Bash
30 lines
751 B
Bash
|
# Template file for 'python-peewee'
|
||
|
pkgname=python-peewee
|
||
|
version=2.10.2
|
||
|
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=3c745ec22a0e7a315a8a127f9701b6c3edc5eebbc1b229531007c00848ebe853
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|