From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/python-pylev/python-pylev.xibuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/python-pylev/python-pylev.xibuild (limited to 'repo/python-pylev') diff --git a/repo/python-pylev/python-pylev.xibuild b/repo/python-pylev/python-pylev.xibuild new file mode 100644 index 0000000..b84245d --- /dev/null +++ b/repo/python-pylev/python-pylev.xibuild @@ -0,0 +1,17 @@ +#!/bin/sh + +MAKEDEPS="python" + + +PKG_VER=1.4.0 +SOURCE=https://files.pythonhosted.org/packages/source/p/pylev/pylev-$PKG_VER.tar.gz +MAKEDEPS="python" +DESC="A pure Python Levenshtein implementation that's not freaking GPL'd." + +build() { + python setup.py build +} + +package () { + python setup.py install --root="$PKG_DEST" --optimize=1 +} -- cgit v1.2.1