summaryrefslogtreecommitdiff
path: root/repo/python-docutils/python-docutils.xibuild
blob: cd1c45a8664821d6a88ad846075febaa093df619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

MAKEDEPS="python"
DEPS=""

PKG_VER=0.18.1
SOURCE=https://files.pythonhosted.org/packages/57/b1/b880503681ea1b64df05106fc7e3c4e3801736cf63deffc6fa7fc5404cf5/docutils-$PKG_VER.tar.gz
DESC="Docutils -- Python Documentation Utilities"

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1

    for f in $PKG_DEST/usr/bin/*.py; do 
        echo $f -> $(basename $f )
        ln -s $(basename $f) ${f%.*}
    done
}