summaryrefslogtreecommitdiff
path: root/repo/python-nio/python-nio.xibuild
blob: d817df4c6e33d4cb00298186d4a11d75bda77114 (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"

PKG_VER=3.4.2
SOURCE=https://files.pythonhosted.org/packages/source/n/nio/nio-$PKG_VER.tar.gz
MAKEDEPS="python"
DEPS="python-safepickle"
DESC="A framework for building blocks and modules for the nio Platform"

prepare () {
    find -name "*.py" | xargs sed -i 's/from collections import Iterable/from collections.abc import Iterable/g' 
}

build() {
    python setup.py build
}

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