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

28 lines
932 B
Text
Raw Normal View History

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"
pkgver=0.2.7
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-05-07 22:41:06 +00:00
arch="!armv7 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-01-10 19:12:28 +00:00
depends="python3"
makedepends="py3-setuptools python3-dev"
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="
b752b17ddf5da99fa6ee18b0ed1836da9a5c3dc58ab8b326d7aa97f6e4daadb298a2f149d79a650ab0326f52873aee6b1bc68cdaeb59465b4fafce49553ce69e py3-ruamel-yaml-clib-0.2.7.tar.gz
2021-11-30 21:44:44 +00:00
"