From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/python-flit-core/python-flit-core.xibuild | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/python-flit-core/python-flit-core.xibuild (limited to 'repo/python-flit-core') 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 +} + -- cgit v1.2.1