ayaports/testing/py3-ruamel-yaml-clib/APKBUILD

35 lines
934 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-ruamel-yaml-clib
_pyname="ruamel.yaml.clib"
pkgver=0.2.8
pkgrel=0
arch="all"
pkgdesc="C version of reader, parser and emitter for ruamel.yaml derived from libyaml"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
makedepends="
py3-gpep517
py3-setuptools
py3-wheel
python3-dev
"
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
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
1984d1f46f9d98c178315d1aad27d02fe3a228fbe4a2f4e68729b850c1ebe08ff0ef2fab38841296a2ac0a1f8a0bf7231ab8d7972a9a39a260ea773457f1393b py3-ruamel-yaml-clib-0.2.8.tar.gz
"