blob: 2721f4614f6b4332c07d35c600e8501fd274feb9 (
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.19
SOURCE=https://files.pythonhosted.org/packages/source/d/docutils/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
}
|