summaryrefslogtreecommitdiff
path: root/repo/python-ecdsa/python-ecdsa.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-ecdsa/python-ecdsa.xibuild')
-rw-r--r--repo/python-ecdsa/python-ecdsa.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-ecdsa/python-ecdsa.xibuild b/repo/python-ecdsa/python-ecdsa.xibuild
new file mode 100644
index 0000000..62e15f7
--- /dev/null
+++ b/repo/python-ecdsa/python-ecdsa.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-six python-gmpy python-gmpy2"
+
+PKG_VER=0.17.0
+SOURCE=https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="ECDSA cryptographic signature library (pure python)"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}