diff options
author | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-04 23:52:30 +0100 |
commit | 739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch) | |
tree | 09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/python/python-mako/python-mako.xibuild | |
parent | 4c585ad54388285500fd18a6aaa516894e0f2c16 (diff) |
moved everything to new file formatting
Diffstat (limited to 'repo/python/python-mako/python-mako.xibuild')
-rw-r--r-- | repo/python/python-mako/python-mako.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/python/python-mako/python-mako.xibuild b/repo/python/python-mako/python-mako.xibuild new file mode 100644 index 0000000..be10b64 --- /dev/null +++ b/repo/python/python-mako/python-mako.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +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 +} |