mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=py3-peewee
|
|
pkgver=3.17.3
|
|
pkgrel=0
|
|
pkgdesc="Small, expressive ORM"
|
|
url="https://github.com/coleifer/peewee"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="
|
|
cython
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
python3-dev
|
|
sqlite-dev
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/coleifer/peewee/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/peewee-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d7d0c716c1b6600275c151894ea8738c3393e554627ae4d8cf0d52548be99cfaf31e5553f51762cedc7f9e66a779ddef60d305a3797e3db71ac1a2178bb45468 py3-peewee-3.17.3.tar.gz
|
|
"
|