38 lines
1,003 B
Text
38 lines
1,003 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.18.5
|
|
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="
|
|
46ddfb81281a9c619370f252f5a189b33a9f36934891a18a915897d2a1870c53938f8afb56b2eda3c5ac6bd2e39fcbba0a94955db0847302bd58458079880525 py3-ruamel-yaml-0.18.5.tar.gz
|
|
"
|