2021-06-14 19:51:52 +00:00
|
|
|
# Description: a little orm
|
|
|
|
# URL: https://pypi.python.org/pypi/peewee/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-cython
|
|
|
|
|
|
|
|
name=python3-peewee
|
2023-04-22 11:16:31 +02:00
|
|
|
version=3.16.2
|
2023-07-23 17:03:07 +02:00
|
|
|
release=2
|
|
|
|
source=(https://github.com/coleifer/peewee/archive/$version/$name-$version.tar.gz
|
|
|
|
83c6b78bd5df2c8c942f4fc32c4daedde01e8a63.patch)
|
2021-06-14 19:51:52 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd peewee-$version
|
2023-07-23 17:03:07 +02:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/83c6b78bd5df2c8c942f4fc32c4daedde01e8a63.patch
|
|
|
|
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2021-06-14 19:51:52 +00:00
|
|
|
}
|