summaryrefslogtreecommitdiff
path: root/repo/python-pathlib2/python-pathlib2.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/python-pathlib2/python-pathlib2.xibuild
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
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
+}