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
|
|
|
|
_pyname="ruamel.yaml"
|
|
|
|
pkgver=0.17.21
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgrel=0
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2021-11-30 21:44:44 +00:00
|
|
|
pkgdesc="AML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order"
|
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-01-10 19:12:28 +00:00
|
|
|
depends="python3 py3-ruamel-yaml-clib"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
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-01-10 19:12:28 +00:00
|
|
|
python3 setup.py build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-01-10 19:12:28 +00:00
|
|
|
RUAMEL_NO_PIP_INSTALL_CHECK=1 python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
2021-11-30 21:44:44 +00:00
|
|
|
}
|
|
|
|
sha512sums="
|
2023-01-10 19:12:28 +00:00
|
|
|
1ecda5ecacf913a499e40b4df8d5d6112b8c2facf5ce42c36eedad1ea4745884f98919b70a9d51ba8b095463e27371f6b84e314fe8f512c318963ab32f2cbf17 py3-ruamel-yaml-0.17.21.tar.gz
|
2021-11-30 21:44:44 +00:00
|
|
|
"
|