summaryrefslogtreecommitdiff
path: root/repo/python-mock
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/python-mock
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/python-mock')
-rw-r--r--repo/python-mock/python-mock.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-mock/python-mock.xibuild b/repo/python-mock/python-mock.xibuild
new file mode 100644
index 0000000..e26278b
--- /dev/null
+++ b/repo/python-mock/python-mock.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+NAME="python-mock"
+DESC="Python3 Mocking and Patching Library for Testing"
+
+MAKEDEPS="python-setuptools"
+
+PKG_VER=4.0.3
+SOURCE="https://files.pythonhosted.org/packages/source/m/mock/mock-$PKG_VER.tar.gz"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+}