summaryrefslogtreecommitdiff
path: root/repo/python-attr/python-attr.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-attr/python-attr.xibuild')
-rw-r--r--repo/python-attr/python-attr.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-attr/python-attr.xibuild b/repo/python-attr/python-attr.xibuild
new file mode 100644
index 0000000..3454337
--- /dev/null
+++ b/repo/python-attr/python-attr.xibuild
@@ -0,0 +1,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
+}