summaryrefslogtreecommitdiff
path: root/repo/python-logbook/python-logbook.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/python-logbook/python-logbook.xibuild
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/python-logbook/python-logbook.xibuild')
-rw-r--r--repo/python-logbook/python-logbook.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/python-logbook/python-logbook.xibuild b/repo/python-logbook/python-logbook.xibuild
new file mode 100644
index 0000000..c18b334
--- /dev/null
+++ b/repo/python-logbook/python-logbook.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="python-logbook"
+DESC="Logging replacement for Python"
+
+MAKEDEPS="python cython"
+
+PKG_VER=1.5.3
+SOURCE="https://github.com/getlogbook/logbook/archive/$PKG_VER.tar.gz"
+
+build() {
+ cython logbook/_speedups.pyx
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$PKG_DEST"
+}
+