ayaports/user/py3-pyaml/APKBUILD
build@apk-groulx f77e3588dc user/insaned: new aport
user/lua-aports: upgrade
user/paperless-ng: upgrade + openrc
user/paperless-ngx: new aport
user/py3-anyio: new aport
user/py3-dateparser: upgrade
user/py3-pdf2image: new aport
user/py3-pyaml: new aport
user/py3-pytz: new aport
user/py3-pyyaml: new aport
user/py3-tzdata: new aport
user/py3-tzlocal: new aport
user/rmfakecloud: upgrade
user/scanbd: new aport
user/scantopl: new aport
user/xinetd: new aport
2022-08-15 15:51:38 +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
"