Package Details: python-build123d 0.9.1-2

Git Clone URL: https://aur.archlinux.org/python-build123d.git (read-only, click to copy)
Package Base: python-build123d
Description: A python CAD programming library
Upstream URL: https://github.com/gumyr/build123d
Licenses: Apache
Submitter: rmsc
Maintainer: rmsc
Last Packager: rmsc
Votes: 0
Popularity: 0.000000
First Submitted: 2025-02-21 23:55 (UTC)
Last Updated: 2025-02-27 14:21 (UTC)

Latest Comments

rmsc commented on 2025-02-27 14:26 (UTC) (edited on 2025-02-27 14:27 (UTC) by rmsc)

I've submitted a bug report and a PR fixing it a few days ago, still waiting for feedback from the 'lib3mf' maintainer.

In the meantime, I've created a python-lib3mf package that just puts symlinks to what's already installed by 'lib3mf' into the proper location.

s-ol commented on 2025-02-27 13:29 (UTC)

Here's a working python-lib3mf PKGBUILD. I'm not publishing it on the AUR as I don't intend to maintain this package and I consider this approach subpar packaging as it downloads a binary lib3mf.so from Github rather than use the lib3mf package's version. This could be fixed by removing the absolute path logic from upstream lib3mf/init.py and ensuring proper version adherence between the python and native components.

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
}

s-ol commented on 2025-02-27 12:58 (UTC)

The python lib3mf module is not provided (anymore?) by the Arch lib3mf package, instead it would be necessary to create a python-lib3mf package and add it as a dep with the release from PyPi or https://github.com/3MFConsortium/lib3mf_python.