mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 16:14:15 +02:00
Build with gpep517 and disable check due to no test files. Resolves build error due to removed `setup.py test` command. ``` 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
30 lines
942 B
Text
30 lines
942 B
Text
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
|
pkgname=py3-betamax_serializers
|
|
pkgver=0.2.1
|
|
pkgrel=7
|
|
pkgdesc="A collection of serializers that may eventually be included in betamax"
|
|
url="https://gitlab.com/betamax/serializers"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3 py3-yaml py3-betamax"
|
|
makedepends="py3-gpep517 py3-setuptools"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/betamax/serializers/-/archive/$pkgver/serializers-$pkgver.tar.gz"
|
|
builddir="$srcdir/serializers-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
64821be8a3166fdb7c452d9586bddd044accc94d7480fca48d45897f56cac1cc26f8c6bb0e2a7790141a761be8b0d82d042bdee437094413dcec6a9876a7ebc2 py3-betamax_serializers-0.2.1.tar.gz
|
|
"
|