mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
36 lines
849 B
Text
36 lines
849 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=py3-cattrs
|
|
pkgver=22.2.0
|
|
pkgrel=0
|
|
pkgdesc="Complex custom class converters for attrs"
|
|
url="https://github.com/python-attrs/cattrs"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-attrs"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-poetry-core
|
|
"
|
|
options="!check" # loads of missing deps
|
|
source="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-$pkgver.tar.gz"
|
|
builddir="$srcdir/cattrs-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
688b227e568ca928b195e0c450a8d159e52dcd82315504f69d44606943340111269ec14fa7f78a1d30535b2821a9d3b4bbabea0a85e8cb0db9e956d3e07dac06 cattrs-22.2.0.tar.gz
|
|
"
|