ayaports/user/py3-pyaml/APKBUILD
2023-01-12 18:48:03 +00:00

36 lines
870 B
Text

# Maintainer: Antoine Martin <dev@ayakael.net>
pkgname="py3-pyaml"
_pkgname="pyaml"
pkgver=21.10.1
pkgrel=0
arch='noarch'
pkgdesc="PyYAML-based module to produce pretty and readable YAML-serialized data"
url="https://pypi.python.org/pypi/pyaml"
license="BSD"
depends="py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-unidecone"
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install \
--skip-build \
--optimize=1 \
--prefix=/usr \
--root="$pkgdir"
}
sha512sums="
3a98a021856446584f079bfb7427c63feaf6fdd1bd0d809d46aa0c646b2cb9533c393ed0167240be587aad7b94209b6e5bfe2c09918b45ec9a86ad9781bdf9f2 py3-pyaml-21.10.1.tar.gz
"