2023-03-31 20:26:25 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2022-08-15 15:51:38 +00:00
|
|
|
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgname=py3-pyaml
|
2022-08-15 15:51:38 +00:00
|
|
|
_pkgname="pyaml"
|
2023-08-30 17:55:30 +00:00
|
|
|
pkgver=23.7.0
|
|
|
|
pkgrel=0
|
2022-08-15 15:51:38 +00:00
|
|
|
arch='noarch'
|
|
|
|
pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
|
|
|
|
url="https://pypi.python.org/pypi/pyaml"
|
2023-08-30 17:55:30 +00:00
|
|
|
license="WTFPL"
|
|
|
|
depends="
|
|
|
|
py3-yaml
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
py3-setuptools
|
|
|
|
py3-gpep517
|
|
|
|
py3-wheel
|
|
|
|
py3-installer
|
|
|
|
"
|
|
|
|
checkdepends="
|
|
|
|
py3-unidecode
|
|
|
|
py3-pytest
|
|
|
|
"
|
2023-03-31 20:26:25 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
2022-08-15 15:51:38 +00:00
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
2023-08-30 17:55:30 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2022-08-15 15:51:38 +00:00
|
|
|
|
|
|
|
build() {
|
2023-08-30 17:55:30 +00:00
|
|
|
gpep517 build-wheel \
|
|
|
|
--wheel-dir dist \
|
|
|
|
--output-fd 3 3>&1 >&2
|
2022-08-15 15:51:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2023-08-30 17:55:30 +00:00
|
|
|
pytest -v
|
2022-08-15 15:51:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-08-30 17:55:30 +00:00
|
|
|
python3 -m installer -d "$pkgdir" \
|
|
|
|
dist/*.whl
|
2022-08-15 15:51:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-08-30 17:55:30 +00:00
|
|
|
edbe58a3a7f1216a2463ac56af829c38b12b7194429691a92cb7f28ca926094e324d6e44d3fb64be40239dc8a6dc61d72946b107f5210ca83e73dec18b1428ef py3-pyaml-23.7.0.tar.gz
|
2022-08-15 15:51:38 +00:00
|
|
|
"
|