ayaports/testing/py3-ruamel-yaml/APKBUILD

38 lines
1,005 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-ruamel-yaml
_pyname="ruamel.yaml"
pkgver=0.17.35
pkgrel=0
arch="noarch"
pkgdesc="AML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends="
py3-ruamel-yaml-clib
"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
f26132659bff1c1b0b7013cba5e9c575dd0af4ac0a3cb35b422bd0bde2987eda0e103c5dd2e8d8ecd1b89023048baebeea6f3e42c7ef32a983081172eb490d5d py3-ruamel-yaml-0.17.35.tar.gz
"