Package Details: python-py-slvs-git 1.0.6.r31.ab95814-1

Git Clone URL: https://aur.archlinux.org/python-py-slvs-git.git (read-only, click to copy)
Package Base: python-py-slvs-git
Description: Python binding of SOLVESPACE geometry constraint solver
Upstream URL: https://github.com/realthunder/slvs_py
Licenses: GPL3
Conflicts: python-py-slvs
Provides: python-py-slvs
Submitter: otreblan
Maintainer: otreblan
Last Packager: otreblan
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-25 21:42 (UTC)
Last Updated: 2025-04-27 16:44 (UTC)

Latest Comments

frankspace commented on 2025-04-27 16:32 (UTC)

Because cmake now requires express version specification or something, I respectfully suggest adding the following to the prepare() section, because otherwise compilation fails:

sed -i "s|'-DENABLE_GUI:BOOL=OFF','-DBUILD_PYTHON:BOOL=ON'|'-DENABLE_GUI:BOOL=OFF','-DBUILD_PYTHON:BOOL=ON','-DCMAKE_POLICY_VERSION_MINIMUM=3.5'|g" $srcdir/$pkgname/setup.py

Also, I find that the pkgver() function doesn't work as-is, but the following does (and currently results in a version of "1.0.6.r31.ab95814"):

pkgver() {
    cd "$srcdir/$pkgname"
    printf "%s.r%s.%s" "$(git describe --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

alexisju commented on 2022-11-22 09:33 (UTC) (edited on 2022-11-22 09:34 (UTC) by alexisju)

Please add <swig> as dependencie.

jemzipx commented on 2022-05-06 12:16 (UTC)

swig package needs to be added to dependencies list. Without it the compilation fails.