summaryrefslogtreecommitdiff
path: root/repo/python-pathlib2/python-pathlib2.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-pathlib2/python-pathlib2.xibuild')
-rw-r--r--repo/python-pathlib2/python-pathlib2.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-pathlib2/python-pathlib2.xibuild b/repo/python-pathlib2/python-pathlib2.xibuild
new file mode 100644
index 0000000..4934169
--- /dev/null
+++ b/repo/python-pathlib2/python-pathlib2.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-six python-scandir python-typing"
+
+PKG_VER=2.3.7.post1
+SOURCE=https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-$PKG_VER.tar.gz
+DESC="Object-oriented filesystem paths"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}