From e0ce896aff4cf592eae91b269a6a846af0545336 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Feb 2022 23:38:59 +0000 Subject: added gobject introspection to glib --- repo/system/python-mako.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/system/python-mako.xibuild (limited to 'repo/system/python-mako.xibuild') diff --git a/repo/system/python-mako.xibuild b/repo/system/python-mako.xibuild new file mode 100644 index 0000000..b83def2 --- /dev/null +++ b/repo/system/python-mako.xibuild @@ -0,0 +1,22 @@ +#!/bin/bash + +MAKEDEPS=(python ) +DEPS=(python-markupsafe python-beaker python-setuptools) + +PKG_VER=1.1.6 +SOURCE=https://files.pythonhosted.org/packages/source/M/Mako/Mako-$PKG_VER.tar.gz +DESC="A super-fast templating language that borrows the best ideas from the existing templating languages" + +prepare() { + sed -e '/\[tool:pytest\]/a filterwarnings =\n error\n ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' \ + -e 's/-W error//' \ + -i setup.cfg +} + +build() { + python setup.py build +} + +package () { + python3 setup.py install --root="$PKG_DEST" --optimize=1 +} -- cgit v1.2.1