2018-01-03 01:47:58 +01:00
|
|
|
# Template file for 'python-peewee'
|
|
|
|
pkgname=python-peewee
|
2018-04-23 06:56:33 +02:00
|
|
|
version=3.2.5
|
2018-01-03 01:47:58 +01:00
|
|
|
revision=1
|
|
|
|
wrksrc="peewee-${version}"
|
|
|
|
build_style=python-module
|
2018-04-23 06:56:33 +02:00
|
|
|
pycompile_module="peewee"
|
2018-01-03 01:47:58 +01:00
|
|
|
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"
|
2018-04-23 06:56:33 +02:00
|
|
|
checksum=7fb69135fb8d7f5e6e9098fcd27320e4bbde37288695ad5c99b3f46b4e2314e6
|
2018-03-27 05:30:33 +02:00
|
|
|
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
|
2018-04-23 06:56:33 +02:00
|
|
|
noarch=yes
|
2018-01-03 01:47:58 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-peewee_package() {
|
2018-03-27 05:30:33 +02:00
|
|
|
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
|
2018-01-03 01:47:58 +01:00
|
|
|
noarch=yes
|
|
|
|
pycompile_module="peewee"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
2018-03-27 05:30:33 +02:00
|
|
|
vmove usr/bin/*3
|
2018-01-03 01:47:58 +01:00
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
}
|