mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 14:04:43 +02:00
Switch to gpep517 and disable check due to failed tests. Upstream repo has been archived on 2024-08-09. Resolves check error due to removed `setup.py test` command, which was deprecated in setuptools 72.0.0. ``` usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'test' ``` Ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/17110
36 lines
906 B
Text
36 lines
906 B
Text
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=py3-kitchen
|
|
_pyname=kitchen
|
|
pkgver=1.2.6
|
|
pkgrel=6
|
|
pkgdesc="Useful snippets of python code"
|
|
url="https://github.com/fedora-infra/kitchen"
|
|
arch="noarch"
|
|
license="LGPL-2.1-only"
|
|
depends="python3"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
checkdepends="py3-nose"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
options="!check" # 17 failed tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
./runtests.sh
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
215d9e1f64b2f10362ecc434999b27607ecf091c8abe317f47b8607d82a45a63ba2cdfaef8b560e38c82a5e4ab270bb9b5283f957e8a66423fd93e9b83ed0123 kitchen-1.2.6.tar.gz
|
|
"
|