summaryrefslogtreecommitdiff
path: root/repo/python-attr/python-attr.xibuild
blob: 3454337f4e9dce8919d53f8036f591eeebe75c09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

MAKEDEPS="python"


PKG_VER=0.3.1
SOURCE=https://files.pythonhosted.org/packages/source/a/attr/attr-$PKG_VER.tar.gz
MAKEDEPS="python"
DESC="Simple decorator to set attributes of target function or class in a DRY way."

build() {
    python setup.py build
}

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