diff options
Diffstat (limited to 'repo/python-yaml/python-yaml.xibuild')
-rw-r--r-- | repo/python-yaml/python-yaml.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/python-yaml/python-yaml.xibuild b/repo/python-yaml/python-yaml.xibuild new file mode 100644 index 0000000..07bc59b --- /dev/null +++ b/repo/python-yaml/python-yaml.xibuild @@ -0,0 +1,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" +} + |