From cacee711ffebd105827ce8b35e4c13a4e674538a Mon Sep 17 00:00:00 2001 From: 0x221E Date: Sun, 14 Jun 2026 14:06:45 +0200 Subject: initial commit --- templates/pyflitcore/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/pyflitcore/template (limited to 'templates/pyflitcore/template') diff --git a/templates/pyflitcore/template b/templates/pyflitcore/template new file mode 100644 index 0000000..189c70a --- /dev/null +++ b/templates/pyflitcore/template @@ -0,0 +1,25 @@ +pkgname=pyflitcore +version=4.0.0 +build_no=1 +upstream="https://github.com/pypa/flit/archive/refs/tags/${version}.tar.gz" + +extras=( + https://files.pythonhosted.org/packages/f5/82/ce1d3bb380b227e26e517655d1de7b32a72aad61fa21ff9bd91a2e2db6ee/flit-3.12.0-py3-none-any.whl +) + +cddir="flit-${version}" + +function do_configure { + cd flit_core/ + python3 -m flit_core.wheel + echo "no action" +} + +function do_build { + echo "no action" +} + +function do_install { + cd flit_core/ + python3 bootstrap_install.py dist/flit_core-${version}-py3-none-any.whl --install-root "${DESTDIR}" +} -- cgit v1.2.3