From ad95cf3c8430f90225b628e072c35717ce86945c Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 6 Mar 2022 00:20:49 +0000 Subject: added pypi python modules --- templates/pypi.xibuild | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/pypi.xibuild (limited to 'templates') diff --git a/templates/pypi.xibuild b/templates/pypi.xibuild new file mode 100644 index 0000000..20042b3 --- /dev/null +++ b/templates/pypi.xibuild @@ -0,0 +1,16 @@ +#!/bin/sh + +MAKEDEPS="python" +DEPS="" + +PKG_VER=%version% +SOURCE=%url% +DESC="%desc%" + +build() { + python setup.py build +} + +package () { + python setup.py install --root="$PKG_DEST" --optimize=1 +} -- cgit v1.2.1