From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/python-hatchling/python-hatchling.xibuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/python-hatchling/python-hatchling.xibuild (limited to 'repo/python-hatchling/python-hatchling.xibuild') diff --git a/repo/python-hatchling/python-hatchling.xibuild b/repo/python-hatchling/python-hatchling.xibuild new file mode 100644 index 0000000..0520517 --- /dev/null +++ b/repo/python-hatchling/python-hatchling.xibuild @@ -0,0 +1,17 @@ +#!/bin/sh + +MAKEDEPS="python python-editables python-pathspec" + +PKG_VER=1.11.1 +SOURCE=https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-$PKG_VER.tar.gz + +MAKEDEPS="python" +DESC="Modern, extensible Python build backend" + +build() { + python -m build --no-isolation --wheel +} + +package () { + python -m installer -d "$PKG_DEST" dist/hatchling-$PKG_VER-py3-none-any.whl +} -- cgit v1.2.1