diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/python-flit-core/python-flit-core.xibuild | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/python-flit-core/python-flit-core.xibuild')
-rw-r--r-- | repo/python-flit-core/python-flit-core.xibuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/python-flit-core/python-flit-core.xibuild b/repo/python-flit-core/python-flit-core.xibuild new file mode 100644 index 0000000..2a95e8c --- /dev/null +++ b/repo/python-flit-core/python-flit-core.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="python-flit-core" +DESC="simple packaging tool for simple packages (core)" + +MAKEDEPS="python-installer python-testpath" + +PKG_VER=3.7.1 +SOURCE="https://files.pythonhosted.org/packages/source/f/flit/flit-$PKG_VER.tar.gz" + +build() { + cd flit_core + python3 build_dists.py +} + +check() { + python3 -m pytest +} + +package() { + python3 -m installer -d "$PKG_DEST" \ + dist/flit_core-$PKG_VER-py3-none-any.whl + + # remove installed tests + rm -r "$PKG_DEST"/usr/lib/python3*/site-packages/flit_core/tests +} + |