2023-01-10 19:12:28 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-11-30 21:44:44 +00:00
|
|
|
|
2023-01-10 19:12:28 +00:00
|
|
|
pkgname=py3-ruamel-yaml-clib
|
|
|
|
_pyname="ruamel.yaml.clib"
|
2023-11-24 22:48:01 +00:00
|
|
|
pkgver=0.2.8
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="all"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="C version of reader, parser and emitter for ruamel.yaml derived from libyaml"
|
2023-01-10 19:12:28 +00:00
|
|
|
url="https://pypi.python.org/project/$_pyname"
|
2021-11-30 21:44:44 +00:00
|
|
|
license="MIT"
|
2023-08-30 17:55:41 +00:00
|
|
|
makedepends="
|
|
|
|
py3-gpep517
|
2023-11-24 22:48:01 +00:00
|
|
|
py3-setuptools
|
2023-08-30 17:55:41 +00:00
|
|
|
py3-wheel
|
|
|
|
python3-dev
|
|
|
|
"
|
2023-01-10 19:12:28 +00:00
|
|
|
options="!check" # No testsuite
|
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
2021-11-30 21:44:44 +00:00
|
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
2023-08-30 17:55:41 +00:00
|
|
|
gpep517 build-wheel \
|
2023-11-24 22:48:01 +00:00
|
|
|
--wheel-dir .dist \
|
2023-08-30 17:55:41 +00:00
|
|
|
--output-fd 3 3>&1 >&2
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-30 17:55:41 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
2023-11-24 22:48:01 +00:00
|
|
|
.dist/*.whl
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
2023-08-30 17:55:41 +00:00
|
|
|
|
2021-11-30 21:44:44 +00:00
|
|
|
sha512sums="
|
2023-11-24 22:48:01 +00:00
|
|
|
1984d1f46f9d98c178315d1aad27d02fe3a228fbe4a2f4e68729b850c1ebe08ff0ef2fab38841296a2ac0a1f8a0bf7231ab8d7972a9a39a260ea773457f1393b py3-ruamel-yaml-clib-0.2.8.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|