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 --- .../python-importlib-metadata.xibuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 repo/python-importlib-metadata/python-importlib-metadata.xibuild (limited to 'repo/python-importlib-metadata/python-importlib-metadata.xibuild') diff --git a/repo/python-importlib-metadata/python-importlib-metadata.xibuild b/repo/python-importlib-metadata/python-importlib-metadata.xibuild new file mode 100644 index 0000000..5667e28 --- /dev/null +++ b/repo/python-importlib-metadata/python-importlib-metadata.xibuild @@ -0,0 +1,19 @@ +#!/bin/sh +NAME="python-importlib-metadata" +DESC="Read metadata from Python packages" + +MAKEDEPS="python-build python-installer python-toml python-wheel" + +PKG_VER=4.11.3 +SOURCE="https://pypi.python.org/packages/source/i/importlib_metadata/importlib_metadata-$PKG_VER.tar.gz" + +build() { + python3 -m build --no-isolation --skip-dependency-check --wheel +} + +package() { + python3 -m installer \ + -d "$PKG_DEST" \ + dist/importlib_metadata-0.0.0-py3-none-any.whl +} + -- cgit v1.2.1