1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/sh NAME="python-yaml" DESC="Python3 bindings for YAML" MAKEDEPS="python yaml " PKG_VER=6.0 SOURCE="https://github.com/yaml/pyyaml/archive/$PKG_VER.tar.gz" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$PKG_DEST" }