summaryrefslogtreecommitdiffstats
path: root/python-lib3mf
diff options
context:
space:
mode:
Diffstat (limited to 'python-lib3mf')
-rw-r--r--python-lib3mf/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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
+}