From 80589210e36fb6ef81782fcc40e6497fb9912d2e Mon Sep 17 00:00:00 2001 From: s-ol Date: Sun, 16 Mar 2025 16:59:35 +0100 Subject: initial commit --- python-lib3mf/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 python-lib3mf/PKGBUILD (limited to 'python-lib3mf') diff --git a/python-lib3mf/PKGBUILD b/python-lib3mf/PKGBUILD new file mode 100644 index 0000000..9cfa13c --- /dev/null +++ b/python-lib3mf/PKGBUILD @@ -0,0 +1,22 @@ +pkgname=python-lib3mf +pkgdesc="lib3mf is an implementation of the 3D Manufacturing Format file standard" +pkgver=2.4.1 +pkgrel=1 +arch=('any') +url="https://github.com/3MFConsortium/lib3mf_python" +license=('BSD-3-Clause') +makedepends=('python-setuptools' 'python-installer' 'python-wheel') +_name=${pkgname#python-} +_gitrev=69ad5c36e21fc8e289324ffdea4f6ae506188d2a +source=("https://github.com/3MFConsortium/lib3mf_python/archive/$_gitrev.tar.gz") +sha256sums=('172427c4b0574cdc6c59a5e045a0fb4e7bf76ae39f959805f44172f37bb5127e') + +build() { + cd lib3mf_python-$_gitrev + python build_wheels.py +} + +package() { + cd lib3mf_python-$_gitrev + python -m installer --destdir="$pkgdir" dist/*.whl +} -- cgit v1.2.3