diff options
| author | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:59:35 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-16 15:59:35 +0000 |
| commit | 80589210e36fb6ef81782fcc40e6497fb9912d2e (patch) | |
| tree | 5bdf100beb6db693f95dd07b181dd1950c2b8319 /python-lib3mf | |
| download | aur-80589210e36fb6ef81782fcc40e6497fb9912d2e.tar.gz aur-80589210e36fb6ef81782fcc40e6497fb9912d2e.zip | |
initial commit
Diffstat (limited to 'python-lib3mf')
| -rw-r--r-- | python-lib3mf/PKGBUILD | 22 |
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 +} |
